ChartLineElement
El elemento gráfico que representa una línea.
Hereda de: ChartElement<ChartLineElement>
Implementa: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable, IChartLineElement
Constructores
public ChartLineElement()
chartLineElement = ChartLineElement()
Inicia una nueva instancia de la ChartLineElement.
Propiedades
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.
public bool AntiAliasing { get; set; }
value = chartLineElement.AntiAliasing
chartLineElement.AntiAliasing = value
El anti aliado del dibujo de línea. El defecto está habilitado.
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.
public ControlTemplate DrawTemplate { get; set; }
value = chartLineElement.DrawTemplate
chartLineElement.DrawTemplate = value
La plantilla de gráficos para el estilo Dot DrawStyles.
public bool ShowAxisMarker { get; set; }
value = chartLineElement.ShowAxisMarker
chartLineElement.ShowAxisMarker = value
Mostrar marcapuntos de eje Y.
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.
public DrawStyles Style { get; set; }
value = chartLineElement.Style
chartLineElement.Style = value
El estilo de dibujo de línea. El predeterminado es Line.
Métodos
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.
public override void Load(SettingsStorage storage)
chartLineElement.Load(storage)
Ajustes de carga.
- storage
- Configuración de almacenamiento.
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 .
public override void Save(SettingsStorage storage)
chartLineElement.Save(storage)
Guardar configuración.
- storage
- Configuración de almacenamiento.