Hi,
in y-axis, label is showing repetedly if there is only one decimal point is assigned as format(#0.0). if I change to (#0.0#) then its not.
Eg. 7.1, 7.1, 71, 7.2, 7.2 and so on. I just want to show 7.1, 72, 7.3 ..... only.
Thanks in advance,
Ajith
label format repeating
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ajith,
To solve that you can set the axis increment like this:
To solve that you can set the axis increment like this:
Code: Select all
TChart1.Axis.Left.Increment = 0.1
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 |
-
- Newbie
- Posts: 49
- Joined: Wed Aug 18, 2004 4:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ajith,
In that case what would you like to have? Can you please elaborate on that?
Thanks in advance.
In that case what would you like to have? Can you please elaborate on that?
Thanks in advance.
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 |
-
- Newbie
- Posts: 49
- Joined: Wed Aug 18, 2004 4:00 am
Hi Ajith,
the best way to check this or to customize the axis labels is by using the OnGetAxisLabel event which will return the labeltext of each axis :
Private Sub TChart1_OnGetAxisLabel(ByVal Axis As Long, ByVal SeriesIndex As Long, ByVal ValueIndex As Long, LabelText As String)
If Axis = 0 Then
If LabelText = ....
...
end if
end Sub
the best way to check this or to customize the axis labels is by using the OnGetAxisLabel event which will return the labeltext of each axis :
Private Sub TChart1_OnGetAxisLabel(ByVal Axis As Long, ByVal SeriesIndex As Long, ByVal ValueIndex As Long, LabelText As String)
If Axis = 0 Then
If LabelText = ....
...
end if
end Sub
Pep Jorge
http://support.steema.com
http://support.steema.com