开发者

Stacked Bar type of jquery Highcharts with data from HTML Table

开发者 https://www.devze.com 2023-03-25 22:59 出处:网络
is there anyone have tried to use highcharts jquery with stacked bar like this one http://highcharts.com/demo/bar-stacked

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

精彩评论

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

关注公众号