dynamic getChartConfig(ChartType chartType, Map<String, dynamic> json) { return ChartRegistry.resolveByType(chartType, json); }