PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Jul 18, 2024 11:38 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Vertical Chart
PostPosted: Tue Sep 13, 2011 7:45 pm 
Offline

Joined: Tue Sep 13, 2011 7:40 pm
Posts: 4
I'm trying to create a PDF that contains a vertical chart. Is there any property that I can change to adjust the orientation of a chart? If not, are there any other ways of creating a vertical chart?

Thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Vertical Chart
PostPosted: Wed Sep 14, 2011 6:47 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
What's a vertical chart?

MigraDoc supports Column Charts with vertical indicators (|||) and Bar Charts with horizontal indicators (=).
So maybe Column Charts are what you are looking for.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject: Re: Vertical Chart
PostPosted: Wed Sep 14, 2011 6:59 am 
Offline

Joined: Tue Sep 13, 2011 7:40 pm
Posts: 4
What I'm trying to do is create a graph that instead of graphing from left to right, will graph from top to bottom and will span several pages. I've attached a picture of a graph that is similar to what I am trying to create.

Attachment:
vertical graph.jpg
vertical graph.jpg [ 80.96 KiB | Viewed 6951 times ]


Top
 Profile  
Reply with quote  
 Post subject: Re: Vertical Chart
PostPosted: Wed Sep 14, 2011 8:40 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Charts in MigraDoc cannot span several pages. So it's up to you to split the data and create one chart per page.

There may be a simpler way, but spontanously I'd create the charts normally in landscape format and then use the technique shown in the Mix MigraDoc And PDFsharp sample to draw the charts rotated on a protrait PDF.

You could add a new chart type to MigraDoc if the current line charts do not offer the flexibility you need.

See also:
http://www.pdfsharp.net/wiki/MixMigraDo ... ample.ashx

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject: Re: Vertical Chart
PostPosted: Wed Sep 14, 2011 3:09 pm 
Offline

Joined: Tue Sep 13, 2011 7:40 pm
Posts: 4
Thanks! I looked at it and I definitely think that this is going to be the best way to go about it. Thank you for your help.


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

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider] and 48 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