Modifying the Legend

C

Codecommando

Hi,
OWC 10.0.0.6619

Is is possible to add a scrollbar to the legend? I have a chart with a
number of points and because of the size of the chart (due to design
limitations) not all the points are on the legend. If it can't be scrolled
can the position be moved, eg top, below??

Thanks,
Brian
 
A

Alvin Bruney [ASP.NET MVP]

Yes this is possible. You would need to use custom drawing for this. I
discuss some approaches in my book. it may be a better approach to remove
some of the items in the legend though, so as not to overwhelm the user. or
you can move the legend up to the top and stretch it sufficiently. The
chart exposes a chLegend object for that type of customization. Adding
scrollbars isn't supported by default so you would have to resort to some
win32 system program to accomplish this feat.

--
Regards,
Alvin Bruney

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top