I need to generate a date based line chart with multiple series.
The number of series will vary between 2 to 30. Is there a way to do this in the code, since the number of series on the char is dependent on the outcome of a query. So
Dim line1 As NLineSeries = CreateLineSeries(Color.Green, Color.DarkOliveGreen)
Dim line2 As NLineSeries = CreateLineSeries(Color.Red, Color.DarkRed)
will not work
Can I use
For i=1 to MaxSeries
Dim line(i) As NLineSeries = CreateLineSeries(Color.Green, Color.DarkOliveGreen)
Next I
Or something like that?
Thanks