PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.de/

Charts and scale text
http://forum.pdfsharp.de/viewtopic.php?f=2&t=791
Page 1 of 1

Author:  Rekreativc [ Thu Jul 16, 2009 6:10 am ]
Post subject:  Charts and scale text

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?

Author:  Rekreativc [ Thu Jul 16, 2009 7:11 am ]
Post subject:  Re: Charts and scale text

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";

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/