@lightdash/common 0.1377.4 → 0.1378.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -120,10 +120,14 @@ class CartesianChartDataModel {
|
|
120
120
|
: types_1.VizAggregationOptions.COUNT,
|
121
121
|
},
|
122
122
|
];
|
123
|
+
const sortBy = [
|
124
|
+
{ reference: x.reference, direction: types_1.SortByDirection.ASC },
|
125
|
+
];
|
123
126
|
return {
|
124
127
|
x,
|
125
128
|
y,
|
126
129
|
groupBy: [],
|
130
|
+
sortBy,
|
127
131
|
};
|
128
132
|
}
|
129
133
|
getConfigErrors(fieldConfig) {
|