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

ActualHeight

A double value specifying the component's assigned height. Valid only after calling Arrange. (Inherited from Component.)

ActualWidth

A double value specifying the component's assigned width. Valid only after calling Arrange. (Inherited from Component.)

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

DesiredHeight

A nullable double value specifying the component's desired height. Valid only after calling Measure. (Inherited from Component.)

DesiredWidth

A nullable double value specifying the component's desired width. Valid only after calling Measure. (Inherited from Component.)

GridColor1

Gets or sets the main color of the grid.

GridColor2

Gets or sets the alternating color of the grid.

GridColumn

Gets or sets the column index of this component when placed inside a GridPanel. (Inherited from Component.)

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.

GridRow

Gets or sets the row index of this component when placed inside a GridPanel. (Inherited from Component.)

GridType

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

Height

Gets or sets a fixed height for this component. (Inherited from Component.)

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

HitTestVisibility

Gets or sets the hit-test visibility of this component. (Inherited from Component.)

HorizontalAlignment

Gets or sets the horizontal alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

IsZoomed

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

Margin

Gets or sets the margin space around this component relative to the layout rectangle allocated by its parent panel. (Inherited from Component.)

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.

RectInParent

Gets the boundaries of this component relative to its parent. (Inherited from Component.)

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 respective attribute. (Inherited from Plot.)

ToolTip

Gets or sets the component's tooltip text. (Inherited from Component.)

VerticalAlignment

Gets or sets the vertical alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

VerticalScroll

Specifies whether the plot should scroll vertically when panned.

Visibility

Gets or sets the visibility of this component. (Inherited from Component.)

Width

Gets or sets a fixed width for this component. (Inherited from Component.)

XAxis

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

XInParent

A double value specifying the component's horizontal position relative to its parent. (Inherited from Component.)

YAxis

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

YInParent

A double value specifying the component's vertical position relative to its parent. (Inherited from Component.)

 Public Methods

  Name Description

AdjustDataRanges

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

Arrange

Sets the location and size of this component relatively to its parent. (Inherited from Component.)

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

HitTest

Returns the component containing specified point. (Inherited from Component.)

Invalidate

Overloaded. Invalidates the appearance of this component. (Inherited from Component.)

InvalidateLayout

Invalidates the current layout and runs a new layout pass before next draw operation. (Inherited from Component.)

LocalToRoot

Transforms the specified point to the coordinate system of the root panel. (Inherited from Component.)

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.

RootToLocal

Transforms the specified point to the coordinate system of this component. (Inherited from Component.)

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

Add

Sums specified nullable double values. (Inherited from Component.)

ArrangeInRect

Arranges a child component in specified layout rectangle. (Inherited from Component.)

DrawGrid

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

DrawOrigins

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

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

Max

Returns the larger of specified values. (Inherited from Component.)

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