Table of Contents

Class Chart2DPresenterBase

Namespace
HeBianGu.Control.Chart2D
Assembly
HeBianGu.Control.Chart2D.dll
public class Chart2DPresenterBase : DesignPresenterBase, INotifyPropertyChanged, IDisplayer, ICloneable
Inheritance
Chart2DPresenterBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

Chart2DPresenterBase()

public Chart2DPresenterBase()

Fields

random

protected static Random random

Field Value

Random

Properties

Data

[Display(Name = "数据值", GroupName = "常用,数据")]
public DoubleCollection Data { get; set; }

Property Value

DoubleCollection

UseGrid

[Display(Name = "显示网格", GroupName = "常用,样式")]
public bool UseGrid { get; set; }

Property Value

bool

UsexAxis

[Display(Name = "显示x坐标", GroupName = "常用,样式")]
public bool UsexAxis { get; set; }

Property Value

bool

UseyAxis

[Display(Name = "显示y坐标", GroupName = "常用,样式")]
public bool UseyAxis { get; set; }

Property Value

bool

drawOnce

[Browsable(false)]
public bool drawOnce { get; set; }

Property Value

bool

xDisplay

[Display(Name = "显示名称", GroupName = "常用,数据")]
[TypeConverter(typeof(DisplayTypeConverter))]
public ObservableCollection<string> xDisplay { get; set; }

Property Value

ObservableCollection<string>

Methods

Load(IEnumerable<double>, double, double, int)

protected IEnumerable<double> Load(IEnumerable<double> data, double max = Infinity, double min = 0, int count = 5)

Parameters

data IEnumerable<double>
max double
min double
count int

Returns

IEnumerable<double>