ChartIndicatorElement
Элемент диаграммы, представляющий индикатор.
Наследует: ChartElement<ChartIndicatorElement>
Реализует: IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable
Конструкторы
public ChartIndicatorElement()
chartIndicatorElement = ChartIndicatorElement()
Инициализирует новый экземпляр ChartIndicatorElement.
Свойства
public Color AdditionalColor { get; set; }
value = chartIndicatorElement.AdditionalColor
chartIndicatorElement.AdditionalColor = value
Совместимость свойств для AdditionalColor для DefaultPainter.
public bool AntiAliasing { get; set; }
value = chartIndicatorElement.AntiAliasing
chartIndicatorElement.AntiAliasing = value
Свечи, сглаживающие сглаживание (включаются по умолчанию).
public bool AutoAssignYAxis { get; set; }
value = chartIndicatorElement.AutoAssignYAxis
chartIndicatorElement.AutoAssignYAxis = value
Автоприсвоение оси Y, когда элемент добавляется в график.
public Color Color { get; set; }
value = chartIndicatorElement.Color
chartIndicatorElement.Color = value
Совместимость свойств для цвета для DefaultPainter.
public DrawStyles DrawStyle { get; set; }
value = chartIndicatorElement.DrawStyle
chartIndicatorElement.DrawStyle = value
Стиль рендеринга свечей.
public ControlTemplate DrawTemplate { get; set; }
value = chartIndicatorElement.DrawTemplate
chartIndicatorElement.DrawTemplate = value
Совместимость свойств для DrawTemplate для DefaultPainter.
public IChartIndicatorPainter IndicatorPainter { get; set; }
value = chartIndicatorElement.IndicatorPainter
chartIndicatorElement.IndicatorPainter = value
Индикаторный рендерер.
protected override int Priority { get; }
value = chartIndicatorElement.Priority
Приоритет новостей.
public bool ShowAxisMarker { get; set; }
value = chartIndicatorElement.ShowAxisMarker
chartIndicatorElement.ShowAxisMarker = value
Показать маркер оси Y.
public int StrokeThickness { get; set; }
value = chartIndicatorElement.StrokeThickness
chartIndicatorElement.StrokeThickness = value
Ширина линии (бар или граница), с которой начертится свеча на графике.
Методы
protected override ChartIndicatorElement CreateClone()
result = chartIndicatorElement.CreateClone()
Создать объект-клон (неинициализированный).
Возвращает: Стратегия
protected override string GetGeneratedTitle()
result = chartIndicatorElement.GetGeneratedTitle()
Получить сгенерированный заголовок.
Возвращает: Автоматическое создание заголовка элемента диаграммы.
public override void Load(SettingsStorage storage)
chartIndicatorElement.Load(storage)
Загрузить настройки.
- storage
- Хранилище настроек.
protected override bool OnDraw(ChartDrawData data)
result = chartIndicatorElement.OnDraw(data)
Нарисуйте корневой элемент.
- data
- Данные для рисования диаграммы.
Возвращает: если данные были успешно нарисованы, в противном случае возвращается .
public override void Save(SettingsStorage storage)
chartIndicatorElement.Save(storage)
Сохраните настройки.
- storage
- Хранилище настроек.
public override string ToString()
result = chartIndicatorElement.ToString()
Преобразовать к строковому представлению.
Возвращает: Строковое представление.