mdt-charts 1.24.0 → 1.25.0
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.
|
@@ -20,7 +20,8 @@ export class DataRepositoryModel {
|
|
|
20
20
|
});
|
|
21
21
|
});
|
|
22
22
|
const biggest = Math.max(...values);
|
|
23
|
-
|
|
23
|
+
const biggestDecremented = Math.abs(biggest) > 1 ? (biggest - 1) : (biggest - 0.1);
|
|
24
|
+
return [biggest, biggestDecremented];
|
|
24
25
|
}
|
|
25
26
|
initRawFullSource(rawSource) {
|
|
26
27
|
this.rawFullSource = rawSource;
|
|
@@ -67,7 +67,6 @@ export class TwoDimensionalModel {
|
|
|
67
67
|
}
|
|
68
68
|
static getChartsModel(charts, configReader, chartOrientation, designerConfig, dataModelRep, keyAxisOrient, canvasModel, keyFieldName) {
|
|
69
69
|
const styleModel = new TwoDimensionalChartStyleModel(charts, designerConfig.chartStyle);
|
|
70
|
-
this.sortCharts(charts);
|
|
71
70
|
const chartsModel = [];
|
|
72
71
|
charts.forEach((chart, index) => {
|
|
73
72
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|