True if type has been registered.
type
static bool isRegistered(ChartType type) => _byType.containsKey(canonicalChartType(type));