How to use jquery to access highcharts piechart plotOptions: pie : size parameter? -
how utilize jquery access highcharts piechart plotoptions: pie : size parameter? set follow-
plotoptions: { pie: { size: 60,
i need size dynamically fixed, there jquery nail variable , set it? setsize (that sets whole chart size).
try code:
("p").click(function(){ var chart= $('#container').highcharts(); chart.useroptions.plotoptions.pie.size=parseint($("#newsize").val(),10); $('#container').highcharts(chart.useroptions); });
$
demo http://jsfiddle.net/wc4p889l/2/
jquery highcharts size pie-chart
No comments:
Post a Comment