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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

Hi…
I want to define ticks which start from some value. First I try to use customer TickProvider to calculate my owner tick array.
When tick counts are small, it look good in a small size windows.
But when the tick counts are large, the tick display fail. It only has one tick normal and others only have”-” but no label. If I change the windows size to larger, all ticks just display normal. (please see the attached file~~)
Can customer tickprovider support the default tick display mechanism to auto display just some ticks?

(in small windwos and large windows, the visible range is the same)

Images
  • You must to post comments
0
0

Hi there,

There is a conflict between custom TickProviders and our own Axis Label Culling feature. Basically, SciChart culls (hides) labels that are close together but the algorithm assumes the TickProvider is standard (not custom).

Please try setting this one line of code and it should make all labels visible:

AxisBase.IsLabelCullingEnabled = false

Best regards,
Andrew

  • You must to post comments
0
0

Hi Andrew…
Thanks for your rapid replay…I try to this setting, it will display all label.
But, If the number of tick counts is large, the label will overlap….
Can I still have the Label Culling feature? or I need to handle it myself according the windows size in tickprovider??

In another say…if I use default tick feature (not use tick provider), can I change the default tick start value?
All I need is to modify the tick calculate start point, not always begin with 0.

  • Andrew
    Hi there, as I said, there is no way to combine your own (custom) TickProvider and your own custom label culling algorithm. The Label culling algorithm cannot be overridden, only turned on, or off.
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.