@datarailsshared/dr_renderer 1.2.262-dragons → 1.2.263
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.
- package/package.json +1 -1
- package/src/highcharts_renderer.js +0 -14
package/package.json
CHANGED
|
@@ -1035,7 +1035,6 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1035
1035
|
ob.name = row_n_value.join(highchartsRenderer.delimer)
|
|
1036
1036
|
.replace(highchartsRenderer.DR_OTHERS_KEY, othersName);
|
|
1037
1037
|
}
|
|
1038
|
-
|
|
1039
1038
|
lodash.forEach(col_n_keys, function (col_n_value, index) {
|
|
1040
1039
|
var agg = pivotData.getAggregator(row_n_value, col_n_value);
|
|
1041
1040
|
var val = agg.value();
|
|
@@ -1135,11 +1134,6 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1135
1134
|
newSeries.className = 'totalSeries';
|
|
1136
1135
|
newSeries.name = 'Total';
|
|
1137
1136
|
newSeries.data = [];
|
|
1138
|
-
|
|
1139
|
-
if (colors && colors[i]) {
|
|
1140
|
-
newSeries.color = colors[i];
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
1137
|
col_n_keys.forEach(columnKey => {
|
|
1144
1138
|
let totalKey = columnKey;
|
|
1145
1139
|
if (lodash.isArray(columnKey)) {
|
|
@@ -1258,7 +1252,6 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1258
1252
|
if (opts.trendLine) {
|
|
1259
1253
|
const a = ((ySum * squareXSum) - (xSum * xySum)) / ((n * squareXSum) - (xSum * xSum));
|
|
1260
1254
|
const b = ((n * xySum) - (xSum* ySum)) / ((n * squareXSum) - (xSum * xSum));
|
|
1261
|
-
|
|
1262
1255
|
const trendSeries = lodash.clone(chart_series[chart_series.length - 1]);
|
|
1263
1256
|
trendSeries.className = 'trendSeries';
|
|
1264
1257
|
trendSeries.name = highchartsRenderer.getTrendSeriesName(trendSeries);
|
|
@@ -1269,7 +1262,6 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1269
1262
|
if (colors && colors[i]) {
|
|
1270
1263
|
trendSeries.color = colors[i];
|
|
1271
1264
|
}
|
|
1272
|
-
|
|
1273
1265
|
trendSerieses.push(trendSeries);
|
|
1274
1266
|
}
|
|
1275
1267
|
i++;
|
|
@@ -1286,7 +1278,6 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1286
1278
|
}
|
|
1287
1279
|
|
|
1288
1280
|
let weights = { line: 2,spline: 3 ,area:-2, areaspline: -1, scatter:4, column: 1 };
|
|
1289
|
-
|
|
1290
1281
|
if (opts.comboOptions && lodash.includes(chartType,'combo') && !lodash.isEqual(row_n_keys, EMPTY_ROW_N_KEYS)) {
|
|
1291
1282
|
chart_series.forEach((series, seriesIndex) => {
|
|
1292
1283
|
const savedSeriesOption = lodash.find(opts.comboOptions.seriesOptions, {series: series.name});
|
|
@@ -1325,11 +1316,6 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1325
1316
|
totalSeries.className = 'totalSeries';
|
|
1326
1317
|
totalSeries.name = 'Total';
|
|
1327
1318
|
totalSeries.data = [];
|
|
1328
|
-
|
|
1329
|
-
if (colors && colors[i]) {
|
|
1330
|
-
totalSeries.color = colors[i];
|
|
1331
|
-
}
|
|
1332
|
-
|
|
1333
1319
|
col_n_keys.forEach(columnKey => {
|
|
1334
1320
|
let key = columnKey;
|
|
1335
1321
|
let totalKey = columnKey;
|