I suggest you ...

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

39 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Jamie shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

10 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Anonymous commented  ·   ·  Flag as inappropriate

    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  ·   ·  Flag as inappropriate

    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.

  • Jamie commented  ·   ·  Flag as inappropriate

    Torstein - any chance of this being removed from declined status, given that it is a separate issue from startOnTick?

  • Jamie commented  ·   ·  Flag as inappropriate

    perhaps 'startTickOnMin' would be a more apt name for such a property.

  • lacroixca commented  ·   ·  Flag as inappropriate

    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  ·   ·  Flag as inappropriate

    I think the problem is explained better in that first thread than in my description here.
    Let me try to clarify

    What 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  ·   ·  Flag as inappropriate

    This should absolutely be a feature for Highcharts !
    Almost basic stuff... Otherwise, HC is absolutely great !

Feedback and Knowledge Base