C# Class YAMP.XYPlotValue

Abstract base class for plot values that are based on an XY (or similar) coordinate system.
Inheritance: PlotValue
Exibir arquivo Open project: FlorianRappl/YAMP

Protected Properties

Property Type Description
annotations List
points List

Private Properties

Property Type Description
Deserialize void
Serialize void

Public Methods

Method Description
AddPoints ( MatrixValue m ) : void

Adds points to the plot.

AddSeries ( IPointSeries series, bool nameSeries = true, bool colorSeries = true ) : void

Adds a new series to the plot. This function automatically selects a new color for the series, such that no color should be taken twice.

GetSeries ( int index ) : IPointSeries

Gets the specified series as an IPointSeries.

SetXRange ( double min, double max ) : void

Sets the x-range (min and max) in one statement.

SetYRange ( double min, double max ) : void

Sets the y-range (min and max) in one statement.

XYPlotValue ( ) : System

Creates a new instance.

Protected Methods

Method Description
InitializeBoundaries ( ) : void

Initializes the values MinX, MaxX, MinY and MaxY.

Private Methods

Method Description
Deserialize ( Deserializer ds ) : void
Serialize ( Serializer s ) : void

Method Details

AddPoints() public abstract method

Adds points to the plot.
public abstract AddPoints ( MatrixValue m ) : void
m MatrixValue The given matrix.
return void

AddSeries() public method

Adds a new series to the plot. This function automatically selects a new color for the series, such that no color should be taken twice.
public AddSeries ( IPointSeries series, bool nameSeries = true, bool colorSeries = true ) : void
series IPointSeries The series to add.
nameSeries bool Should the series be named?
colorSeries bool Should the series be colored automatically?
return void

GetSeries() public method

Gets the specified series as an IPointSeries.
public GetSeries ( int index ) : IPointSeries
index int The 0-based index of the series.
return IPointSeries

InitializeBoundaries() protected method

Initializes the values MinX, MaxX, MinY and MaxY.
protected InitializeBoundaries ( ) : void
return void

SetXRange() public method

Sets the x-range (min and max) in one statement.
public SetXRange ( double min, double max ) : void
min double The minimum for the x-axis.
max double The maximum for the x-axis.
return void

SetYRange() public method

Sets the y-range (min and max) in one statement.
public SetYRange ( double min, double max ) : void
min double The minimum for the y-axis.
max double The maximum for the y-axis.
return void

XYPlotValue() public method

Creates a new instance.
public XYPlotValue ( ) : System
return System

Property Details

annotations protected_oe property

The contained annotations.
protected List annotations
return List

points protected_oe property

The various included series.
protected List points
return List