@lightdash/common 0.1373.0 → 0.1373.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -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;
|