PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon May 06, 2024 11:37 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
 Post subject: Charts and scale text
PostPosted: Thu Jul 16, 2009 6:10 am 
Offline

Joined: Fri Jul 10, 2009 6:26 am
Posts: 6
Hello!

I have a chart displaying very small numbers ... only up to 0.1, max would be 0.2 . For the chart itself this works fine, however I have a problem with the scale text. For some reason it only displays values for one decimal place - I would require at least 2 decimal places, or even better, 3 decimal places.

How would I go around to doing that?


Top
 Profile  
Reply with quote  
PostPosted: Thu Jul 16, 2009 7:11 am 
Offline

Joined: Fri Jul 10, 2009 6:26 am
Posts: 6
Never found it, it can be set by the Format property. In my case I set it to:
Code:
chart.YAxis.TickLabels.Format = "0.00";


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: No registered users and 81 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