ChartIndicatorElement

StockSharp.Xaml.Charting

Элемент диаграммы, представляющий индикатор.

Наследует: ChartElement<ChartIndicatorElement>

Реализует: IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable

Конструкторы

ChartIndicatorElement
public ChartIndicatorElement()
chartIndicatorElement = ChartIndicatorElement()

Инициализирует новый экземпляр ChartIndicatorElement.

Свойства

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

Совместимость свойств для AdditionalColor для DefaultPainter.

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

Свечи, сглаживающие сглаживание (включаются по умолчанию).

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

Автоприсвоение оси Y, когда элемент добавляется в график.

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

Совместимость свойств для цвета для DefaultPainter.

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

Стиль рендеринга свечей.

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

Совместимость свойств для DrawTemplate для DefaultPainter.

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

Индикаторный рендерер.

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

Приоритет новостей.

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

Показать маркер оси Y.

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

Ширина линии (бар или граница), с которой начертится свеча на графике.

Методы

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

Создать объект-клон (неинициализированный).

Возвращает: Стратегия

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

Получить сгенерированный заголовок.

Возвращает: Автоматическое создание заголовка элемента диаграммы.

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.

Возвращает: A task that represents the asynchronous load operation.

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

Нарисуйте корневой элемент.

data
Данные для рисования диаграммы.

Возвращает: если данные были успешно нарисованы, в противном случае возвращается .

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

Сбросить состояние.

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.

Возвращает: A task that represents the asynchronous save operation.

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

Преобразовать к строковому представлению.

Возвращает: Строковое представление.