My code is as below
for (int i = 0; i < plot.ZData.Length; i++)
{
var xData = plot.XData[i];
var yData = plot.YData[i];
for (int j = 0; j < xData.Length; j++)
{
dataSeries[i, j] = yData[j];
}
}
Here Z values and X values are linear and Y values are in Logarthimic scale.
I have used Z and Y axis as NumericAxis3D and X is LogarithmicNumericAxis3D .
Is something wrong here? Please suggest.
-
Hi there, your question and code sample seems incomplete. What is the problem? What are you trying to achieve? Can you provide more complete code sample? Thanks!
-
Hi, I just want to know how to change the X axis value from default index to a value in waterfall chart. Right now plot considers the index. and Y values are plotted based on X index rather than X value. How can I bind values to the X axis.
-
Hi, Is there any update on this? Please provide this information asap. I have attached the code files for your reference. Thanks, Deepashree
- You must login to post comments
Hi Lex,
I tried your fix. But it does not seem to work. I still do not see the peak at 1000. I have attached updated project. Please let me know if I am doing something wrong.
- Deepashree Iyangar answered 9 months ago
- You must login to post comments
Hi,
To be specific I am attaching the SCI waterfall sample project with my changes.
I have hard coded the X axis data, Y axis data and Z axis data.
With this data I should be able to see the peak at around 1000 X value with Y value as 50. But instead of 1000, I am getting the peak at 15 which is actual index of the X array instead of X value.
I want to see the peak at 1000 X value, X axis should range from 932 to 1052 instead of 0 to 49.
I should be able to see the peak at 1000 even if I make X axis as Logarthimic.
I tried changing the step X by assigning the delta between two points in X direction. With this I could see the peak at 1000, but this doesn’t work for Logarthmic X axis.
Please let me know how to achieve this.
Regards,
Deepashree
- Deepashree Iyangar answered 11 months ago
- You must login to post comments
Hi Deepashree,
Thank you for the sample project and for the clarification.
Please accept my apologies for the late reply.
The issue with the Logarithmic Axis and Waterfall 3D chart has been already reported and prioritized for the investigation on the next week.
We’ll get back to you as soon as we have an update.
With best regards,
Lex,
SciChart Technical Support Engineer
- Lex answered 11 months ago
- You must login to post comments
Hi Deepashree,
Thanks for your reply.
It looks that there is a couple of questions being discussed in this thread. Let me try to answer them one by one.
1) How to change the X axis value from default index to a specific value?
There is no way to specify XValues for Waterfall 3D chart in SciChart. The XValues are always auto-generated based on the XStart, XStep properties of a WaterfallDataSeries3D. WaterfallDataSeries3D only allows specifying YValues and ZValues.
For more information and examples, please check this documentation article and Waterfall3D examples in the Examples Demo.
2) As to values appearing at wrong position with LogarithmicAxis, it seems to be an issue in SciChart 3D. We have logged it and going to investigate. After that, we will get back to you with an update.
Please let me know if you have any other questions,
Best Regards,
Joeri
- Joeri R answered 11 months ago
- You must login to post comments
Hi Joeri,
Does your answer mean that in my attached example, it is not possible to see the peak at 1000 where my X Value is 1000?
What should I do see the peak at 1000? Only way is to make my StepX same as the delta value in my X axis which I already tried?
So, if I make that and if you fix the bug of Logarithmic axis, peak will appear at 1000 without any change?
Regards,
Deepashree
- Deepashree Iyangar answered 11 months ago
- last edited 11 months ago
-
Yes, you are right. To see the peak at X-Value = 1000 you should provide certain values for StartX and StepX properties, such that StartX + pointIndex * StepX = 1000. As to the issue with LogAxis, it seems to be more complicated. In fact, it looks that Waterfall3D does not support LogarithmicAxis as any axis (X,Y or Z). If we decide to support it, it will take time to implement.
-
Hi Deepashree, regarding Waterfall3D chart and LogarithmicAxis support. We discussed this and decided to implement this feature for Waterfall3D chart. We have started looking into it and get back to you when have any news.
- 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 and added Logarithmic Axis support.
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 10 months ago
- You must login to post comments
Please login first to submit.