Interface IOperationsLine2DViewModelBase
Last update: 03.07.2024
Interface IOperationsLine2DViewModelBase
Namespace: VM.Operations.Post.Interfaces
Assembly: VM.Operations.Post.dll
public interface IOperationsLine2DViewModelBase : IOperationsBase
Implements
Properties
Background
Get or Set the background.
Color Background { get; set; }
Property Value
BorderColor
Get or Set the border color.
Color BorderColor { get; set; }
Property Value
ChartAxisType
Get or Set the type of Chart Axis. It has Single, Multiple.
ChartAxisType ChartAxisType { get; set; }
Property Value
ChartAxisType
ChartTitle
Get or Set the title of the chart.
string ChartTitle { get; set; }
Property Value
FontColor
Get or Set the font color.
Color FontColor { get; set; }
Property Value
FontFace
Get or Set font face.
FontFamily FontFace { get; set; }
Property Value
FontSize
Get or Set font size.
double FontSize { get; set; }
Property Value
FontStyle
Get or Set font style.
FontStyle FontStyle { get; set; }
Property Value
FontWeight
Get or Set font weight.
FontWeight FontWeight { get; set; }
Property Value
Methods
AddCurves(string, PlotParameters)
Add data series to plot view by the path of the result.
IEnumerable<IOperationsLineDataSeriesViewModelBase> AddCurves(string filepath, PlotParameters parameters)
Parameters
filepath
string
The path of the result to access.
parameters
PlotParameters
The class used as a parameter of the AddCurve function.
Returns
IEnumerable<IOperationsLineDataSeriesViewModelBase>
The instance of the curves.
ExportAllCurves(string)
Export all curves on active view.
void ExportAllCurves(string filepath)
Parameters
filepath
string
the path of save
ExportAllDataSeries()
Export all curves on active view.
void ExportAllDataSeries()
GetCurve(string)
Get the instance of the curve by the name of curve.
IOperationsLineDataSeriesViewModelBase GetCurve(string name)
Parameters
name
string
The name of the curve.
Returns
IOperationsLineDataSeriesViewModelBase
The instance of the curve.
GetCurveByID(string)
Get the instance of the curve by the id of curve.
IOperationsLineDataSeriesViewModelBase GetCurveByID(string id)
Parameters
id
string
The identification.
Returns
IOperationsLineDataSeriesViewModelBase
The instance of the curve.
GetCurveNameList()
Get name of the curves on active view.
IEnumerable<string> GetCurveNameList()
Returns
The names of the curves on active view.
GetCurves()
Get the instances of the curves on active view.
IEnumerable<IOperationsLineDataSeriesViewModelBase> GetCurves()
Returns
IEnumerable<IOperationsLineDataSeriesViewModelBase>
The instances of the curves.
GetCurves(string)
Get the instances of the curves include specified characters on active view.
IEnumerable<IOperationsLineDataSeriesViewModelBase> GetCurves(string name)
Parameters
name
string
a specified character in curve name.
Returns
IEnumerable<IOperationsLineDataSeriesViewModelBase>
The instances of the curves.
GetLastCurve()
Get end of the curve on active view.
IOperationsLineDataSeriesViewModelBase GetLastCurve()
Returns
IOperationsLineDataSeriesViewModelBase
The last instance of curves.
Remove(string)
Remove curve by the name of the curve.
void Remove(string name)
Parameters
name
string
The name of the curve to remove.
Remove(IOperationsLineDataSeriesViewModelBase)
Remove curve by the instance of the curve.
void Remove(IOperationsLineDataSeriesViewModelBase curve)
Parameters
curve
IOperationsLineDataSeriesViewModelBase
The instance of the curve.