Profile Picture

Chart Subtype Series XYScatter EmptyDataPointsValueMode or DateTime Starts 1899

Posted By Oliver Krieger 8 Years Ago

Chart Subtype Series XYScatter EmptyDataPointsValueMode or DateTime...

Author
Message
Oliver Krieger
Posted 8 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 5, Visits: 1
Hi all,
I have a datatable which contains three columns (TimeStamp, TagName, Value). Some tags has more values with timestamps, some less.

TimeStamp TagName Value
9/22/2013 10:33 AM TAG1 4
9/22/2013 10:34 AM TAG1 5
9/22/2013 10:35 AM TAG1 7
9/22/2013 10:36 AM TAG1 3
9/22/2013 10:37 AM TAG1 2
9/22/2013 10:33 AM TAG2 11
9/22/2013 10:36 AM TAG2 9
9/22/2013 10:37 AM TAG2 8

About this, I set the series to EmptyDataPointsValuMode.Averaqge (lineSeries.Values.EmptyDataPoints.ValueMode = Nevron.Chart.EmptyDataPointsValueMode.Average

If I choose the SubType “XYScatter (3)”, the series will be displayed with gaps, but with the right timestamp at the x axis.
If I choose the SubType “Series (0)”, the series will be displayed without gaps, but the x axis shows a timestamp from the year 1899.

I need a chart with no gaps in the series and the right timestamp on the x axis.
Thank you.

Oli








Oliver Krieger
Posted 8 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 5, Visits: 1
Hi all,

i found a solution to show the emty data points in a xy scatter line chart.

Add the following code to the "code" tab.

lineSeries.XValues.EmptyDataPoints.ValueMode = Nevron.Chart.EmptyDataPointsValueMode.Average


By oli



Similar Topics


Reading This Topic