chartCapabilitiesForType function
Returns capability metadata for type.
Implementation
ChartCapabilities chartCapabilitiesForType(ChartType rawType) {
final type = canonicalChartType(rawType);
final reg =
ChartRegistry.registrationForType(type) ??
_registrationForTypeInBundle(type, allChartsBundle);
return _chartCapabilitiesFromRegistration(type, reg);
}