Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
Surface Chart doesn't display all data in the DataPoint List
posted

I need to graph test data that is organized as follows:

A single run of the test consists of 175 samples of data. The test itself consists of multiple test runs. I need to graph this data as a surface graph where the x axis is the run number, the y axis is the sample number, and the z axis is the result collected for that run/sample number.

In most cases, this graphs correctly with the xamScatterSurface3D control. However, I have noticed that when there are only a small number of test runs (eg, x ranged from 0-3, y ranges from 0-174), that only a fraction of the samples are graphed (in this example, y only graphs from about 0-60 and not 0-174). The axis itself displays the full range, but the data for anything past sample 60 (or thereabouts) is missing.

I have attached a sandbox project that just reads the test data from a csv file and databinds the data to the control's ItemSource (you will have to change the path of the file in the ViewModel class to reflect the path where you unzip the project to). You can see that while the data file contains all the appropriate data, the graph only displays a fraction of that data.

I have found that I can devise a workaround by multiplying the x-coordinate by 10. If I do this (such that my x values are now 0, 10, 20, and 30 instead of 0,1,2,3), then the graph displays all of the data in the data file. However, I would be interested to know if I am missing a setting or something to get this to work properly without altering my data or if this is in fact a bug in the control.

Thank you for your assistance. 

WPF3DSurfaceTest.zip
Parents
No Data
Reply
  • 34850
    Offline posted

    Hello Vonda,

    I have reproduced this issue that you are seeing, and am currently in discussion with our development teams on this to see if it is a bug or if something is missing. I have also reproduced the behavior in which if you multiply the X-value by 10, you receive a more accurate surface plot. This leads me to believe it is likely an issue with the XamScatterSurface3D control, but I would like to confirm this first.

    I hope to have more information for you on this shortly. Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer

Children