Multi series line chart


Author
Message
Jakub Rehacek
Jakub Rehacek
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 10, Visits: 69
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




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