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
390
LineSeries not being plotted
posted

Hi,

I am trying to create a LineSeries by using the code below:

LineSeries lineseries = new LineSeries();

lineseries.Thickness = 3;

lineseries.MarkerType = MarkerType.None;

lineseries.Resolution = 1.5;

lineseries.ItemsSource = data1;

lineseries.XAxis = xmLineXAxis;

lineseries.XAxis.ItemsSource = data2;

 

Scenario 1:

LineSerie plotted data1 contains values other than null. e.g. 1.0,2.5,3.5 ......

data2 contains continuous values. e.g. 1,2,3,4,5.......

Scenario 2:

LineSerie not plotted data1 contains some null values. e.g. 1.0,2.5,null,3.5,null,null ......

data2 contains continuous values. e.g. 1,2,3,4,5.......

 

Count of data1 and data2 are always equal.

How can i plot the line series ?

Thank you

Best Regards,

 Varun