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, IPersistable, 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.

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.

Load
public override void Load(SettingsStorage storage)
chartLineElement.Load(storage)

Ajustes de carga.

storage
Configuración de almacenamiento.
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 .

Save
public override void Save(SettingsStorage storage)
chartLineElement.Save(storage)

Guardar configuración.

storage
Configuración de almacenamiento.