Highcharts: how to make the graph appear even without data?

2

I've integrated the Highcharts chart with a tree. Then, when you select a hierarchy in the tree, the chart automatically loads with the selected information. But when there is nothing selected in the tree, the graph disappears.

Would you like to know how to make the chart appear even when there is no data?

    
asked by anonymous 20.10.2015 / 14:04

1 answer

2

As per documentation you can do this by setting the property showAxes to true .

$('#container').highcharts({
        chart: {
            showAxes: true
        }
});
    
20.10.2015 / 16:35