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
210
LineChart with series help
posted

Ok, I am starting to get frustrated here. Not sure what I am doing wrong. I have a UltraChart set to LineChart. I create a NumericSeries and call UltraChart.Series.Add(mySeries). Every time a certain event is fired I add a NumericDataPoint to mySeries. For some reason, it never graphs anything. What am I missing? The code is below:

mySeries = new NumericSeries();mySeries.Visible = true;

mySeries.Label = _watch[0].CarNumber;

watchRunChart.Series.Add(mySeries);

In the event:

mySeries.Points.Add( new NumericDataPoint(Math.Round(lap.LapTime.TotalSeconds), tod.ToString(), false));

I am sure I am missing something simple! Any help would be much appreciated. By the way this is v7.3 and ultimately I will need to add 6 seperate series to this chart. Is that possible? Thanks!

Parents Reply Children