Profile Picture

Multi series line chart

Posted By Jakub Rehacek 3 Years Ago
Author
Message
Jakub Rehacek
Question Posted 3 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 2 Years Ago
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








Similar Topics


Reading This Topic