unregister static method

void unregister(
  1. ChartType type
)

Remove a chart type from the registry (e.g. for testing).

Implementation

static void unregister(ChartType type) {
  if (_byType.remove(canonicalChartType(type)) != null) {
    _rebuildStringIndexes();
    _bumpGeneration();
  }
}