pie chart - How to align two pie graphs (highcharts) next to each other -
i have 2 pie charts show on page, next each other. both same style different data. possible , how?
thank you
you can have multiple series of pie chart data on same chart
var chart = new highcharts.chart({ chart: { renderto: 'container', type: 'pie' }, title: { text: 'group name' }, series: [{ data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4], center: ['20%'], name: 'foo' }, { data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4], center: ['80%'], name: 'bar' }], plotoptions: { pie: { datalabels: { enabled: false } } }
});
jsfiddle: http://jsfiddle.net/4ntbw/
Comments
Post a Comment