1
votes

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/

1
Could you reproduce your example as live demo?Sebastian Bochan
@SebastianBochan Sure, here: jsfiddle.net/UT2trjustanotherhobbyist
You need to set minRange jsfiddle.net/UT2tr/1 but as I see your data is each day, not hour so for 1h you will have empty chart.Sebastian Bochan
@SebastianBochan Flawless thanks! Change your comment to an answer so I got something to accept. And the data is highstock's example data. I'll fix that later.justanotherhobbyist

1 Answers

3
votes

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.