In This Article

MicroXYChartPlotter Class

Represents a class that is capable of plotting various shapes on to a MicroXYChart.

[Browsable(false)]
public class MicroXYChartPlotter
Inheritance:
object object

Constructors

MicroXYChartPlotter(MicroXYChart)

Initializes an instance of the class.

public MicroXYChartPlotter(MicroXYChart chart)
Parameter Type Description
chart MicroXYChart

The chart associated with the plotter.

Properties

Height

The height of the plot area.

public double Height { get; }

Property Value

double

IsAxisBaselineVisible

A value indicating whether a line is rendered at the baseline value.

public bool IsAxisBaselineVisible { get; }

Property Value

bool

IsHotTracking

A value indicating whether this instance is hot tracking.

public bool IsHotTracking { get; }

Property Value

bool

Margin

The margin around the plot area.

public Thickness Margin { get; set; }

Property Value

Thickness

SeriesStyleSelector

Custom style-selection logic for a style that can be applied to each element in the associated series.

public MicroSeriesStyleSelector? SeriesStyleSelector { get; }

Property Value

MicroSeriesStyleSelector

Width

The width of the plot area.

public double Width { get; }

Property Value

double

Methods

AddBaseline(double, double, double, double)

Adds a baseline to the associated chart.

public void AddBaseline(double x1, double y1, double x2, double y2)
Parameter Type Description
x1 double

The X-coordinate of the first point.

y1 double

The Y-coordinate of the first point.

x2 double

The X-coordinate of the second point.

y2 double

The Y-coordinate of the second point.

AddHorizontalBaseline(double)

Adds a horizontal baseline to the associated chart.

public void AddHorizontalBaseline(double y)
Parameter Type Description
y double

The Y-coordinate of the baseline.

AddMarker(double, double, Style?)

Adds a MicroChartMarker to the associated chart.

public void AddMarker(double x, double y, Style? style)
Parameter Type Description
x double

The X coordinate at which the marker should be added.

y double

The Y coordinate at which the marker should be added.

style Style

The style that should be applied to the marker.

AddMarker(Point?, Style?)

Adds a MicroChartMarker to the associated chart.

public void AddMarker(Point? point, Style? style)
Parameter Type Description
point Point

The point at which the marker should be added.

style Style

The style that should be applied to the marker.

AddPolygon(PointCollection?, Style?, Geometry?, Rect??)

Adds a Polygon to the associated chart using with the given points.

public void AddPolygon(PointCollection? points, Style? style, Geometry? clip, Rect?? clipBounds)
Parameter Type Description
points PointCollection

The points that make up the shape.

style Style

The Style to be applied to the shape.

clip Geometry

The clipping geometry to be used by the shape.

clipBounds Rect?

The clipping bounds of the shape.

AddPolyline(PointCollection?, Style?, Geometry?, Rect??)

Adds a Polyline to the associated chart using with the given points.

public void AddPolyline(PointCollection? points, Style? style, Geometry? clip, Rect?? clipBounds)
Parameter Type Description
points PointCollection

The points that make up the shape.

style Style

The Style to be applied to the shape.

clip Geometry

The clipping geometry to be used by the shape.

clipBounds Rect?

The clipping bounds of the shape.

AddShape(Shape)

Adds the shape to the associated chart.

public void AddShape(Shape shape)
Parameter Type Description
shape Shape

The shape to add.

AddVerticalBaseline(double)

Adds a vertical baseline to the associated chart.

public void AddVerticalBaseline(double x)
Parameter Type Description
x double

The X-coordinate of the baseline.

GetXAxis(Type?)

An IMicroXYAxis associated with the specified type for use along the X-axis.

public IMicroXYAxis? GetXAxis(Type? type)
Parameter Type Description
type Type

The type of axis.

Returns

IMicroXYAxis:

An IMicroXYAxis associated with the specified type for use along the X-axis.

GetYAxis(Type?)

An IMicroXYAxis associated with the specified type for use along the Y-axis.

public IMicroXYAxis? GetYAxis(Type? type)
Parameter Type Description
type Type

The type of axis.

Returns

IMicroXYAxis:

An IMicroXYAxis associated with the specified type for use along the Y-axis.

Plot()

Plots the series and ranges on the associated chart.

public void Plot()

StartHotTracking(Point?)

Starts the hot tracking.

public void StartHotTracking(Point? position)
Parameter Type Description
position Point

The position of the mouse cursor.

StopHotTracking()

Stops the hot tracking.

public void StopHotTracking()

UpdateHotTracking(Point?)

Updates the hot tracking.

public void UpdateHotTracking(Point? position)
Parameter Type Description
position Point

The position of the mouse cursor.

Inherited Members

Extension Methods