![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | ScrollPager doesn't let the chart resize | ||
|---|---|---|---|
| Product: | FireMonkey TeeChart | Reporter: | narcís calvet <narcis> |
| Component: | Tools | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | chris, david, wave |
| Priority: | --- | ||
| Version: | 131119 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=14513 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | FMX project with a series and ScrollPager tool | ||
Maybe this is related to .NET issue 72: http://bugs.teechart.net/show_bug.cgi?id=72 No, this doesn't work here. Actually, ScrollPager tool resizes correctly in a VCL project but doesn't in a Firemonkey project. I get the same problem in VCL and FireMonkey with latest sources. When chart is resized, layout is not reconstructed. There is a workaround but it'd be better if the tool can do it internally automatically, remembering the "old" chart size and resizing if different. procedure TForm1.Chart1Resize(Sender: TObject); begin ChartTool1.SetUpScrollPager; end; Fixed. When the chart is resized (or maximized), the scrollpager tool will re-layout. Still pending to find a good way to improve the alignment of both axes (the main chart and the scrollpager subchart). Right now the margins are hardcoded (ie: 25 pixels horizontal, etc), so when for example an axis labels font size is bigger than the other, the alignment is not perfect. |
Created attachment 20 [details] FMX project with a series and ScrollPager tool Having a Firemonkey project with a TScrollPagerTool, doesn't let the chart resize when the form is resized and the chart is aligned to alClient. Attached a simple example project reproducing this.