SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

0
0

I want to access the values of ScatterSeries3D.DataSeries for example, I want to have something like:

ScatterSeries3D.DataSeries.XValues, ScatterSeries3D.DataSeries.YValues or ScatterSeries3D.DataSeries.ZValues.

Version
6
  • You must to post comments
0
0

Hi Matladi,

This is possible by casting the data series before accessing XValues, YValues, ZValues properties

 var xyzDataSeries = (XyzDataSeries<double,double,double>)scatterSeries.DataSeries;
 var xValues = xyzDataSeries.XValues; // gets xValues
 var yValues = xyzDataSeries.YValues; // gets yValues
 var zValues = xyzDataSeries.ZValues; // gets zValues

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.