ChartCandleElement

StockSharp.Xaml.Charting

The chart element representing a candle.

Inherits: ChartElement<ChartCandleElement>

Implements: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable, IChartCandleElement

Constructors

ChartCandleElement
public ChartCandleElement()
chartCandleElement = ChartCandleElement()

Initializes a new instance of the ChartCandleElement.

Properties

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

Candles rendering smoothing (enabled by default).

AreaColor
public Color? AreaColor { get; set; }
value = chartCandleElement.AreaColor
chartCandleElement.AreaColor = value

Area color for DrawStyle set as Area.

BuyColor
public Color? BuyColor { get; set; }
value = chartCandleElement.BuyColor
chartCandleElement.BuyColor = value

Buy volume color.

ClusterColor
public Color? ClusterColor { get; set; }
value = chartCandleElement.ClusterColor
chartCandleElement.ClusterColor = value

Cluster color.

ClusterLineColor
public Color? ClusterLineColor { get; set; }
value = chartCandleElement.ClusterLineColor
chartCandleElement.ClusterLineColor = value

Cluster profile line color.

ClusterMaxColor
public Color? ClusterMaxColor { get; set; }
value = chartCandleElement.ClusterMaxColor
chartCandleElement.ClusterMaxColor = value

Cluster max color.

ClusterSeparatorLineColor
public Color? ClusterSeparatorLineColor { get; set; }
value = chartCandleElement.ClusterSeparatorLineColor
chartCandleElement.ClusterSeparatorLineColor = value

Cluster profile separator line color.

ClusterTextColor
public Color? ClusterTextColor { get; set; }
value = chartCandleElement.ClusterTextColor
chartCandleElement.ClusterTextColor = value

Cluster text color.

Colorer
public Func<DateTime, bool, bool, Color?> Colorer { get; set; }
value = chartCandleElement.Colorer
chartCandleElement.Colorer = value

Custom elements colorer.

DownBorderColor
public Color DownBorderColor { get; set; }
value = chartCandleElement.DownBorderColor
chartCandleElement.DownBorderColor = value

Border color of decreasing candle.

DownColor
public Color? DownColor { get; set; }
value = chartCandleElement.DownColor
chartCandleElement.DownColor = value

Down color

DownFillColor
public Color DownFillColor { get; set; }
value = chartCandleElement.DownFillColor
chartCandleElement.DownFillColor = value

Body color of decreasing candle.

DrawSeparateVolumes
public bool DrawSeparateVolumes { get; set; }
value = chartCandleElement.DrawSeparateVolumes
chartCandleElement.DrawSeparateVolumes = value

Draw Buy and Sell volumes separately.

DrawStyle
public ChartCandleDrawStyles DrawStyle { get; set; }
value = chartCandleElement.DrawStyle
chartCandleElement.DrawStyle = value

Style of candles rendering.

FontColor
public Color? FontColor { get; set; }
value = chartCandleElement.FontColor
chartCandleElement.FontColor = value

Font color.

FontFamily
public string FontFamily { get; set; }
value = chartCandleElement.FontFamily
chartCandleElement.FontFamily = value

Font family for cluster text.

FontSize
public decimal FontSize { get; set; }
value = chartCandleElement.FontSize
chartCandleElement.FontSize = value

Font size for cluster text.

FontWeight
public FontWeight FontWeight { get; set; }
value = chartCandleElement.FontWeight
chartCandleElement.FontWeight = value

Font weight for cluster text.

HorizontalVolumeColor
public Color? HorizontalVolumeColor { get; set; }
value = chartCandleElement.HorizontalVolumeColor
chartCandleElement.HorizontalVolumeColor = value

Horizontal volume color.

HorizontalVolumeFontColor
public Color? HorizontalVolumeFontColor { get; set; }
value = chartCandleElement.HorizontalVolumeFontColor
chartCandleElement.HorizontalVolumeFontColor = value

