Hi Support,
I have an issue using TChartAx5. If the range of my Y axis is 0.1 to 1 then I will see Y axis labels 0.1, 0.15, 0.2, 0.25 etc, this is good. However if the minimum value for my Y axis is zero or less then the Y axis labels only occur at integers, so in the above eaxmple (0 to1) I will only see 2 Y axis labels (0 and 1). I need to be a ble to the full decimal Y axis labels at all times.
Thanks In Advance
Slimmole
Y axis Labels around zero
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Slimmole,
This depends on your chart object height. To force this behaviour you can use code below and increase chart's height.
This depends on your chart object height. To force this behaviour you can use code below and increase chart's height.
Code: Select all
With TChart1.Axis.Left
.Increment = 0.5
.Labels.Separation = 0
.Labels.ValueFormat = "#.##,##"
End With
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 |