No. I looked in the documentation, and it looks like HighCharts.js only supports renderTo
to a single HTML element. http://api.highcharts.com/highcharts#chart.renderTo
I would assume that you have 5 pie charts that have different datasets, so it wouldn't make sense to load the same chart into multiple DIV elements anyway.
You could write a loop that loaded the different charts.
For example:
function loadCharts(chartData){
for(i=0; i<chartData.length; i++){
var container = chartData[i]['container'];
var myData = chartData[i]['myData'];
var chart = new Highcharts.Chart({
chart: {
renderTo: container,
height: 400,
plotBackgroundColor: null,
plotBorderWidth: 2,
borderWidth: 0,
plotShadow: false
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
series: [{
data: myData
}]
});
}
}
var highchartsdata = [{
container: 'container1',
myData: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
},
{
container: 'container2',
myData: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
},
{
container: 'container3',
myData: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
},
{
container: 'container4',
myData: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
},
{
container: 'container5',
myData: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}];
loadCharts(highchartsdata);
This is an example I didn't test, but should help you get on the right path if that's how you want to go.