Jesse
Jesse

Reputation: 889

Show empty series in highcharts

I can't seem to show the series with empty data into my highcharts. I have some check-ins in a graph for each of the 7 weekdays. But when a day doesn't have data, it's hidden. What I would like to do is show the label of the empty serie on the x-axis (print the weekday name). I tried to populate my data with null values, using different options for highcharts, ...

I also can't set the color for the columns, I tried setting it to gray but that doesn't work.

Here's a demo in JSFiddle

Upvotes: 1

Views: 3249

Answers (1)

Paweł Fus
Paweł Fus

Reputation: 45079

You can set min and max for yAxis, instead of minPadding and maxPadding, take a look: http://jsfiddle.net/tgZcc/21/

Upvotes: 3

Related Questions