I am currently trying to generate a line chart with x-axis that uses date time. The format is mm/yy and can span 10-20 years or more. The problem I ran into is that due to how Highcharts adjusts the tick positioning for date time, it will change to year format and that defaults to January. I need it to be positioned at a different month. I noticed that Highcharts has a tickPositioner but I am unable to find the equivalent in GWT Highcharts. I was wondering if maybe I am not looking in the right classes, or if there is another way to customize the axis to the way I want it to appear.
Currently, I have tried setting the extremes and tick interval to 1 year, but it won't start the first tick at the Min.
Anyways, any help is much appreciated. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately, GWT Highcharts doesn't currently directly support the "tickPositioner" call back functionality. (If anyone is interested either in feature sponsorship or contributing this feature, let me know!) In the meantime, you'd have to resort to JSNI to pull this off (and potentially enhance the BaseChart.nativeRenderChart() method...)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am currently trying to generate a line chart with x-axis that uses date time. The format is mm/yy and can span 10-20 years or more. The problem I ran into is that due to how Highcharts adjusts the tick positioning for date time, it will change to year format and that defaults to January. I need it to be positioned at a different month. I noticed that Highcharts has a tickPositioner but I am unable to find the equivalent in GWT Highcharts. I was wondering if maybe I am not looking in the right classes, or if there is another way to customize the axis to the way I want it to appear.
Currently, I have tried setting the extremes and tick interval to 1 year, but it won't start the first tick at the Min.
Anyways, any help is much appreciated. Thanks.
Unfortunately, GWT Highcharts doesn't currently directly support the "tickPositioner" call back functionality. (If anyone is interested either in feature sponsorship or contributing this feature, let me know!) In the meantime, you'd have to resort to JSNI to pull this off (and potentially enhance the BaseChart.nativeRenderChart() method...)