Hi folks,
i am working on a project where is want to plot multiple lineseries to compare racing times off different drivers on track during a race.
My problem is that i don't know the number or the maximum number of drivers on track at design time.
Of course i could add several series at runtime and simply don't fill the unused, but how can i manage this from code let's say in a For Next Loop.
Suggestion in vb would be nice. Using
Dim lineSeries As New LineSeries()
For id = 0 To arrFahrer.Count - 1
For i As Integer = 0 To arrFahrer(id).douRundenZeiten.Count - 2
rcvRundenzeiten.Series(id).DataPoints.Add(New CategoricalDataPoint(arrFahrer(id).douRundenZeiten.Item(i)))
Next i
rcvRundenzeiten.Series.Add(lineSeries)
Next
just creates one series with all points.
Kind regards
Martin