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 354

Summary: [TD29016423] TeeChart SrollPager isn't supported in TeeChartDirect2D2. Is not po...
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: Direct2DAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2013-11-20 11:25:15 EST
TeeChart SrollPager isn't supported in TeeChartDirect2D2. 
Is not possible use ScrollPager Tool in a Direct2D2 project, because appears next exeception "D2DERR_WRONG_STATE: The object was not in the correct state to process the method. (-2003238911)".  Please see next code to check it: 
        public Form1()
        {
            InitializeComponent();
            InitializeChart();
        }
        Steema.TeeChart.Tools.ScrollPager tool;
        Steema.TeeChart.Styles.Bar Series;
        Graphics3DDirect2D D2D;
        private void InitializeChart()
        {
            tool = new Steema.TeeChart.Tools.ScrollPager(tChart1.Chart);
            Series = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            D2D= new Graphics3DDirect2D(tChart1.Chart);
            tChart1.Graphics3D = D2D;
            tChart1.Graphics3D.BufferStyle = Steema.TeeChart.Drawing.BufferStyle.None;
            Series.FillSampleValues();
            tool.Series = Series;
    }
The problem occurs when you use OpenGL canvas, too.  [created:2012-11-20T11:34:56.000+01:00 reported by:sandra@steema.com reported in version:]