C# Class YAMP.XYPlotValue

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

Protected Properties

Свойство Type Description
annotations List
points List

Private Properties

Свойство Type Description
Deserialize void
Serialize void

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
InitializeBoundaries ( ) : void

Initializes the values MinX, MaxX, MinY and MaxY.

Private Methods

Méthode Description
Deserialize ( Deserializer ds ) : void
Serialize ( Serializer s ) : void

Method Details

AddPoints() public abstract méthode

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

AddSeries() public méthode

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?
Résultat void

GetSeries() public méthode

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

InitializeBoundaries() protected méthode

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

SetXRange() public méthode

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.
Résultat void

SetYRange() public méthode

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.
Résultat void

XYPlotValue() public méthode

Creates a new instance.
public XYPlotValue ( ) : System
Résultat System

Property Details

annotations protected_oe property

The contained annotations.
protected List annotations
Résultat List

points protected_oe property

The various included series.
protected List points
Résultat List