Commit fc73be3c authored by Moreau Nicolas's avatar Moreau Nicolas
Browse files

rename highcharts objects

parent 15e1a9f1
......@@ -1573,7 +1573,7 @@ var SAMPPNGPublishControl = (function (Control) {
}
}
var myChart = Highcharts.chart('spectrum', {
var spectrumChart = Highcharts.chart('spectrum', {
title: {
text: toptitle
},
......@@ -1964,7 +1964,7 @@ var SAMPPNGPublishControl = (function (Control) {
this.plot = function (iRA0, iRA1, iDEC0, iDEC1, zmin, zmax) {
ENTER();
var myChart2 = Highcharts.chart(_itsGD, {
var summedPixelsSpectrumChart = Highcharts.chart(_itsGD, {
title: {
text: toptitle
},
......@@ -2175,7 +2175,7 @@ var SAMPPNGPublishControl = (function (Control) {
highChartData.push([plotData2.x[i], plotData2.y[i]]);
}
myChart2.series[0].update({
summedPixelsSpectrumChart.series[0].update({
name : '',
// unlimited number of points when zooming
cropThreshold: Infinity,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment