@datarailsshared/dr_renderer 1.2.340 → 1.2.341
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 +10 -8
package/package.json
CHANGED
@@ -1243,14 +1243,16 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
1243
1243
|
i++;
|
1244
1244
|
});
|
1245
1245
|
|
1246
|
-
lodash.
|
1247
|
-
|
1248
|
-
|
1249
|
-
lodash.
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1246
|
+
if (lodash.get(chartOptions, 'xAxis.categories')) {
|
1247
|
+
lodash.forEach(chartOptions.xAxis.categories, (col_n_value, index) => {
|
1248
|
+
if (lodash.isArray(col_n_value)) {
|
1249
|
+
chartOptions.xAxis.categories[index] = lodash.map(
|
1250
|
+
lodash.filter(col_n_value, value => !!value),
|
1251
|
+
value => lodash.replace(value, highchartsRenderer.DR_OTHERS_KEY, othersName)
|
1252
|
+
);
|
1253
|
+
}
|
1254
|
+
});
|
1255
|
+
}
|
1254
1256
|
|
1255
1257
|
const ethalonSeries = chart_series[chart_series.length - 1];
|
1256
1258
|
|