PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Jun 17, 2024 5:57 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jan 16, 2013 3:27 pm 
Offline

Joined: Wed Jan 16, 2013 1:28 pm
Posts: 1
Hello,
Has anybody examples of how to use legends for a Chart in Migradoc?
I have 2 series in a chart and couldn't figure how to use chart.RightArea.AddLegend

Thanks
Cyrille


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 22, 2013 11:48 am 
Offline

Joined: Sat Jun 22, 2013 11:34 am
Posts: 1
Hi,
it's the first time that I use Chart in PDFsharp and I found tahat the serie.Name will be used to render the label of serie in the Legend.

To add a Legend to a Chart write simply:
chart.FooterArea.AddLegend();
or any other *Area of chart.

I hope this will help you.
Davide.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 136 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group