PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 8:13 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: Fri Jun 16, 2017 2:57 pm 
Offline

Joined: Thu Jun 15, 2017 2:20 pm
Posts: 4
Hi, I have MigraDoc 1.32, C#. Does anyone know if it's possible to have a different number of x axis labels than the amount of data in the series of a line graph?

For instance, maybe I have 100 values in the line graph. The x axis can't fit that many in very nicely, so all the number labels end up crushed together in one black blob. I tried putting a smaller number of values in the XSeries variable than the number of values that are used to draw the graph, but it still does the same thing - they are crushed together the same way but just don't go all the way across the graph.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 16, 2017 3:44 pm 
Offline

Joined: Thu Jun 15, 2017 2:20 pm
Posts: 4
Actually just figured this out myself, and it's super simple, so I feel pretty dumb for posting it! All you have to do is put in spaces instead of x axis values for every single graph value. I only put in an x axis label for every 10 or so graph values, the rest are spaces. Incredibly easy.


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 96 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