javascript - Problems dynamically setting the data for stockchart -
hi there new javascript, please me out
i following stockchart jsfiddle: url: http://jsfiddle.net/2zbrt/2/
i facing problems dyanamically setting data first line graph below code:
$(document).ready(function(){ revenues = new highcharts.stockchart({ //code continues on //.......... $('#button').click(function() { revenues.series[0].setdata([[129.21,222.22], [144.0, 176.0], [135.6, 148.5], [216.4, 194.1], [95.6, 54.4], [29.9, 71.5], [129.2,106.4]] ); }); });//end of $(document).ready(function() please me out, boss threatening fire me
Comments
Post a Comment