Class LinePresenter
- Namespace
- HeBianGu.Control.Chart2D
- Assembly
- HeBianGu.Control.Chart2D.dll
public class LinePresenter : Chart2DPresenterBase, INotifyPropertyChanged, IDisplayer, ICloneable
- Inheritance
-
LinePresenter
- Implements
-
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
LinePresenter()
LinePresenter(IEnumerable<double>)
public LinePresenter(IEnumerable<double> data)
Parameters
data
IEnumerable<double>
Properties
MaxValue
[Display(Name = "上限", GroupName = "常用,样式")]
public double MaxValue { get; set; }
Property Value
- double
MinValue
[Display(Name = "下限", GroupName = "常用,样式")]
public double MinValue { get; set; }
Property Value
- double
UseAverageMarkLine
[Display(Name = "均值标记线", GroupName = "常用,样式")]
public bool UseAverageMarkLine { get; set; }
Property Value
- bool
UseLastMarkPositon
[Display(Name = "显示最新值标记点", GroupName = "常用,样式")]
public bool UseLastMarkPositon { get; set; }
Property Value
- bool
UseMaxMarkLine
[Display(Name = "上限标记线", GroupName = "常用,样式")]
public bool UseMaxMarkLine { get; set; }
Property Value
- bool
UseMaxMarkPositon
[Display(Name = "最大值标记点", GroupName = "常用,样式")]
public bool UseMaxMarkPositon { get; set; }
Property Value
- bool
UseMinMarkLine
[Display(Name = "下限标记线", GroupName = "常用,样式")]
public bool UseMinMarkLine { get; set; }
Property Value
- bool
UseMinMarkPositon
[Display(Name = "最小值标记点", GroupName = "常用,样式")]
public bool UseMinMarkPositon { get; set; }
Property Value
- bool
xAxis
[Display(Name = "X轴", GroupName = "常用,数据")]
public DoubleCollection xAxis { get; set; }
Property Value
- DoubleCollection
yAxis
[Display(Name = "Y轴", GroupName = "常用,数据")]
public DoubleCollection yAxis { get; set; }
Property Value
- DoubleCollection
Methods
LoadxAxis(IEnumerable<double>, double, double, int)
public virtual void LoadxAxis(IEnumerable<double> data, double max = Infinity, double min = 0, int count = 5)
Parameters
data
IEnumerable<double>
max
double
min
double
count
int
LoadyAxis(IEnumerable<double>, double, double, int)
public virtual void LoadyAxis(IEnumerable<double> data, double max = Infinity, double min = 0, int count = 5)
Parameters
data
IEnumerable<double>
max
double
min
double
count
int
RefreshData(IEnumerable<double>)
public void RefreshData(IEnumerable<double> data)
Parameters
data
IEnumerable<double>