diff --git a/modules/system/assets/ui/js/chart.line.js b/modules/system/assets/ui/js/chart.line.js index ee41bedfa..208b0e51d 100644 --- a/modules/system/assets/ui/js/chart.line.js +++ b/modules/system/assets/ui/js/chart.line.js @@ -80,7 +80,7 @@ var parsedOptions = {} try { - parsedOptions = ocJSON("{" + value + "}"); + parsedOptions = ocJSON("{" + options.chartOptions + "}"); } catch (e) { throw new Error('Error parsing the data-chart-options attribute value. '+e); }