开发者

Stacked Bar type of jquery Highcharts with data from HTML Table

is there anyone have tried to use highcharts jquery with stacked bar like this one http://highcharts.com/demo/bar-stacked

in that example, the data series was from an array, now i want it to get the data from html table like this http://highcharts.com/demo/col开发者_Python百科umn-parsed

as for that example, i have tried it for a normal bar and column, it was a success, but for the stacked bar, i don't know what should i do :( i'am still new for this highcharts, so maybe anyone can help me?? o.O thx..


Just add stacking parameter to series in plotOptions:

plotOptions: {
    series: {
        stacking: 'normal'
    }
}

Demo here: http://jsfiddle.net/7Mmee/10676/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