@datarailsshared/dr_renderer 1.2.345 → 1.2.347
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
@@ -456,7 +456,8 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
456
456
|
if (chartElement.highcharts) {
|
457
457
|
chart = chartElement.highcharts();
|
458
458
|
} else {
|
459
|
-
const
|
459
|
+
const graphIdString = graph_id.split('_')[1];
|
460
|
+
const graphId = Number(graphIdString) || graphIdString;
|
460
461
|
chart = lodash.find(Highcharts.charts, function(value) {
|
461
462
|
return value.options.widgetId === graphId;
|
462
463
|
});
|
@@ -3497,7 +3498,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
3497
3498
|
color: lodash.get(additionOptions, `${ highchartsRenderer.getLabelOptionKey(additionOptions) }.font_color`)
|
3498
3499
|
|| LABEL_DEFAULT_OPTIONS.color,
|
3499
3500
|
},
|
3500
|
-
highchartsRenderer.getDataLabelsStyle(additionOptions)
|
3501
|
+
highchartsRenderer.getDataLabelsStyle(additionOptions)
|
3501
3502
|
),
|
3502
3503
|
},
|
3503
3504
|
labels: {
|