It is currently Sun Apr 20, 2014 11:13 pm Advanced search

More consistant xAxis ticks or auto-scaling?

Technical support for the Highcharts Stock package

More consistant xAxis ticks or auto-scaling?

Postby fishgills » Thu Feb 16, 2012 8:26 pm

I was wondering if anyone knew of a way to get the xAxis tick marks to be more consistant. Or maybe the charts are doing some sort of auto-scaling?

At any rate, it'd be nice if the tick marks were more consistant on the chart and the navigator.

Maybe do a tick every week, or something?

Image

Anyone got any ideas?
fishgills
 
Posts: 12
Joined: Wed Nov 23, 2011 11:31 pm

Re: More consistant xAxis ticks or auto-scaling?

Postby hfrntt » Wed Feb 22, 2012 5:13 pm

It displays as it is because by default highstock hides missing points, if you enable them (set ordinal to false: http://www.highcharts.com/stock/ref/#xAxis--ordinal) this issue should gone. However you can try to use tickPositioner (http://www.highcharts.com/stock/ref/#xA ... Positioner) callback function or define ticks positions initially (http://www.highcharts.com/stock/ref/#xA ... kPositions)
Slawek Kolodziej
Highcharts support team
hfrntt
 
Posts: 6394
Joined: Mon Aug 30, 2010 10:41 am


Return to Highstock Usage

Who is online

Users browsing this forum: No registered users and 2 guests