Hi,
I’m using an area main series on a vert. axis (0%-80%) and a line series (function of the main one) on an other vert. axis (80%-100%).
When I zoom and the point before the first visible is under the limit of the vert axis, the area overwrite my other series. (please, look at the printscreen to understand me)
I will like that the Area don’t draw under the axis limit (.IEndPos)
I didn’t found any post/doc talking about this. How can I avoid this? Is this a bug?
I can send you a demo project if you want.
Thanks in advance for your help.
Area overdraw (under Axis limit)
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mariano,
Yes, please send us an example project we can run "as-is" to reproduce the problem here. You can post your files at news://www.steema.net/steema.public.attaachments newsgroup.
Thanks in advance.
Yes, please send us an example project we can run "as-is" to reproduce the problem here. You can post your files at news://www.steema.net/steema.public.attaachments newsgroup.
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mariano,
Thanks for the example project. I could reproduce the issue here and added it (TV52011730) to our defect list to be fixed for future releases.
In the meantime you can hide this area by custom drawing on TChart's canvas, for example:
Thanks for the example project. I could reproduce the issue here and added it (TV52011730) to our defect list to be fixed for future releases.
In the meantime you can hide this area by custom drawing on TChart's canvas, for example:
Code: Select all
procedure TForm2.Chart1AfterDraw(Sender: TObject);
var R: TRect;
begin
With Chart1 do
begin
R.Left:=ChartRect.Left+1;
R.Top:=Axes.Left.IEndPos;
R.Right:=ChartRect.Right;
R.Bottom:=ChartRect.Bottom;
Canvas.Pen.Style:=psClear;
Canvas.Brush.Color:=Color;
Canvas.Rectangle(R);
end;
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 |