PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 12:00 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: [MigraDoc] and charts
PostPosted: Fri Jul 14, 2017 12:27 pm 
Offline

Joined: Thu Jun 23, 2016 12:51 pm
Posts: 8
Hello everyone,

I want to draw 1 series but this two series have to have two different colors.
My 1st idea was:
- draw 2 series with different colors
but the problem is: the 2nd series starts from the beginning (left) BUT it has to start at the end from the 1st.

How can I solve this problem?

Thanks


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 14, 2017 3:43 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 909
Location: CCAA
Hi!

I think MigraDoc currently does not handle null values in series correctly.
If it wasn't for that bug, using two series in one chart would be the solution IMHO.

You can try to fix this bug in MigraDoc.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 17, 2017 6:02 am 
Offline

Joined: Thu Jun 23, 2016 12:51 pm
Posts: 8
Hi,

yes, I allready tried this. But the problem is that the 2nd Series starts from the beginning (left site) of the chart BUT it has to start from the end of the 1st series.
How can I do this?


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 17, 2017 7:31 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
Hi!
JoseMan wrote:
How can I do this?
Fix the bug in MigraDoc. Add null (not 0) to your series and make sure that MigraDoc treats the null values correctly.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 17, 2017 9:14 am 
Offline

Joined: Thu Jun 23, 2016 12:51 pm
Posts: 8
Mh... I will try this..


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: Bing [Bot] and 132 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