Xceed Chart for WinForms v4.4 Documentation
Caching Selection Rendering

Welcome to Xceed Chart for WinForms v4.4 > User Guide > Optimizing Performance > Caching Selection Rendering

Selection rendering is a special render mode used internally by the component to locate objects in the chart given 2D coordinates relative to the component viewport. This render mode is not as computationally intensive as normal rendering because it automatically dispenses with many options, such as lighting, jittering, antialiasing, image filters, etc. In practice there are interactivity modes that require many selection requests: for example, when you move the mouse over the control and tooltips are turned on or when you need to change the mouse cursor depending on the underlying chart. This is why internally the component caches selection rendering, and why the component refers to the internal cache rather than rendering the whole 3D scene again when there are subsequent interactivity requests. The component automatically decides when the selection cache is outdated, but you can force its recreation by calling the refresh method:

VB.NET  
chartControl1.Refresh()
C#  
chartControl1.Refresh();

In some cases however, keeping a selection cache is not desirable: for example, when the component's state changes frequently, when there are few interactivity requests, or when you want to reduce the memory footprint of the control. To turn off the selection cache, you must modify the CacheSelectionRendering property of the Settings object:

VB.NET  
chartControl.Settings.CacheSelectionRendering = False
C#  
chartControl1.Settings.CacheSelectionRendering = false;

See Also

Settings | Changing the Render Surface | Performance Tips