MindFusion.Charting for JavaScript Programmer's Guide
RenderContext Members
Constructors Properties Methods
 


Provides contextual information about the dashboard to its child components when calling their draw, layout and user input methods.

The following tables list the members exposed by the RenderContext type.

 Public Constructors

  Name Description

RenderContext

Initializes a new instance of the RenderContext clas.

 Public Properties

  Name Description

component

Gets or sets the component currently being painted.

graphics

Gets or sets the current drawing surface.

theme

Gets or sets the Theme used to resolve appearance attributes.

xAxis

Gets the chart's XAxis.

yAxis

Gets the chart's YAxis.

 Public Methods

  Name Description

getClipRect

Gets the clip rectangle relative to specified Component.

getXAxis

Gets the X axis assigned to a Renderer2D or returns one from parent plot or chart.

getYAxis

Gets the Y axis assigned to a Renderer2D or returns one from parent plot or chart.

textStyle

Gets a TextStyle from current Theme.

 See Also

RenderContext Class
MindFusion.Charting Namespace