Pre loader

VerticalSliceModifier on DateTimeCategory Axis

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

The VerticalSliceModifier does not seem to work with a DateTimeCategory X axis. Only the very top and the base of the line are shown and even they disappear on attempt to drag. Is slicing on DateTimeCategory Axis not supported?

The same code, taken from the official example, works well with a Numeric axis.

  • You must to post comments
1
0

Hi Kristjan,

I have tried to test the combination of CategoryDateTimeAxis and VerticalSliceModifier in one chart and seems it works as expected. I tried to change Series Vertical Slices example – to do this I just replaced NumericAxis on CategoryDateTimeAxis and changed data series in code behind. That’s all.

So I want to ask you to check your example one more time or if it is possible to post its code here. Also I would suggest to check which X1 values are set for vertical slices – for CategoryDateTimeAxis it should be int value(index instead of DateTime value) because category axis operates with index range.

Hope it helps!

Images
  • You must to post comments
0
0

Good point, it most probably was the X1 value type issue. I am using a NumericAxis with ticks for X values together with a custom LabelProvider now. Works as well as a CategoryDateTimeAxis probably could (I wonder if the CDTA is implemented in the same way…?).

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies