Page 1 of 1

Can not display more than 10 lines into the legend

Posted: Wed Feb 22, 2006 4:06 pm
by 9339785
Hi,
I display on the legend the title of series displayed.
When the legend is docked on the top or on the bottom of the graph, it can not display more than 10 vertical lines. This problem does not occur on the left or right of the graph. Any ideas of the pb ?

thanks

Posted: Thu Feb 23, 2006 9:23 am
by narcis
Hi franckgar,

This can be avoided using:

Code: Select all

  Chart1.Legend.MaxNumRows:=Chart1.SeriesCount;