Erratic X axis labels


Author
Message
George Coppens
George Coppens
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
Posts: 2, Visits: 1
I have bound a chart control to a data table. Every two seconds a new X and Y value are added to the data table and the chart updates. After about 120 seconds, the X axis labels start to behave erratically. The labels will go from 0 to 120 then they will go to 0 to 75 then back to 0 to 120. This will continue and every so often the labels will be correct, but then they go back to changing randomly. The labels will not stop at 120; they will continue to go higher as long as more values are added to the data table, but the labels behave erratically after about 120 seconds.

I am sending the data to the chart in the same way that I did when using Chart Q2 2006 and I never had any problems with the X axis labels.

The following code is used to set the parameters of the X axis:

Dim primaryX as NAxis = chart1.Axis(StandardAxis.PrimaryX)
Dim linearScaleX as New NLinearScaleConfigurator
primaryX.ScaleConfigurator = linearScaleX

I don't know if I'm doing something wrong or if there is an issue with the chart control.

Thank you,

George Coppens



Edit: I have created a small test program and I can't duplicate the error. There must be a problem with the original program.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search