mercredi 6 mai 2015

Highcharts stacked bar chart comes empty

I'm trying to put a chart similar to this one here: http://ift.tt/1HM2ZAB

When the page loads, the chart comes empty. I tried the solution here:
http://ift.tt/1zN00bX
by adding the code part to plotOptions:

column: {
    borderWidth: 0
}

I also tried:

barChart = new Highcharts.Chart(barOptions);
barChart.series[0].hide();
barChart.series[0].show();

None of these solved it. I set chart type to column, everything is ok, then I change it to bar and it stops working. Any workarounds?

Aucun commentaire:

Enregistrer un commentaire