@datarailsshared/dr_renderer 1.2.262-dragons → 1.2.265
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
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();
|
|
@@ -1258,7 +1257,6 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1258
1257
|
if (opts.trendLine) {
|
|
1259
1258
|
const a = ((ySum * squareXSum) - (xSum * xySum)) / ((n * squareXSum) - (xSum * xSum));
|
|
1260
1259
|
const b = ((n * xySum) - (xSum* ySum)) / ((n * squareXSum) - (xSum * xSum));
|
|
1261
|
-
|
|
1262
1260
|
const trendSeries = lodash.clone(chart_series[chart_series.length - 1]);
|
|
1263
1261
|
trendSeries.className = 'trendSeries';
|
|
1264
1262
|
trendSeries.name = highchartsRenderer.getTrendSeriesName(trendSeries);
|
|
@@ -1269,7 +1267,6 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1269
1267
|
if (colors && colors[i]) {
|
|
1270
1268
|
trendSeries.color = colors[i];
|
|
1271
1269
|
}
|
|
1272
|
-
|
|
1273
1270
|
trendSerieses.push(trendSeries);
|
|
1274
1271
|
}
|
|
1275
1272
|
i++;
|
|
@@ -1286,7 +1283,6 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1286
1283
|
}
|
|
1287
1284
|
|
|
1288
1285
|
let weights = { line: 2,spline: 3 ,area:-2, areaspline: -1, scatter:4, column: 1 };
|
|
1289
|
-
|
|
1290
1286
|
if (opts.comboOptions && lodash.includes(chartType,'combo') && !lodash.isEqual(row_n_keys, EMPTY_ROW_N_KEYS)) {
|
|
1291
1287
|
chart_series.forEach((series, seriesIndex) => {
|
|
1292
1288
|
const savedSeriesOption = lodash.find(opts.comboOptions.seriesOptions, {series: series.name});
|