Class VolumePainter
Элемент графика для VolumeIndicator.
Inherited Members
Namespace: StockSharp.Xaml.Charting.IndicatorPainters
Assembly: StockSharp.Xaml.Charting.dll
Syntax
[Indicator]
public class VolumePainter : BaseChartIndicatorPainter<VolumeIndicator>, IChartIndicatorPainter, IPersistable
Constructors
VolumePainter()
Создать объект.
Declaration
public VolumePainter()
Properties
DownVolume
Down line color.
Declaration
public ChartLineElement DownVolume { get; }
Property Value
Type | Description |
---|---|
ChartLineElement |
UpVolume
Up line color.
Declaration
public ChartLineElement UpVolume { get; }
Property Value
Type | Description |
---|---|
ChartLineElement |
Methods
Load(SettingsStorage)
Загрузить настройки.
Declaration
public override void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
StockSharp.Xaml.Charting.IndicatorPainters.BaseChartIndicatorPainter<StockSharp.Algo.Indicators.VolumeIndicator>.Load(Ecng.Serialization.SettingsStorage)
OnDraw(VolumeIndicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>>)
Отрисовать значения на графике.
Declaration
protected override bool OnDraw(VolumeIndicator indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)
Parameters
Type | Name | Description |
---|---|---|
VolumeIndicator | indicator | |
IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> | data | Значения индикатора для отрисовки на графике. |
Returns
Type | Description |
---|---|
Boolean | true если данные были успешно отрисованы, иначе, возвращается false. |
Overrides
StockSharp.Xaml.Charting.IndicatorPainters.BaseChartIndicatorPainter<StockSharp.Algo.Indicators.VolumeIndicator>.OnDraw(StockSharp.Algo.Indicators.VolumeIndicator, System.Collections.Generic.IDictionary<StockSharp.Algo.Indicators.IIndicator, System.Collections.Generic.IList<StockSharp.Xaml.Charting.ChartDrawData.IndicatorData>>)
Save(SettingsStorage)
Сохранить настройки.
Declaration
public override void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
StockSharp.Xaml.Charting.IndicatorPainters.BaseChartIndicatorPainter<StockSharp.Algo.Indicators.VolumeIndicator>.Save(Ecng.Serialization.SettingsStorage)
Implements
Ecng.Serialization.IPersistable