FunsionCharts

FunsionCharts 更改柱图的宽度

 

 

maxColWidth: 这个参数可以更改柱图的宽度。

 

var chart = new FusionCharts("Column3D.swf", "ChartId", "600", "450");
chart.setJSONData({ "chart": {"maxColWidth":"50","showvalues": "0","numDivLines":"10","plotSliceDepth":"1","plotBorderThickness":"4","yaxisname":"","caption":"编程分布", "numberprefix": "", "showborder": "", "imagesave": "1", "imagesaveurl": "" },
"data": [ { "label": "JAVA", "value": "100"},{ "label": ".NET", "value": "96" }, { "label": "RUBY", "value": "66" }] });
chart.render("chartdiv");

 

你可能感兴趣的:(chart)