Tchart 8.06.
Must be an easy one but cannot find the solution, it's not occurred on many other apps with Tcharts.
I have Tchart with 10 Tlineseries, X and Y axes, draws a few thousand x,y points on each series.
If I scroll with right mouse button in either X orY I can drag the series drawings outside of the region inside the axes, the curves go outside the axes.
How do I prevent this, must be a switch somewhere but can't find it. Sorry.
thanks
Sean
restrict scroll inside axes only
-
- Newbie
- Posts: 19
- Joined: Thu Sep 27, 2007 12:00 am
- Location: UK
- Contact:
Re: restrict scroll inside axes only
Hi Sean,
Are you using custom axes? Please take a look at the demo at All features\Welcome !\Axes\Opaque zones to see an example of how you could clip a series to a region.
If you still have problems with it, please send us a simple example project we can run as-is to reproduce the problem here and we'll take a look at it.
Are you using custom axes? Please take a look at the demo at All features\Welcome !\Axes\Opaque zones to see an example of how you could clip a series to a region.
If you still have problems with it, please send us a simple example project we can run as-is to reproduce the problem here and we'll take a look at it.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 19
- Joined: Thu Sep 27, 2007 12:00 am
- Location: UK
- Contact:
Re: restrict scroll inside axes only
thanks Yeray,
No, not custom axes. I think I've figured out why it's occurred, but not yet how to fix. For the the three charts in question i was experimenting last week with using OpenGL-3D, and then I returned back to normal, and I suspect one of the clipping parameters has remained unstuck somewhere aloing the line
cheers
Sean
No, not custom axes. I think I've figured out why it's occurred, but not yet how to fix. For the the three charts in question i was experimenting last week with using OpenGL-3D, and then I returned back to normal, and I suspect one of the clipping parameters has remained unstuck somewhere aloing the line
cheers
Sean
-
- Newbie
- Posts: 19
- Joined: Thu Sep 27, 2007 12:00 am
- Location: UK
- Contact:
Re: restrict scroll inside axes only
Is it possible that somehow the global procedure unclipcanvas has caused my issue, and i need to run clipcanvas. But how do I do that?
Re: restrict scroll inside axes only
Hi Sean,
With Chart1.ClipPoints:=false; the series can be moved out of the ChartRect, and setting it to true, they are not drawn into the ChartRect.
On the other hand, yes, we are aware of the problems with opengl and the series clipping.
With Chart1.ClipPoints:=false; the series can be moved out of the ChartRect, and setting it to true, they are not drawn into the ChartRect.
On the other hand, yes, we are aware of the problems with opengl and the series clipping.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 19
- Joined: Thu Sep 27, 2007 12:00 am
- Location: UK
- Contact:
Re: restrict scroll inside axes only
thanks Yeray, I think it must have beren related to having used opengl on these charts, I deleted the chats affected and replaced with new. All series creation and handling is in code, so the only changes were to replace three charts and give them different names, the code for adding and controlling series is identical except for the chart names. scroll behaviour now as expected.
cheers
Sean
cheers
Sean