Strange Bottom Axis
-
- Newbie
- Posts: 11
- Joined: Mon Jul 19, 2010 12:00 am
Strange Bottom Axis
Hi:
After install Teechart v2010.01 Prelease, the bottom axis of teechar become very strange.
the bottom axis's label is overloped.
as attached file
Teechart 7.gif:original chart
Teechart v2010.01 VCL non-stable prelease.gif: after install Teechart v2010.01 Prelease.
Best Regards,
Daniel
After install Teechart v2010.01 Prelease, the bottom axis of teechar become very strange.
the bottom axis's label is overloped.
as attached file
Teechart 7.gif:original chart
Teechart v2010.01 VCL non-stable prelease.gif: after install Teechart v2010.01 Prelease.
Best Regards,
Daniel
- Attachments
-
- TeeChart v2010.01 VCL non-stable pre-releas.gif (18.18 KiB) Viewed 22632 times
-
- Teechart 7.gif (10.42 KiB) Viewed 22604 times
Re: Strange Bottom Axis
Hi Daniel,
Try changing the bottom axis label style.
If you still have problems with it, please, try to arrange a simple example project we can run as-is to reproduce the problem here.
Thanks in advance.
Try changing the bottom axis label style.
If you still have problems with it, please, try to arrange a simple example project we can run as-is to reproduce the problem here.
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 11
- Joined: Mon Jul 19, 2010 12:00 am
Re: Strange Bottom Axis
Hi Yeray:
After change the label of bottom axis from 'Auto' to 'Text', I still have the problem.
Sample program as attached.
Daniel
After change the label of bottom axis from 'Auto' to 'Text', I still have the problem.
Sample program as attached.
Daniel
- Attachments
-
- Draw.zip
- (425.22 KiB) Downloaded 881 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Strange Bottom Axis
Hi Daniel,
Here's a screen-shot of what I get using our current 2010 sources:
Is this what you get? If not, you may expect the issue to be fixed for next maintenance release.
Here's a screen-shot of what I get using our current 2010 sources:
Is this what you get? If not, you may expect the issue to be fixed for next maintenance release.
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: 11
- Joined: Mon Jul 19, 2010 12:00 am
Re: Strange Bottom Axis
Hi:
Teechart VCL v2001.01 is really unstable.
Lables of bottom axis overlaps.
Image and sample program is attached.
When will stable maintance release launch?
Best Regards,
Daniel
Teechart VCL v2001.01 is really unstable.
Lables of bottom axis overlaps.
Image and sample program is attached.
When will stable maintance release launch?
Best Regards,
Daniel
- Attachments
-
- Draw.zip
- (423.75 KiB) Downloaded 880 times
-
- PS0058.jpg (79.3 KiB) Viewed 22524 times
Re: Strange Bottom Axis
Hello Daniel,
I suggest you change labels alignment of your bottom axis, so it are not overlapping. You can use next line of code for change it:
I have checked it with last version TeeChart VCL and works for me.
I hope will helps.
Thanks,
I suggest you change labels alignment of your bottom axis, so it are not overlapping. You can use next line of code for change it:
Code: Select all
Chart1.Axes.Bottom.LabelsAngle:=90;
I hope will helps.
Thanks,
Best Regards,
Sandra Pazos / 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:
Re: Strange Bottom Axis
Hello Daniel,
Besides Sandra's workaround suggestion I have added this issue to the bug list to be investigated with ID. number TV52015179. TeeChart tries to plot as many labels as possible in the axes according to their Increment property and not allowing labels to overlap. However, when setting the axis to display text labels for each point they may not fit in the axis space. Populating series with x datetime values would help solving this issue too as bottom axis labels would be calculated automatically, so that you can modify your project like this:
Another workaround could be using LabelsSeparation:
We are finalising some details and we hope to have the stable release ready very soon.
Besides Sandra's workaround suggestion I have added this issue to the bug list to be investigated with ID. number TV52015179. TeeChart tries to plot as many labels as possible in the axes according to their Increment property and not allowing labels to overlap. However, when setting the axis to display text labels for each point they may not fit in the axis space. Populating series with x datetime values would help solving this issue too as bottom axis labels would be calculated automatically, so that you can modify your project like this:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
StartDate: TDateTime;
begin
LineSeries2.XValues.DateTime:=True;
StartDate:=EncodeDate(2004, 01, 02);
for i:=0 to LineSeries2.Count-1 do
begin
LineSeries2.XValues[i]:=StartDate + i;
Series2.XValues[i]:=StartDate + i;
Series17.XValues[i]:=StartDate + i;
end;
Chart3.Axes.Bottom.LabelStyle:=talValue;
end;
Code: Select all
Chart3.Axes.Bottom.LabelsSeparation:=101;
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: 11
- Joined: Mon Jul 19, 2010 12:00 am
Re: Strange Bottom Axis
Hi:
I have upgraded to the latest version of TeeChart VCL.
TeeChar Version:October 05, 2010 Build 2010.01.11004
Delphi 7
Window 7 64 bit.
I have atached a sample program.
If you click one series the chart works fine.
if you click two series you can see the label of bottom axis overlape.
Daniel
I have upgraded to the latest version of TeeChart VCL.
TeeChar Version:October 05, 2010 Build 2010.01.11004
Delphi 7
Window 7 64 bit.
I have atached a sample program.
If you click one series the chart works fine.
if you click two series you can see the label of bottom axis overlape.
Daniel
- Attachments
-
- Sample.zip
- (404.7 KiB) Downloaded 814 times
-
- Two Series.jpg (103.05 KiB) Viewed 22441 times
-
- One Series.jpg (84.46 KiB) Viewed 22431 times
Re: Strange Bottom Axis
Hi Daniel,
It looks to be the same. I've seen that it works in v2010.00 and overlaps in v2010.01. I've incremented the ticket priority (TV52015179).
It looks to be the same. I've seen that it works in v2010.00 and overlaps in v2010.01. I've incremented the ticket priority (TV52015179).
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 11
- Joined: Mon Jul 19, 2010 12:00 am
Re: Strange Bottom Axis
Hi:
It is really a serious problem.
When will you fix the problem?
Daniel
It is really a serious problem.
When will you fix the problem?
Daniel
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Strange Bottom Axis
Hi Daniel,
This is a high-priority issue in the defect list but hasn't been fixed yet. At this stage I can't commit to a release date. I recommend you to be aware at this forum, our RSS news feed, twitter and facebook accounts for new release announcements and what's fixed on them.
Thanks in advance.
This is a high-priority issue in the defect list but hasn't been fixed yet. At this stage I can't commit to a release date. I recommend you to be aware at this forum, our RSS news feed, twitter and facebook accounts for new release announcements and what's fixed on them.
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 |
Re: Strange Bottom Axis
Hi Narcis,
As discussed on the http://www.teechart.net/support/viewtop ... 526#p51526 thread I'm commenting on this thread from now on.
I've tried the BottomAxis.LabelsSeparation workaround suggestion you suggested to Daniel, however all this did was created large gaps between sections of overlapping labels.
We've found another workaround using the OnDrawLabel event handler which works for the labels, however its not brilliant if you have tick marks on the axis as it still draws multiple tick marks as you add series. See attached code.
Drew
As discussed on the http://www.teechart.net/support/viewtop ... 526#p51526 thread I'm commenting on this thread from now on.
I've tried the BottomAxis.LabelsSeparation workaround suggestion you suggested to Daniel, however all this did was created large gaps between sections of overlapping labels.
We've found another workaround using the OnDrawLabel event handler which works for the labels, however its not brilliant if you have tick marks on the axis as it still draws multiple tick marks as you add series. See attached code.
Drew
- Attachments
-
- AxisIssue.zip
- (88.1 KiB) Downloaded 897 times
Re: Strange Bottom Axis
Hi Drew,
Thanks for sharing the workaround proposal.
I can only think on hiding the ticks and minorticks completely as alternative for those who don't need them.
We'll be back here when we'll find a solution for the bug TV52015179.
Thanks for sharing the workaround proposal.
I can only think on hiding the ticks and minorticks completely as alternative for those who don't need them.
Code: Select all
Chart1.Axes.Bottom.MinorTicks.Visible:=false;
Chart1.Axes.Bottom.Ticks.Visible:=false;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Strange Bottom Axis
Hello,
Just wanted to let you know that we have fixed TV52015179 the next maintenance release.
Daniel, this is the bug in Sample.zip. We found that the bug in Draw.zip is somewhat different and we are currently working on fixing this one too.
Just wanted to let you know that we have fixed TV52015179 the next maintenance release.
Daniel, this is the bug in Sample.zip. We found that the bug in Draw.zip is somewhat different and we are currently working on fixing this one too.
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:
Re: Strange Bottom Axis
Hi Daniel,
After investigating the issue in Draw.zip further we came to the conclusion that this is not a bug. We found that in your project you had set bottom axis LabelsSeparation property to zero, thus no label anti-overlap calculation is performed. Setting LabelsSeparation to default value (10%) works fine:
After investigating the issue in Draw.zip further we came to the conclusion that this is not a bug. We found that in your project you had set bottom axis LabelsSeparation property to zero, thus no label anti-overlap calculation is performed. Setting LabelsSeparation to default value (10%) works fine:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart3.Axes.Bottom.LabelsSeparation:=10;
end;
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 |