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.
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!
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…?).
Please login first to submit.