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
Datei anzeigen Open project: accord-net/framework Class Usage Examples

Public Methods

Method 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

Method 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 method

Holds the execution until the window has been closed.
public Hold ( ) : void
return void

SetGraph() public method

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

SetLabels() public method

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.
return DataSeriesBox

SetTitle() public method

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

Show() public static method

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

Show() public static method

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

Show() public static method

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.
return DataSeriesBox

Show() public static method

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.
return DataSeriesBox

Show() public static method

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.
return DataSeriesBox

Show() public static method

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.
return DataSeriesBox

Show() public static method

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.
return DataSeriesBox

Show() public static method

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