I'm using the 'Custom Labels' function for a DateTimeAxis and it works.
But the vertical gridlines are not matching with the 'Custom Labels'.
What is a proper way to fix this problem?
1 Answer, 1 is accepted
answered on 18 Mar 2016, 09:39 AM
Thank you for contacting us.
The vertical grid lines of the chart should match the axis' major ticks, not its labels. If the plot mode of you axis is between ticks the labels will not be drawn under the tick, respectively the wont be aligned with the grid lines. You should use the on ticks plot mode:
xAxis.PlotMode = TKChartAxisPlotMode.OnTicks;
I hope this helps. If you need further assistance I will be glad to help.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items