Hi
I have a bar chart whose y axis labels are currently showing upto one decimal palce. i want them to show upto 2 decimal places. How to do that?Tahnks .
y axis label formatting
Re: y axis label formatting
Hi shikha,
You have to do this to have two decimals at maximum:
Ans this to force two decimals:
You have to do this to have two decimals at maximum:
Code: Select all
tChart1.Axes.Left.Labels.ValueFormat = "#.##";
Code: Select all
tChart1.Axes.Left.Labels.ValueFormat = "#.00";
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: y axis label formatting
Thanks.
whts the difference between these-
tcStraAssessRC.Axes.Left.Labels.ValueFormat = "#.##"
and
tcStraAssessRC.Axes.Left.Labels.ValueFormat = "0.00"
whts the difference between these-
tcStraAssessRC.Axes.Left.Labels.ValueFormat = "#.##"
and
tcStraAssessRC.Axes.Left.Labels.ValueFormat = "0.00"
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: y axis label formatting
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |