@datarailsshared/dr_renderer 1.2.345 → 1.2.346
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
|
});
|