Profile Picture

Fitting Xaxis Range to serie values

Posted By Miquel Vila 14 Years Ago
Author
Message
Miquel Vila
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 4, Visits: 1
I'm trying to scroll the X axis everytime I add a new value to a serie, using the following code:

panellGrafic.Axis(StandardAxis.PrimaryX).View = New NRangeAxisView(New NRange1DD(panellGrafic.Axis(StandardAxis.PrimaryX).SeriesRange.End - My.Settings.range, panellGrafic.Axis(StandardAxis.PrimaryX).SeriesRange.End))

In the attached picture you can see the chart just after adding a 6.63 xvalue, and the "panellGrafic.Axis(StandardAxis.PrimaryX).SeriesRange.End" returns 6.9, and the charts draws points at 6.7,6.8 and 6.9 although the serie has not this xvalues.

How can I change this behavior and avoid points being drawn where Xvalues have no values?

Attachments
chart.png (42 views, 12.00 KB)



Similar Topics


Reading This Topic