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


A plot whose series are rendered relatively to a two-dimensional Cartesian coordinate system.

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

 Public Constructors

  Name Description

Plot2D

Initializes a new instance of the Plot2D class.

 Public Properties

  Name Description

allowPan

Gets or sets a value indicating whether users are allowed to pan this plot.

gridColor1

Gets or sets the main color of the grid.

gridColor2

Gets or sets the alternating color of the grid.

gridType

Gets or sets the type of grid to draw in this plot.

isZoomed

Gets or sets a value indicating whether the user has zoomed into this plot.

pinGrid

Gets or sets a value indicating whether grid stripes should be pinned in place or scroll together with the plot when users pan it.

verticalScroll

Specifies whether the plot should scroll vertically when panned.

xAxis

Gets or sets default Axis instance used to map X data coordinates of series rendered inside this plot to the plot's pixels.

yAxis

Gets or sets default Axis instance used to map Y data coordinates of series rendered inside this plot to the plot's pixels.

zoomChanged

Raised when the user zooms into this plot's data range.

 Public Methods

  Name Description

createController

Component.CreateController override. Returns a ComponentController used to interact with this component.

drawGrid

Plot.DrawGrid override. Draws the grid specified by GridType property.

drawOrigins

Plot.DrawOrigins override. Draws the plot's axis origin lines.

resetZoom

Resets the zoom level to original axis ranges.

visit

Component.Visit override. Calls visitor's VisitPlot method.

zoomOut

Zooms out from current data range.

 See Also

Plot2D Class
MindFusion.Charting Namespace