PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 3:34 pm

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: Thu Jan 10, 2008 4:58 pm 
Offline

Joined: Thu Jan 10, 2008 4:49 pm
Posts: 3
Hi,

The sample charts' series values contain only integers. When plotting double values like 2.5, the label on the chart is rounded to 3. Why? Is there a solution?

In particular, I'm interested in the ChartType.Column2D having DataLabels shown as double, e.g. 2.5.

Thanks,
-- stokes


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 10, 2008 7:52 pm 
Offline

Joined: Thu Jan 10, 2008 4:49 pm
Posts: 3
Apparently, setting series.DataLabel.Format = "0.00"; did the job.

-- stokes


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