示例代码:
var data=[ {color:"#000",y:"123"}, {color:"#111",y:"110"}, {color:"#222",y:"100"}, {color:"#333",y:"12"}, {color:"#444",y:"1243"}, {color:"#555",y:"12"} ] //charts 的series 设置 new Highcharts.Chart({ //.... series: [{ data: data }] });
示例图片
var data=[ {color:"#000",y:"123"}, {color:"#111",y:"110"}, {color:"#222",y:"100"}, {color:"#333",y:"12"}, {color:"#444",y:"1243"}, {color:"#555",y:"12"} ] //charts 的series 设置 new Highcharts.Chart({ //.... series: [{ data: data }] });
示例图片