Template:PeakCountPerSample: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 199: | Line 199: | ||
var chart = new Highcharts.Chart(options); | var chart = new Highcharts.Chart(options, function(chart){ | ||
$("#list").change(function(){ | |||
changeType(chart.series, this.value); | |||
}); | |||
}); | |||
}); | |||
function changeType(series,selVal){ | |||
var options = chart.options; | |||
alert( | var options = series.chart.options; | ||
alert( | alert(series[0].data) | ||
alert(options) | |||
if(selVal == 1 || selVal == '') | if(selVal == 1 || selVal == '') | ||
{ | { | ||
Line 225: | Line 232: | ||
//chart.redraw(); | //chart.redraw(); | ||
var chart = new Highcharts.Chart(options); | var chart = new Highcharts.Chart(options); | ||
} | } | ||
Revision as of 15:42, 26 September 2013
Sort by