Aug 22, 2012, 4:45 PM
[OPEN] [#77] Chart legend problems with large amount of series
Hello!
I have an issue with the chartlegends for a linechart we are using the linechart has 20 or so series and the legend runs out of bounds when we turn it on. I looked around in the legend but can't find a way to force it to show a number of colomns or something similar it seems it always uses one column or one line to show all the series in the legend.
Is there a way I can force the legend to use multiple rows and/or columns?
small example code we are using to produce this error:
I have an issue with the chartlegends for a linechart we are using the linechart has 20 or so series and the legend runs out of bounds when we turn it on. I looked around in the legend but can't find a way to force it to show a number of colomns or something similar it seems it always uses one column or one line to show all the series in the legend.
Is there a way I can force the legend to use multiple rows and/or columns?
small example code we are using to produce this error:
for (int i = 4; i <= 20; i++)
{
serie = new LineSeries();
serie.SeriesID = "line" + i.ToString();
serie.YField = new[] { "data2" };
serie.XField = new[] { "periode2" };
serie.Axis = Position.Left;
Chart1.Series.Add(serie);
}
and a picture of the problem
Last edited by Daniil; Dec 10, 2012 at 5:55 AM.
Reason: [OPEN] [#77]