SeriesInfo

StockSharp.Xaml.Charting

Fornece um ViewModel contendo informações sobre uma série, como nome, valor, cor. SeriesInfo tipos são produzidos pelos RolloverModifier, CursorModifier e LegendModifier. Eles são consumidos pelo UltrachartLegend e podem ser consumidos por um personalizado ItemsControl ligação à coleção de SeriesInfo. Veja o conjunto de exemplos, especificamente RolloverModifier, SciTrader e Legends exemplos para mais informações

Herda de: BindableObject

Implementa: ICloneable

Construtores

SeriesInfo
public SeriesInfo(IRenderableSeries rSeries, HitTestInfo hitTestInfo)
seriesInfo = SeriesInfo(rSeries, hitTestInfo)

Inicializa uma nova instância da classe SeriesInfo.

rSeries
O IRenderableSeries que este SeriesInfo representa.
hitTestInfo
SeriesInfo
public SeriesInfo(IRenderableSeries rSeries)
seriesInfo = SeriesInfo(rSeries)

Inicializa uma nova instância da classe SeriesInfo.

Propriedades

DataSeriesIndex
public int DataSeriesIndex { get; set; }
value = seriesInfo.DataSeriesIndex
seriesInfo.DataSeriesIndex = value

Obtém ou define o DataSeriesIndex a the hit-test site

DataSeriesType
public DataSeriesType DataSeriesType { get; set; }
value = seriesInfo.DataSeriesType
seriesInfo.DataSeriesType = value

Obtém ou define o tipo da série de dados.

FormattedXValue
public string FormattedXValue { get; }
value = seriesInfo.FormattedXValue

Obtém um XValue formatado.

FormattedYValue
public string FormattedYValue { get; }
value = seriesInfo.FormattedYValue

Obtém um YValue formatado.

IsHit
public bool IsHit { get; set; }
value = seriesInfo.IsHit
seriesInfo.IsHit = value

Obter ou definir se a operação HitTest foi um sucesso ou não

IsVisible
public bool IsVisible { get; set; }
value = seriesInfo.IsVisible
seriesInfo.IsVisible = value

Obtém ou define se o IRenderableSeries que este SeriesInforepresenta é visível ou não. NOTA: A configuração deste valor irá mostrar ou ocultar o IRenderableSeries @ associado e poderá estar ligado a dados para

RenderableSeries
public IRenderableSeries RenderableSeries { get; }
value = seriesInfo.RenderableSeries

Obtém a IRenderableSeries instância que esta SeriesInfo envolve

SeriesColor
public Color SeriesColor { get; set; }
value = seriesInfo.SeriesColor
seriesInfo.SeriesColor = value

Obtém ou define a cor da série.

SeriesName
public string SeriesName { get; set; }
value = seriesInfo.SeriesName
seriesInfo.SeriesName = value

Obtém ou define o nome da série.

Value
public double Value { get; set; }
value = seriesInfo.Value
seriesInfo.Value = value

Obtém ou define o valor Y.

XValue
public IComparable XValue { get; set; }
value = seriesInfo.XValue
seriesInfo.XValue = value

Obtém ou define o valor X.

XyCoordinate
public Point XyCoordinate { get; set; }
value = seriesInfo.XyCoordinate
seriesInfo.XyCoordinate = value

Obtém ou define a coordenada xy em pixels do ponto de dados a ser inspeccionado

YValue
public IComparable YValue { get; set; }
value = seriesInfo.YValue
seriesInfo.YValue = value

Obtém ou define o valor Y.

Métodos

Clone
public virtual object Clone()
result = seriesInfo.Clone()

Cria um novo objeto que é uma cópia da instância atual.

Retorna: Um novo objeto que é uma cópia desta instância.

GetXCursorFormattedValue
protected string GetXCursorFormattedValue(IComparable value)
result = seriesInfo.GetXCursorFormattedValue(value)

Devolve um valor formatado usando o formato do eixo X para os cursores

value
O valor a formatar
GetYCursorFormattedValue
protected string GetYCursorFormattedValue(IComparable value)
result = seriesInfo.GetYCursorFormattedValue(value)

Devolve um valor formatado usando o formato do eixo Y para os cursores

value
O valor a formatar