Pre loader

Show axis labels only for data in series

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

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

Version
8.3.0.28019
  • Lex
    • Lex
    • 2 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
  • Matthew Trahan
    Hey Lex, any updates?
  • You must to post comments
1
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.