Single series and legend

TeeChart for ActiveX, COM and ASP
Post Reply
Jack
Newbie
Newbie
Posts: 24
Joined: Wed Aug 01, 2007 12:00 am

Single series and legend

Post by Jack » Thu Mar 15, 2012 9:10 am

Is this by design?
When multiple lines are drawn, the series titles are shown in the legend.
When only one (fast)line is drawn, then the legend shows the y-values and ignores the series title. Why isn't the single series title shown?


Greetings,

Jack

Yeray
Site Admin
Site Admin
Posts: 9601
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Single series and legend

Post by Yeray » Thu Mar 15, 2012 9:38 am

Hi Jack,

Yes, this is by design. By default LegendStyle=lsAuto, and this is its behaviour as we think when you have a unique series the concrete values are probably more remarkable. When you have various series, still with LegendStyle=lsAuto, you'll probably need a legend to distinguish what series represents what, it's more the comparison than the concrete values what could be relevant.
But you can always change the LegendStyle to force the series names to be shows with LegendStyle=lsSeries.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jack
Newbie
Newbie
Posts: 24
Joined: Wed Aug 01, 2007 12:00 am

Re: Single series and legend

Post by Jack » Thu Mar 15, 2012 12:10 pm

Great
Thanks it works.

Greetings,

Jack

Post Reply