ChartLineElement

StockSharp.Xaml.Charting

El elemento gráfico que representa una línea.

Hereda de: ChartElement<ChartLineElement>

Implementa: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartLineElement

Constructores

ChartLineElement
public ChartLineElement()
chartLineElement = ChartLineElement()

Inicia una nueva instancia de la ChartLineElement.

Propiedades

AdditionalColor
public Color AdditionalColor { get; set; }
value = chartLineElement.AdditionalColor
chartLineElement.AdditionalColor = value

Color de línea adicional (candelas, etc.), con el que se dibujará en el gráfico.

AntiAliasing
public bool AntiAliasing { get; set; }
value = chartLineElement.AntiAliasing
chartLineElement.AntiAliasing = value

El anti aliado del dibujo de línea. El defecto está habilitado.

Color
public Color Color { get; set; }
value = chartLineElement.Color
chartLineElement.Color = value

Color de línea (candelas, etc.), con el que se dibujará en el gráfico.

DrawnPoints
internal IReadOnlyList<ChartDrawnPoint> DrawnPoints { get; }
value = chartLineElement.DrawnPoints

The points the element has drawn, in the order of the horizontal axis; none before it has been placed on an area.

DrawTemplate
public ControlTemplate DrawTemplate { get; set; }
value = chartLineElement.DrawTemplate
chartLineElement.DrawTemplate = value

La plantilla de gráficos para el estilo Dot DrawStyles.

ShowAxisMarker
public bool ShowAxisMarker { get; set; }
value = chartLineElement.ShowAxisMarker
chartLineElement.ShowAxisMarker = value

Mostrar marcapuntos de eje Y.

StrokeThickness
public int StrokeThickness { get; set; }
value = chartLineElement.StrokeThickness
chartLineElement.StrokeThickness = value

El espesor de la línea (bar, etc.) con la que se dibujará en el gráfico. El valor predeterminado es 1.

Style
public DrawStyles Style { get; set; }
value = chartLineElement.Style
chartLineElement.Style = value

El estilo de dibujo de línea. El predeterminado es Line.

Métodos

CheckAxesCompatible
public override bool CheckAxesCompatible(ChartAxisType? xType, ChartAxisType? yType)
result = chartLineElement.CheckAxesCompatible(xType, yType)

Compruebe si el elemento puede ser dibujado utilizando tipos de eje suministrado.

xType
Tipo X de eje.
yType
Tipo de eje Y.

Devuelve: si se admiten tipos suministrados.

LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartLineElement.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Devuelve: Task

OnDraw
protected override bool OnDraw(ChartDrawData data)
result = chartLineElement.OnDraw(data)

Dibuja sobre el elemento raíz.

data
Datos de dibujo de gráficos.

Devuelve: si los datos se dibujaron con éxito, de lo contrario, devuelve .

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartLineElement.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Devuelve: Task