How to ues Direct2D in ScrollPage tool?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Candy
Newbie
Newbie
Posts: 57
Joined: Mon Apr 26, 2010 12:00 am
Contact:

How to ues Direct2D in ScrollPage tool?

Post by Candy » Wed Jul 16, 2014 2:25 am

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

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: How to ues Direct2D in ScrollPage tool?

Post by Christopher » Wed Jul 16, 2014 8:41 am

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.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply