@lightdash/common 0.1377.4 → 0.1378.1

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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1377.4",
3
+ "version": "0.1378.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [