Just upgrading to v2, and ran into this problem: Setting the bottom axis label to NOT visible causes the bottom axis title to be displayed at the top of the chart. Likewise, setting the left axis label to not visible makes the left axis title to disappear.
I can sort of get around this by setting the label = visible and style = None, but it still seems wrong and is different behavior than v1.
Axis titles misplaced
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Gp,
This works fine here using latest Debug Build version available at our Customer Download Area. Can you please test if this version works for you?
This works fine here using latest Debug Build version available at our Customer Download Area. Can you please test if this version works for you?
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Gp,
I've been able to reproduce it. And added this defect (TF02011070) to our bug list to be fixed for future releases. In the meantime, a workaround is setting label text to an empty string on the GetAxisLabel event:
I've been able to reproduce it. And added this defect (TF02011070) to our bug list to be fixed for future releases. In the meantime, a workaround is setting label text to an empty string on the GetAxisLabel event:
Code: Select all
private void Form1_Load(object sender, System.EventArgs e)
{
line1.FillSampleValues();
tChart1.Axes.Left.Title.Text="Left Axis Title";
tChart1.Axes.Bottom.Title.Text="Bottom Axis Title";
}
private void tChart1_GetAxisLabel(object sender, Steema.TeeChart.GetAxisLabelEventArgs e)
{
e.LabelText="";
}
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 |