HI I'm playing around with the IRectangle tool and have a couple of questions.
1) The description for the IRectangle Tool says "You can use this tool for multiple applications, for example to display the chart contents under the rectangle into another chart, picture or canvas."
Can you give some direction as to how to do that?
2) I'm using the rectangle tool to zoom the chart to the contents of the rectangle using the Chart ZoomRect method. My chart uses shape series elements with text in the middle of the shapes. When I zoom in this way the shapes change size but the font doesn't increase with them. Is there a way to fix this or is there a way to determine how much the "In Chart" elements have been zoomed?
Thanks
Rectangle tool and zooming
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Rectangle tool and zooming
Hello,
Or you may also be interested in the Magnify tool. You'll find an example at All Features\Welcome!\Tools\Magnify in the features demo, available at TeeChart's program group.
sembla que si..
Find attached an example project with this functionality.1) The description for the IRectangle Tool says "You can use this tool for multiple applications, for example to display the chart contents under the rectangle into another chart, picture or canvas."
Can you give some direction as to how to do that?
You might want to use this:2) I'm using the rectangle tool to zoom the chart to the contents of the rectangle using the Chart ZoomRect method. My chart uses shape series elements with text in the middle of the shapes. When I zoom in this way the shapes change size but the font doesn't increase with them. Is there a way to fix this or is there a way to determine how much the "In Chart" elements have been zoomed?
Code: Select all
TChart1.Aspect.ZoomText = ztAuto
sembla que si..
- Attachments
-
- SampleRectangleTool.rar
- (2.56 KiB) Downloaded 847 times
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 |