Steema Issues Database

Note: 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.



Bug 72 - ScrollPager beak the size of Parent Chart when it is docked
Summary: ScrollPager beak the size of Parent Chart when it is docked
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Canvas (show other bugs)
Version: TeeChart for .NET 4.1.2013.07300
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-05 10:50 EST by sandra pazos
Modified: 2017-03-01 07:05 EST (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
TestProject (10.51 KB, application/octet-stream)
2013-11-05 10:50 EST, sandra pazos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2013-11-05 10:50:11 EST
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.
Comment 1 christopher ireland 2013-11-14 10:24:08 EST
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;
    }
Comment 2 christopher ireland 2017-03-01 07:05:50 EST
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.