Question

I'm trying to make a candle-stick chart with Highcharts but I can't get the 'minute' and 'day' timespans to work. They're greyed out as if disabled. Here's a quote from their documentation.

Defines the timespan, can be one of 'millisecond', 'second', 'minute', 'day', 'week', 'month', 'ytd' (year to date), 'year' and 'all'.

I've got all other types working, so it's not that I don't understand the code, I even tried replacing it with 3600000 milliseconds but the result is the same. I'm thinking maybe there's a minimum value for it to work, but I haven't found anything about that in the documentation.

Please help me figure this out.

Edit: As requested in the comments here's an example of the issue: http://jsfiddle.net/UT2tr/

Was it helpful?

Solution

You need to set minRange http://jsfiddle.net/UT2tr/1 but as I see your data is each day, not hour so for 1h you will have empty chart.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top