Page 1 of 1

How to ues Direct2D in ScrollPage tool?

Posted: Wed Jul 16, 2014 2:25 am
by 15656007
I used Graphics3DDirect2D in teechart.

Graphics3DDirect2D D2D = new Graphics3DDirect2D(tChart1.Chart);

D2D.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighSpeed;

tChart1.Graphics3D = D2D;

tChart1.Graphics3D.BufferStyle = Steema.TeeChart.Drawing.BufferStyle.None;

and i will use ScrollPage tool, application crashes. Please taught me how to do, thanks.

I'm working environment: VS2010(.NET Framework 4.0) / Windows7

Re: How to ues Direct2D in ScrollPage tool?

Posted: Wed Jul 16, 2014 8:41 am
by Christopher
Candy wrote:and i will use ScrollPage tool, application crashes. Please taught me how to do, thanks.
I'm afraid the ScrollPager tool is not compatible with the Direct2D canvas.

The Direct2D canvas was designed to deliver performance gains in real-time charting environments, in which the ScrollPager tool would not be used. Outside of real-time charting environments, the Direct2D is no faster than the default GDI+ canvas, and sometime can actually be slower.