ChartIndicatorElement
The chart element representing the indicator.
Inherits: ChartElement<ChartIndicatorElement>
Implements: IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable
Constructors
public ChartIndicatorElement()
chartIndicatorElement = ChartIndicatorElement()
Initializes a new instance of the ChartIndicatorElement.
Properties
public Color AdditionalColor { get; set; }
value = chartIndicatorElement.AdditionalColor
chartIndicatorElement.AdditionalColor = value
Compatibility property for AdditionalColor for DefaultPainter.
public bool AntiAliasing { get; set; }
value = chartIndicatorElement.AntiAliasing
chartIndicatorElement.AntiAliasing = value
Compatibility property for AntiAliasing.
public bool AutoAssignYAxis { get; set; }
value = chartIndicatorElement.AutoAssignYAxis
chartIndicatorElement.AutoAssignYAxis = value
Auto assign Y axis when the element is being added to chart.
public Color Color { get; set; }
value = chartIndicatorElement.Color
chartIndicatorElement.Color = value
Compatibility property for Color for DefaultPainter.
public DrawStyles DrawStyle { get; set; }
value = chartIndicatorElement.DrawStyle
chartIndicatorElement.DrawStyle = value
Compatibility property for Style.
public ControlTemplate DrawTemplate { get; set; }
value = chartIndicatorElement.DrawTemplate
chartIndicatorElement.DrawTemplate = value
Compatibility property for DrawTemplate for DefaultPainter.
public IChartIndicatorPainter IndicatorPainter { get; set; }
value = chartIndicatorElement.IndicatorPainter
chartIndicatorElement.IndicatorPainter = value
The indicator renderer.
protected override int Priority { get; }
value = chartIndicatorElement.Priority
News priority.
public bool ShowAxisMarker { get; set; }
value = chartIndicatorElement.ShowAxisMarker
chartIndicatorElement.ShowAxisMarker = value
Compatibility property for ShowAxisMarker.
public int StrokeThickness { get; set; }
value = chartIndicatorElement.StrokeThickness
chartIndicatorElement.StrokeThickness = value
Compatibility property for StrokeThickness.
Methods
protected override ChartIndicatorElement CreateClone()
result = chartIndicatorElement.CreateClone()
Create clone but do not fill out fields/properties.
protected override string GetGeneratedTitle()
result = chartIndicatorElement.GetGeneratedTitle()
Get generated title.
Returns: Auto generate chart element title.
public override void Load(SettingsStorage storage)
chartIndicatorElement.Load(storage)
Load settings.
- storage
- Settings storage.
protected override bool OnDraw(ChartDrawData data)
result = chartIndicatorElement.OnDraw(data)
Draw on root element.
- data
- Chart drawing data.
Returns: if the data was successfully drawn, otherwise, returns .
public override void Save(SettingsStorage storage)
chartIndicatorElement.Save(storage)
Save settings.
- storage
- Settings storage.
public override string ToString()
result = chartIndicatorElement.ToString()
Преобразовать к строковому представлению.
Returns: Строковое представление.