Horizontal volume font color.

HorizontalVolumeWidthFraction
public double HorizontalVolumeWidthFraction { get; set; }
value = chartCandleElement.HorizontalVolumeWidthFraction
chartCandleElement.HorizontalVolumeWidthFraction = value

Horizontal volume width fraction.

LineColor
public Color? LineColor { get; set; }
value = chartCandleElement.LineColor
chartCandleElement.LineColor = value

Line color for DrawStyle Line*.

LocalHorizontalVolumes
public bool LocalHorizontalVolumes { get; set; }
value = chartCandleElement.LocalHorizontalVolumes
chartCandleElement.LocalHorizontalVolumes = value

Local horizontal volume.

MaxVolumeBackground
public Color? MaxVolumeBackground { get; set; }
value = chartCandleElement.MaxVolumeBackground
chartCandleElement.MaxVolumeBackground = value

Max volume background.

MaxVolumeColor
public Color? MaxVolumeColor { get; set; }
value = chartCandleElement.MaxVolumeColor
chartCandleElement.MaxVolumeColor = value

Max volume foreground.

PriceStep
public decimal? PriceStep { get; set; }
value = chartCandleElement.PriceStep
chartCandleElement.PriceStep = value

Price step for group volumes. means no grouping.

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

News priority.

SellColor
public Color? SellColor { get; set; }
value = chartCandleElement.SellColor
chartCandleElement.SellColor = value

Sell volume color.

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

Show Y-axis market.

ShowHorizontalVolumes
public bool ShowHorizontalVolumes { get; set; }
value = chartCandleElement.ShowHorizontalVolumes
chartCandleElement.ShowHorizontalVolumes = value

Show horizontal volume.

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

Line width (bar or border), with which candle will be drawn on chart.

Timeframe2Color
public Color? Timeframe2Color { get; set; }
value = chartCandleElement.Timeframe2Color
chartCandleElement.Timeframe2Color = value

Timeframe #2 color.

Timeframe2FrameColor
public Color? Timeframe2FrameColor { get; set; }
value = chartCandleElement.Timeframe2FrameColor
chartCandleElement.Timeframe2FrameColor = value

Timeframe #2 frame color.

Timeframe2Multiplier
public int? Timeframe2Multiplier { get; set; }
value = chartCandleElement.Timeframe2Multiplier
chartCandleElement.Timeframe2Multiplier = value

Timeframe #2 multiplier.

Timeframe3Color
public Color? Timeframe3Color { get; set; }
value = chartCandleElement.Timeframe3Color
chartCandleElement.Timeframe3Color = value

Timeframe #3 color.

Timeframe3Multiplier
public int? Timeframe3Multiplier { get; set; }
value = chartCandleElement.Timeframe3Multiplier
chartCandleElement.Timeframe3Multiplier = value

Timeframe #3 multiplier.

UpBorderColor
public Color UpBorderColor { get; set; }
value = chartCandleElement.UpBorderColor
chartCandleElement.UpBorderColor = value

Border color of increasing candle.

UpColor
public Color? UpColor { get; set; }
value = chartCandleElement.UpColor
chartCandleElement.UpColor = value

Up color

UpFillColor
public Color UpFillColor { get; set; }
value = chartCandleElement.UpFillColor
chartCandleElement.UpFillColor = value

Body color of increasing candle.

Methods

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

Get generated title.

Returns: Auto generate chart element title.

Load
public override void Load(SettingsStorage storage)
chartCandleElement.Load(storage)

Load settings.

storage
Settings storage.
OnDraw
protected override bool OnDraw(ChartDrawData data)
result = chartCandleElement.OnDraw(data)

Draw on root element.

data
Chart drawing data.

Returns: if the data was successfully drawn, otherwise, returns .

Save
public override void Save(SettingsStorage storage)
chartCandleElement.Save(storage)

Save settings.

storage
Settings storage.