SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components



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.

  • You must to post comments
Best Answer

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.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.