C# Class Accord.Controls.DataSeriesBox

Data Series Box for quickly displaying a form with a time series plot on it in the same spirit as System.Windows.Forms.MessageBox.
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
Hold ( ) : void

Holds the execution until the window has been closed.

SetGraph ( Action pane ) : DataSeriesBox

Sets properties for the graph being shown.

SetLabels ( string labels, float size ) : DataSeriesBox

Sets the data labels for the values being shown.

SetTitle ( string text ) : DataSeriesBox

Sets the window title of the data series box.

Show ( IEnumerable values ) : DataSeriesBox

Displays a scatter plot with the specified data.

Show ( IEnumerable values ) : DataSeriesBox

Displays a scatter plot with the specified data.

Show ( String title, double>.Func function ) : DataSeriesBox

Displays a scatter plot.

Show ( String title, double>.Func function, DoubleRange range ) : DataSeriesBox

Displays a scatter plot.

Show ( String title, double>.Func function, double step ) : DataSeriesBox

Displays a scatter plot.

Show ( String title, double>.Func function, double min, double max, double step ) : DataSeriesBox

Displays a scatter plot.

Show ( String title, double>.Func function, int npoints ) : DataSeriesBox

Displays a scatter plot.

Show ( string title = "Time series" ) : DataSeriesBox

Displays a scatter plot with the specified data.

Private Methods

Méthode Description
DataSeriesBox ( ) : System
show ( String title, double>.Func function, double min, double max, double step, int npoints ) : DataSeriesBox
show ( String title, IEnumerable x, IEnumerable series, bool time = false ) : DataSeriesBox
show ( String title, double x, double series, bool time = false ) : DataSeriesBox

Method Details

Hold() public méthode

Holds the execution until the window has been closed.
public Hold ( ) : void
Résultat void

SetGraph() public méthode

Sets properties for the graph being shown.
public SetGraph ( Action pane ) : DataSeriesBox
pane Action The actions to be performed to the graph pane.
Résultat DataSeriesBox

SetLabels() public méthode

Sets the data labels for the values being shown.
public SetLabels ( string labels, float size ) : DataSeriesBox
labels string The text labels.
size float The text size.
Résultat DataSeriesBox

SetTitle() public méthode

Sets the window title of the data series box.
public SetTitle ( string text ) : DataSeriesBox
text string The desired title text for the window.
Résultat DataSeriesBox

Show() public static méthode

Displays a scatter plot with the specified data.
public static Show ( IEnumerable values ) : DataSeriesBox
values IEnumerable The x-values for the data series.
Résultat DataSeriesBox

Show() public static méthode

Displays a scatter plot with the specified data.
public static Show ( IEnumerable values ) : DataSeriesBox
values IEnumerable The x-values for the data series.
Résultat DataSeriesBox

Show() public static méthode

Displays a scatter plot.
public static Show ( String title, double>.Func function ) : DataSeriesBox
title String The title for the plot window.
function double>.Func The function to plot.
Résultat DataSeriesBox

Show() public static méthode

Displays a scatter plot.
public static Show ( String title, double>.Func function, DoubleRange range ) : DataSeriesBox
title String The title for the plot window.
function double>.Func The function to plot.
range AForge.DoubleRange The functions argument range to be plotted.
Résultat DataSeriesBox

Show() public static méthode

Displays a scatter plot.
public static Show ( String title, double>.Func function, double step ) : DataSeriesBox
title String The title for the plot window.
function double>.Func The function to plot.
step double The step size to use during plotting.
Résultat DataSeriesBox

Show() public static méthode

Displays a scatter plot.
public static Show ( String title, double>.Func function, double min, double max, double step ) : DataSeriesBox
title String The title for the plot window.
function double>.Func The function to plot.
min double The minimum value for the functions argument parameter.
max double The maximum value for the functions argument parameter.
step double The step size to use during plotting.
Résultat DataSeriesBox

Show() public static méthode

Displays a scatter plot.
public static Show ( String title, double>.Func function, int npoints ) : DataSeriesBox
title String The title for the plot window.
function double>.Func The function to plot.
npoints int The number of points to use during plotting.
Résultat DataSeriesBox

Show() public static méthode

Displays a scatter plot with the specified data.
public static Show ( string title = "Time series" ) : DataSeriesBox
title string The title for the data.
Résultat DataSeriesBox