Initializes from JSON.
factory ChartConfig.fromJson(Map<String, dynamic> json) => _$ChartConfigFromJson(json);