Rendering

View as Markdown

Rendering methods and properties can be useful when carrying out custom drawing tasks for chart objects. Event handlers such as OnCalculateMinMax() and OnRender() allow you to override behavior at key points in the rendering process.

  1. Some rendering methods and properties make use of SharpDX libraries, which provide a managed framework for working with DirectX technology. Please see the SharpDX SDK Reference for more information.
  2. For a walk through for using the SharpDX, please see the educational resource Using SharpDX for Custom Chart Rendering.

Methods and Properties

Method/PropertyDescription
RenderTargetCreates objects and exposes methods used for drawing in the chart area.
ForceRefresh()Forces OnRender() to be called, which will re-paint the chart.
IsInHitTestQualifies if object drawn in chart object should be selectable in the hit test procedure.
IsSelectedIndicates a chart object is currently selected.
IsVisibleOnChart()Indicates a chart object is visible on the chart canvas.
MaxValueThe maximum value used for the automatic scaling of the y axis.
MinValueThe minimum value used for the automatic scaling of the y axis.
OnCalculateMinMax()An event driven method which is called while the chart scale is being updated.
OnRender()Used to render custom drawing to a chart from various chart objects.
OnRenderTargetChanged()Used for efficient handling of SharpDX resources.
PanelUIThe chart panel that is configured on the chart’s UI.
ZOrderA unique identifier used to control the order in which chart objects are drawn on the chart’s Z-axis.