Search
Plot2D Members
Constructors Properties Methods Events
 


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.

Background

Gets or sets the Brush that should be used to fill the background of this plot. (Inherited from Plot.)

BorderStroke

Gets or sets the Brush that should be used to stroke the borders of this plot. (Inherited from Plot.)

BorderStrokeDashStyle

Gets or sets the stroke dash style of plot borders. (Inherited from Plot.)

BorderStrokeThickness

Gets or sets the stroke thickness of plot borders. (Inherited from Plot.)

GridColor1

Gets or sets the main color of the grid.

GridColor2

Gets or sets the alternating color of the grid.

GridLineColor

Gets or sets the color of the grid lines.

GridLineStyle

Gets or sets the style of the grid lines.

GridLineThickness

Gets or sets the thickness of the grid lines.

GridType

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

HighlightedItem

Gets or sets the data item that should be drawn highlighted. (Inherited from Plot.)

HighlightStroke

Gets or sets the Brush used to stroke highlighted item. (Inherited from Plot.)

HighlightStrokeDashStyle

Gets or sets the stroke dash style of highlighted item. (Inherited from Plot.)

HighlightStrokeThickness

Gets or sets the stroke thickness of highlighted item. (Inherited from Plot.)

IsZoomed

Gets 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.

SeriesRenderers

Gets or sets the SeriesRenderer objects that should draw inside this plot. (Inherited from Plot.)

SeriesStyle

Gets or sets a SeriesStyle whose attributes should be used to draw series inside this plot, unless their own renderers have a local SeriesStyle value set for respetive attribute. (Inherited from Plot.)

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.

 Public Methods

  Name Description

AdjustDataRanges

Called at the end of data measurement pass. (Inherited from Plot.)

CreateController

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

DomainDimension

Implements the SeriesContainer interface. Gets the index of the dimension whose set of values should be treated as domain of plotted function. (Inherited from Plot.)

Draw

Component.Draw override. Draws a grid and all chart graphics represented by contained SeriesRenderer objects. (Inherited from Plot.)

EffectiveBorderStroke

Gets the Brush that should be used to stroke the plot's borders. (Inherited from Plot.)

EffectiveFill

Gets the Brush that should be used to fill the plot's background. (Inherited from Plot.)

EnumSeries

Implements SeriesContainer. (Inherited from Plot.)

Measure

Component.Measure override. Measures the desired size of this component. (Inherited from Plot.)

MeasureDataRanges

Measures data of all SeriesRenderer objects drawn inside this plot. (Inherited from Plot.)

ResetZoom

Resets the zoom level to original axis ranges.

StartMeasureData

Called in the beginning of data measurement pass. (Inherited from Plot.)

Visit

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

ZoomOut

Zooms out from current data range.

 Protected Methods

  Name Description

DrawGrid

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

DrawPlot

Draws the plot's background and borders. (Inherited from Plot.)

EffectiveBorder

Gets the Pen that should be used to draw the plot's borders. (Inherited from Plot.)

EffectiveBorderStrokeThickness

Gets the thickness of border strokes. (Inherited from Plot.)

EffectiveStrokeDashStyle

Gets the dash style of border strokes. (Inherited from Plot.)

OnRendererDataChanged

Called when a Series raises its DataChanged event. (Inherited from Plot.)

 Public Events

  Name Description

ZoomChanged

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

 See Also