Hi,
I want to change the grid distance between the two slices dynamically in both X , Y and Z direction. But whatever the value I set for StepZ and StepX, nothing changes in the output. I still see the same graph.
Please can you suggest if there is any way to achieve this.
I am attaching the code of waterfall example here.
- You must login to post comments
Hi Deepashree,
I am glad to inform you that we have fixed the issue you reported for the Waterfall 3D chart.
The changes are available in the recently published SciChart v8.1.0.27856 update release.
You can find more details in our changelog here:
https://www.scichart.com/changelog/scichart-wpf/
Please try it out and let us know your feedback.
With best regards,
Lex
SciChart Technical Support Engineer
- Lex answered 5 months ago
- You must login to post comments
The distance between slices in the WaterfallRenderableSeries3D
is a function of the following:
- Number of slices in the waterfall
StepX
orStepZ
- The
XAxis.VisibleRange
andZAxis.VisibleRange
which by default is determined at startup byaxis.AutoRange = AutoRange.Once
Consider this. 10 slices, StartX = 0, StepX = 10, then SciChart3DSurface
will automatically range the XAxis from 0 to 100.
Change the StepX to 20, SciChart3DSurface will automatically range the XAxis from 0 to 200.
If you want to change the actual visual spacing between slices (not the virtual spacing) then you need to change both Axis.VisibleRange and StepX, StepZ
Edit: Update
We have actually found a bug here while investigating this in WPF v7, seems if the StepX or StepZ property are updated then the
WaterfallRenderableSeries3D
doesn’t update. However, it seems to be
fixed in WPF v8-beta. Can you try it out in v8?
Best regards
Andrew
- Andrew Burnett-Thompson answered 7 months ago
- last edited 7 months ago
- You must login to post comments
Hi Andrew,
Thanks for your answer.
But my requirement is not to change the range. The range must be fixed. We don’t use Auto range. For a fixed range, the grid distance should be changed. This value should be bound to a slider and it should be possible to stretch or squeeze the slices.
Is this possible ?
Regards,
Deepashree
- Deepashree Iyangar answered 6 months ago
- last edited 6 months ago
-
Hi Deepashree, SciChart defaults to AutoRange.Once, which means that if you set any data on the chart, it will AutoRange once just the first time. Imagine your data ranges from 0-10 and you have 5 slices. This will appear exactly the same as if your data ranges from 0-20 and you have 5 slices. The only way to change the slice spacing is to change the axis.VisibleRange or the number of slices, or the SciChart3DSurface.WorldDimensions property which also affects the entire size of the 3D Axis cube.
-
Ok. Thank you.
- You must login to post comments
Hi Deepashree,
I’m glad to inform you that we’ve made a couple of improvements to the Waterfall 3D Chart Type including the fix for the issue you’ve reported.
The changes are available in the latest SciChart nightly build v8.0.0.27776.
Please try it out and let us know your feedback.
For more information on how to get our nightly builds you can take a look at the “Integrating SciChart’s NuGet Feed with Visual Studio” section of the following article :
https://support.scichart.com/index.php?/Knowledgebase/Article/View/17232/37/getting-nightly-builds-with-nuget
More details regarding the changes made since the previous release can be found in our Changelog here:
https://www.scichart.com/changelog/scichart-wpf/
With best regards,
Lex
SciChart Technical Support Engineer
- Lex answered 5 months ago
- last edited 5 months ago
- You must login to post comments
Please login first to submit.