Cannot Zoom if Bottom axis Labels are not visible
Cannot Zoom if Bottom axis Labels are not visible
When the bottom axis labels are made not visibile, the automatic zooming no longer works correctly. Is there a way to fix this?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Westwood,
Thanks for reporting. I could reproduce the problem here and added it (TA05011727) to our defect list to be fixed for future releases.
In the meantime, a workaround is calling InternalRepaint as shown here:
Thanks for reporting. I could reproduce the problem here and added it (TA05011727) to our defect list to be fixed for future releases.
In the meantime, a workaround is calling InternalRepaint as shown here:
Code: Select all
Private Sub Check1_Click()
TChart1.Axis.Bottom.Labels.Visible = Not TChart1.Axis.Bottom.Labels.Visible
End Sub
Private Sub Form_Load()
TChart1.Series(0).FillSampleValues 10
TChart1.Environment.InternalRepaint 'Workaround
TChart1.Axis.Bottom.Labels.Visible = False
End Sub
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 |