![]() | 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 beak the size of Parent Chart when it is docked | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Canvas | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chris |
| Priority: | Normal | ||
| Version: | TeeChart for .NET 4.1.2013.07300 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | TestProject | ||
This problem will not be fixed by an internal code change to TeeChart. To make the ScrollPager tool resize, please use the following:
Steema.TeeChart.Styles.Line num;
ScrollPager tool;
private void InitializeChart()
{
num = new Steema.TeeChart.Styles.Line();
tChart1.Series.Add(num);
num.FillSampleValues();
tool = new ScrollPager(tChart1.Chart);
tool.Series = num;
tChart1.Resize += tChart1_Resize;
}
void tChart1_Resize(object sender, EventArgs e)
{
tool.Series = num;
}
Changed from WONTFIX to FIXED. This issue has now been able to be resolved internally. No additional code is now required for a Chart with a ScrollPager tool in it to resize. |
Created attachment 13 [details] TestProject If you have a Chart in dock mode to fill and you add a Scrollpager, the Scrollpager first size is correct, but when you change the size of window, the size of Scrollpager is broken and it breaks the Chart size. I understand that if the Scrollpager is a SubChart in the Chart, it shouldn't affect the behaviour of Chart size and should respect it when is docked. To reproduce the problem please see next steps using the attached project: 1.- Run the project and add click button 2 2.- Maximizes the window 3.- You see the Fill Chart disappear. Other test: 1.- Run the project and Maximizes the window 2.- Click Button2 3.- Minimizes the window. 4.- You can see the Chart isn't recalculate its size to adapt it to the form.