I’ve got an X axis that is int/numeric based that I have a custom labeler on to display strings. For example, let’s say my data is 1-26, but I want to show the letters in the alphabet rather than the number. The labeler piece is sorted out and is working for me as I’m seeing the letters as labels on the axis.
At this point, I’m trying to work on a tick provider that will only show labels corresponding to data in the series. Is this possible? Say I have A, E, I, O, and U as my data in the series, those are the only labels I want to see on the axis. I’m having trouble getting the TickProvider API to work in this way.
Thank you for the help!
Matthew
- Matthew Trahan asked 3 months ago
-
Hi Matthew, Thanks for your inquiry. I am going to discuss this with our team and will get back to you as soon as I have an update. Kind regards, Lex, SciChart Technical Support Engineer
-
Hey Lex, any updates?
- You must login to post comments
Hi Matthew,
Hope you are doing well.
We discussed your inquiry.
Unfortunately, there is no way to configure TickProvider to match your the described requirements out of the box.
However, you could pass a reference to a SciChartSurface (or an individual DataSeries) to your custom TickProvider to be able to access data values.
Then you should be able to implement your own tick generation algorithm based on the data values.
Hope this helps.
Kind regards,
Lex
- Lex answered 2 months ago
- You must login to post comments
Please login first to submit.