@lightdash/common 0.1377.4 → 0.1378.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.
@@ -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) {
|