ComponentOne Chart 8.0 for ActiveX
Double Buffering

 

Double Buffering

Double buffering is a graphics technique which will reduce the amount of flashing perceived by a user when a chart changes. By default, double buffering is in effect. To turn off double buffering for a Chart2D object, set its IsDoubleBuffered property to False.

When double buffering is turned on, every time the chart changes, it will:

·      Allocate (if necessary) and clear an off-screen bitmap.

·      Render the complete graph to the off-screen bitmap.

When double buffering is turned off, the chart clears the screen image every time a chart is changed (possibly causing a visual flash). Then, it renders the complete image to the visible window (possibly allowing the user to see the chart being drawn piece by piece).

Turning off double buffering can improve the chart's graphing performance and reduce its memory requirements.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback