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 - [TD29016423] TeeChart SrollPager isn't supported in TeeChartDirect2D2. Is not po...
Summary: [TD29016423] TeeChart SrollPager isn't supported in TeeChartDirect2D2. Is no...
Status: CONFIRMED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Direct2D (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-20 11:34 EST by sandra pazos
Modified: 2013-11-20 11:25 EST (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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:]