Crazy Drawn Series using Add
Posted: Tue May 23, 2006 12:51 am
I have two graphs.
When I use
TGraph1.Series(0).Add(arrayTimeX, arrayDistanceY)
it seems to be a crap shoot if the series will be drawn correctly.
But if I copy that graph to another graph, using
TGraph2.Series(0).AssignValues(TGraph1.Chart.Series(0))
the series is always drawn correctly even though the first graphs series is screwed up.
How do I get the first graph to draw correctly every time?
When I use
TGraph1.Series(0).Add(arrayTimeX, arrayDistanceY)
it seems to be a crap shoot if the series will be drawn correctly.
But if I copy that graph to another graph, using
TGraph2.Series(0).AssignValues(TGraph1.Chart.Series(0))
the series is always drawn correctly even though the first graphs series is screwed up.
How do I get the first graph to draw correctly every time?