unregister static method
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();
}
}