SeriesInfo
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.
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.
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