ChartIndicatorElement

StockSharp.Xaml.Charting

The chart element representing the indicator.

Inherits: ChartElement<ChartIndicatorElement>

Implements: IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable

Constructors

ChartIndicatorElement
public ChartIndicatorElement()
chartIndicatorElement = ChartIndicatorElement()

Initializes a new instance of the ChartIndicatorElement.

Properties

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

Compatibility property for AdditionalColor for DefaultPainter.

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

Compatibility property for AntiAliasing.

AutoAssignYAxis
public bool AutoAssignYAxis { get; set; }
value = chartIndicatorElement.AutoAssignYAxis
chartIndicatorElement.AutoAssignYAxis = value

Auto assign Y axis when the element is being added to chart.

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

Compatibility property for Color for DefaultPainter.

DrawStyle
public DrawStyles DrawStyle { get; set; }
value = chartIndicatorElement.DrawStyle
chartIndicatorElement.DrawStyle = value

Compatibility property for Style.

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

Compatibility property for DrawTemplate for DefaultPainter.

IndicatorPainter
public IChartIndicatorPainter IndicatorPainter { get; set; }
value = chartIndicatorElement.IndicatorPainter
chartIndicatorElement.IndicatorPainter = value

The indicator renderer.

Priority
protected override int Priority { get; }
value = chartIndicatorElement.Priority

Gets or sets the priority of this URL relative to other URLs on your site. Valid values range from 0.0 to 1.0. This field is optional, if it is null the default priority of a page is 0.5. This value does not affect how your pages are compared to pages on other sites, it only lets the search engines know which pages you deem most important for the crawlers. Please note that the priority you assign to a page is not likely to influence the position of your URLs in a search engine's result pages. Search engines may use this information when selecting between URLs on the same site, so you can use this tag to increase the likelihood that your most important pages are present in a search index. Also, please note that assigning a high priority to all of the URLs on your site is not likely to help you. Since the priority is relative, it is only used to select between URLs on your site.

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

Compatibility property for ShowAxisMarker.

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

Compatibility property for StrokeThickness.

Methods

CreateClone
protected override ChartIndicatorElement CreateClone()
result = chartIndicatorElement.CreateClone()

Create clone but do not fill out fields/properties.

GetGeneratedTitle
protected override string GetGeneratedTitle()
result = chartIndicatorElement.GetGeneratedTitle()

Get generated title.

Returns: Auto generate chart element title.

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

Asynchronously loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
cancellationToken
A token to monitor for cancellation requests.

Returns: A task that represents the asynchronous load operation.

OnDraw
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 .

OnReset
protected override void OnReset()
chartIndicatorElement.OnReset()

Reset element.

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

Asynchronously saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.
cancellationToken
A token to monitor for cancellation requests.

Returns: A task that represents the asynchronous save operation.

ToString
public override string ToString()
result = chartIndicatorElement.ToString()

Returns a string representation of the tuple, with values separated by commas.

Returns: A string representing the tuple's values.