Table of Contents

Class ChartData

Namespace
HeBianGu.Control.Chart2D
Assembly
HeBianGu.Control.Chart2D.dll

说明

public class ChartData : NotifyPropertyChangedBase, INotifyPropertyChanged
Inheritance
ChartData
Implements
Inherited Members
Extension Methods

Properties

SeriesDatas

public ObservableCollection<ISeriesData> SeriesDatas { get; set; }

Property Value

ObservableCollection<ISeriesData>

xAxis

说明

public DoubleCollection xAxis { get; set; }

Property Value

DoubleCollection

xDisplay

说明

public ObservableCollection<string> xDisplay { get; set; }

Property Value

ObservableCollection<string>

yAxis

说明

public DoubleCollection yAxis { get; set; }

Property Value

DoubleCollection

yDisplay

说明

public ObservableCollection<string> yDisplay { get; set; }

Property Value

ObservableCollection<string>

Methods

Build(IEnumerable<Tuple<DateTime, double>>, string)

public void Build(IEnumerable<Tuple<DateTime, double>> collection, string format = "yyyy-MM-dd")

Parameters

collection IEnumerable<Tuple<DateTime, double>>
format string

Build(IEnumerable<Tuple<double, double>>)

public void Build(IEnumerable<Tuple<double, double>> collection)

Parameters

collection IEnumerable<Tuple<double, double>>

Build(IEnumerable<Tuple<string, double>>)

public void Build(IEnumerable<Tuple<string, double>> collection)

Parameters

collection IEnumerable<Tuple<string, double>>

BuildyAxis(double, double, int)

public void BuildyAxis(double min, double max, int count = 5)

Parameters

min double
max double
count int