Hello,
I’m following the example from “How to position columns between data values instead of centered on data”.
If I use automatic tick on X axis, it adds labels but not on all column line separators (even after setting he IsLabelCullingEnabled to false).
The only way I can get the labels on all separator column ticks is by playing with the MinorDelta and MajorDelta. The problem with this is that the X values have to be evenly spaced in order to work.
If I have the X values: 10, 20, 30, 45, 50 the lines will be added, but ticks will be drawn by the X Axis so they won’t match.
Can you advice on how to implement a custom tick drawer that sets the ticks based on the lines drawn?
Thank you.
Sebastian
- You must login to post comments
I have resolved this by creating a custom TickProvider and setting the ticks on the exact same X values that the data points are being drawn.
- Sebastian de Ugarriza answered 8 years ago
- You must login to post comments
Please login first to submit.