SeriesInfo

StockSharp.Xaml.Charting

Provides a ViewModel containing info about a series, such as name, value, color. SeriesInfo types are produced by the RolloverModifier, CursorModifier and LegendModifier. They are consumed by the UltrachartLegend and may be consumed by a custom ItemsControl binding to collection of SeriesInfo. See the examples suite, specifically RolloverModifier, SciTrader and Legends examples for more information

継承元: BindableObject

実装: ICloneable

コンストラクター

SeriesInfo(IRenderableSeries, HitTestInfo)

Initializes a new instance of the SeriesInfo class.

rSeries
The IRenderableSeries that this SeriesInfo represents.
hitTestInfo
SeriesInfo(IRenderableSeries)

Initializes a new instance of the SeriesInfo class.

プロパティ

DataSeriesIndex : int

Gets or sets the DataSeriesIndex a the hit-test site

DataSeriesType : DataSeriesType

Gets or sets the type of the data series.

FormattedXValue : string

Gets a formatted XValue.

FormattedYValue : string

Gets a formatted YValue.

IsHit : bool

Get or sets whether the HitTest operation was a hit or not

IsVisible : bool

Gets or sets whether the IRenderableSeries that this SeriesInfo represents is visible or not. NOTE: Setting this value will show or hide the associated IRenderableSeries and may be data-bound to

RenderableSeries : IRenderableSeries

Gets the IRenderableSeries instance which this SeriesInfo wraps

SeriesColor : Color

Gets or sets the color of the series.

SeriesName : string

Gets or sets the name of the series.

Value : double

Gets or sets the Y-value.

XValue : IComparable

Gets or sets the X-value.

XyCoordinate : Point

Gets or sets the xy coordinate in pixels of the data-point being inspected

YValue : IComparable

Gets or sets the Y-value.

メソッド

Clone() : object

Creates a new object that is a copy of the current instance.

戻り値: A new object that is a copy of this instance.

GetXCursorFormattedValue(IComparable) : string

Returns a value formatted using X axis format for cursors

value
The value to format
GetYCursorFormattedValue(IComparable) : string

Returns a value formatted using Y axis format for cursors

value
The value to format