How to method not drawing outside in graph axis

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
lindev
Newbie
Newbie
Posts: 4
Joined: Thu Apr 15, 2010 12:00 am

How to method not drawing outside in graph axis

Post by lindev » Fri Nov 30, 2012 2:26 am

Hi,

I want to know method for not drawing outside in graph axis on graph drawing.

First, I tried to use ClipPoints property.
code is following.

chart = GetChartName(0, chartindex, all);
chart->ClipPoints = true;


But it code is not effectively.
How to solve this problem?

Thanks.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to method not drawing outside in graph axis

Post by Yeray » Fri Nov 30, 2012 11:06 am

Hi,

You are right, I'm afraid the clipping doesn't work well in FMX (TV52015963).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

lindev
Newbie
Newbie
Posts: 4
Joined: Thu Apr 15, 2010 12:00 am

Re: How to method not drawing outside in graph axis

Post by lindev » Fri Nov 30, 2012 1:16 pm

Hi,

Oh...
Is It bug on TeeChart ?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to method not drawing outside in graph axis

Post by Yeray » Fri Nov 30, 2012 3:18 pm

Hi,

It's something we expect to be able to achieve, bug or feature request.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

lindev
Newbie
Newbie
Posts: 4
Joined: Thu Apr 15, 2010 12:00 am

Re: How to method not drawing outside in graph axis

Post by lindev » Tue Dec 04, 2012 1:42 am

Hi,

Thank you for the information.

I hope that have the similar clipping effect as VCL.
Do you know how to solve in a different way?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to method not drawing outside in graph axis

Post by Yeray » Tue Dec 04, 2012 8:41 am

Hello,

The only way I can think to work around this is to manually check, at OnScroll and OnZoom events, if all the points are in the ChartRect, and set as null those that aren't.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

lindev
Newbie
Newbie
Posts: 4
Joined: Thu Apr 15, 2010 12:00 am

Re: How to method not drawing outside in graph axis

Post by lindev » Wed Dec 12, 2012 8:52 am

Hi,

I solved that I implement the your idea.
Thanks.

Post Reply