@lightdash/common 0.1373.0 → 0.1373.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -290,7 +290,7 @@ class CartesianChartDataModel {
|
|
290
290
|
return {};
|
291
291
|
}
|
292
292
|
const { type } = this;
|
293
|
-
const orgColors = colors;
|
293
|
+
const orgColors = colors ?? savedCharts_1.ECHARTS_DEFAULT_COLORS;
|
294
294
|
const DEFAULT_X_AXIS_TYPE = types_1.VizIndexType.CATEGORY;
|
295
295
|
const defaultSeriesType = type === savedCharts_1.ChartKind.VERTICAL_BAR ? 'bar' : 'line';
|
296
296
|
const shouldStack = display?.stack === true;
|