I'm dynamically creating chart objects using this code inside a loop:
chartObjectArray.push(new Chart(chartContextArray[i]).Line(chartDataArray[i]), chartOptions);
The charts get drawn on the screen, but the chartOptions parameter is essentially ignored. However, if I manually create the chart objects like this...
var myChart = new Chart(chartContextArray[0]).Line(data, chartOptions);
...then it works; options are obeyed when charts are drawn. This chart object (myChart) when logged is much more fully fleshed-out than the object created from the loop. Am I incorrectly building the chart objects in the loop? Perhaps this is more of a javascript question.