Page 1 of 1

How to method not drawing outside in graph axis

Posted: Fri Nov 30, 2012 2:26 am
by 16555925
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.

Re: How to method not drawing outside in graph axis

Posted: Fri Nov 30, 2012 11:06 am
by yeray
Hi,

You are right, I'm afraid the clipping doesn't work well in FMX (TV52015963).

Re: How to method not drawing outside in graph axis

Posted: Fri Nov 30, 2012 1:16 pm
by 16555925
Hi,

Oh...
Is It bug on TeeChart ?

Re: How to method not drawing outside in graph axis

Posted: Fri Nov 30, 2012 3:18 pm
by yeray
Hi,

It's something we expect to be able to achieve, bug or feature request.

Re: How to method not drawing outside in graph axis

Posted: Tue Dec 04, 2012 1:42 am
by 16555925
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?

Re: How to method not drawing outside in graph axis

Posted: Tue Dec 04, 2012 8:41 am
by yeray
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.

Re: How to method not drawing outside in graph axis

Posted: Wed Dec 12, 2012 8:52 am
by 16555925
Hi,

I solved that I implement the your idea.
Thanks.