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