Personal tools

Template:PeakCountPerSample: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
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);
        });
       
    });


    $("#list").change(function(){
});
        var selVal = $(this).val();
 
      // var chart = $("#container").highcharts();
function changeType(series,selVal){
     var options = chart.options;
 
     alert(options.series[0].data)
     var options = series.chart.options;
     alert(selVal)
     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