Add a 'startOnMin' option to the axis properties
See: http://highslide.com/forum/viewtopic.php?f=9&t=7904
and:http://highslide.com/forum/viewtopic.php?f=9&t=10642
Add an option so that the precise start point of the grid lines/ axis labels can be specified
-
James commented
Is it a bug that xAxis.min + startOnTick doesn't behave the way that is requested for startOnMin?
-
Anonymous: Please contact support for specific tech help (https://www.highcharts.com/support), we try to keep this forum for feature requests only.
-
Anonymous commented
Hello,
I am displaying the highchart for the day resolution. So, on X-axis i am displaying the data from 0-24 with 1 hour interval. All things work well in normal condition. But, as soon as i integrate the timezone things to the chart it's not showing the 0 position series value. It's starting from 1 and i cannot able to show the value which was there on 0th hour position.
Can you help me on this.
-
bhegur commented
I think this exactly what I was trying to achieve in my datetime chart. I set the pointstart and first point's x to same time, but the first tick (and it's label) 's time is always rounded. I don't know if it's because there is not millisecond unit.
-
Yes, sorry about that.
-
Jamie commented
Torstein - any chance of this being removed from declined status, given that it is a separate issue from startOnTick?
-
Jamie commented
perhaps 'startTickOnMin' would be a more apt name for such a property.
-
lacroixca commented
http://jsfiddle.net/lacroixca/NRJEN/
is an another example, better explained here:
http://highslide.com/forum/viewtopic.php?f=9&t=10642&p=48302#p48302 -
lacroixca commented
Jamie is right Torstein. The solution you've proposed is not exactly what we've asked. The 'startOnMin' feature would set the first gridline to the min value, and the tickInterval would start from that min value, not from 0.
I hope we're not wrong on this one, your time is very important to us.
-
Jamie commented
I think the problem is explained better in that first thread than in my description here.
Let me try to clarifyWhat we're referring to is the start of the ticks and axis labels, not just the start of the data or the plot area. Using this generic example from the thread in question: http://jsfiddle.net/fbbGY/1134/
I have set a min of -50. I have set a tickInterval of 40.
I want the first tick and axis label to be -50. I want it to calculate the ticks and labels using the tickInterval from there... (-10, 30, 70, 110, etc)
Using the method you suggest, I get the first tick and label at -40 (and the 0, 40, 80, 120, etc), with additional space below to reach the -50 on the plot area.
A setting such as this will allow users to more precisely control the ticks and labeling, which can be very important in many cases.
I have used a work around of disabling ticks, labels, and grid lines, and emulating them with plot lines, but that is, as you can imagine, very clunky and heavy. -
lacroixca commented
This should absolutely be a feature for Highcharts !
Almost basic stuff... Otherwise, HC is absolutely great !