ChartCandleElement
The chart element representing a candle.
Inherits: ChartElement<ChartCandleElement>
Implements: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable, IChartCandleElement
Constructors
public ChartCandleElement()
chartCandleElement = ChartCandleElement()
Initializes a new instance of the ChartCandleElement.
Properties
public bool AntiAliasing { get; set; }
value = chartCandleElement.AntiAliasing
chartCandleElement.AntiAliasing = value
Candles rendering smoothing (enabled by default).
public Color? AreaColor { get; set; }
value = chartCandleElement.AreaColor
chartCandleElement.AreaColor = value
Area color for DrawStyle set as Area.
public Color? BuyColor { get; set; }
value = chartCandleElement.BuyColor
chartCandleElement.BuyColor = value
Buy volume color.
public Color? ClusterColor { get; set; }
value = chartCandleElement.ClusterColor
chartCandleElement.ClusterColor = value
Cluster color.
public Color? ClusterLineColor { get; set; }
value = chartCandleElement.ClusterLineColor
chartCandleElement.ClusterLineColor = value
Cluster profile line color.
public Color? ClusterMaxColor { get; set; }
value = chartCandleElement.ClusterMaxColor
chartCandleElement.ClusterMaxColor = value
Cluster max color.
public Color? ClusterSeparatorLineColor { get; set; }
value = chartCandleElement.ClusterSeparatorLineColor
chartCandleElement.ClusterSeparatorLineColor = value
Cluster profile separator line color.
public Color? ClusterTextColor { get; set; }
value = chartCandleElement.ClusterTextColor
chartCandleElement.ClusterTextColor = value
Cluster text color.
public Func<DateTime, bool, bool, Color?> Colorer { get; set; }
value = chartCandleElement.Colorer
chartCandleElement.Colorer = value
Custom elements colorer.
public Color DownBorderColor { get; set; }
value = chartCandleElement.DownBorderColor
chartCandleElement.DownBorderColor = value
Border color of decreasing candle.
public Color? DownColor { get; set; }
value = chartCandleElement.DownColor
chartCandleElement.DownColor = value
Down color
public Color DownFillColor { get; set; }
value = chartCandleElement.DownFillColor
chartCandleElement.DownFillColor = value
Body color of decreasing candle.
public bool DrawSeparateVolumes { get; set; }
value = chartCandleElement.DrawSeparateVolumes
chartCandleElement.DrawSeparateVolumes = value
Draw Buy and Sell volumes separately.
public ChartCandleDrawStyles DrawStyle { get; set; }
value = chartCandleElement.DrawStyle
chartCandleElement.DrawStyle = value
Style of candles rendering.
public Color? FontColor { get; set; }
value = chartCandleElement.FontColor
chartCandleElement.FontColor = value
Font color.
public string FontFamily { get; set; }
value = chartCandleElement.FontFamily
chartCandleElement.FontFamily = value
Font family for cluster text.
public decimal FontSize { get; set; }
value = chartCandleElement.FontSize
chartCandleElement.FontSize = value
Font size for cluster text.
public FontWeight FontWeight { get; set; }
value = chartCandleElement.FontWeight
chartCandleElement.FontWeight = value
Font weight for cluster text.
public Color? HorizontalVolumeColor { get; set; }
value = chartCandleElement.HorizontalVolumeColor
chartCandleElement.HorizontalVolumeColor = value
Horizontal volume color.
public Color? HorizontalVolumeFontColor { get; set; }
value = chartCandleElement.HorizontalVolumeFontColor
chartCandleElement.HorizontalVolumeFontColor = value
Horizontal volume font color.
public double HorizontalVolumeWidthFraction { get; set; }
value = chartCandleElement.HorizontalVolumeWidthFraction
chartCandleElement.HorizontalVolumeWidthFraction = value
Horizontal volume width fraction.
public Color? LineColor { get; set; }
value = chartCandleElement.LineColor
chartCandleElement.LineColor = value
Line color for DrawStyle Line*.
public bool LocalHorizontalVolumes { get; set; }
value = chartCandleElement.LocalHorizontalVolumes
chartCandleElement.LocalHorizontalVolumes = value
Local horizontal volume.
public Color? MaxVolumeBackground { get; set; }
value = chartCandleElement.MaxVolumeBackground
chartCandleElement.MaxVolumeBackground = value
Max volume background.
public Color? MaxVolumeColor { get; set; }
value = chartCandleElement.MaxVolumeColor
chartCandleElement.MaxVolumeColor = value
Max volume foreground.
public decimal? PriceStep { get; set; }
value = chartCandleElement.PriceStep
chartCandleElement.PriceStep = value
Price step for group volumes. means no grouping.
protected override int Priority { get; }
value = chartCandleElement.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.
public Color? SellColor { get; set; }
value = chartCandleElement.SellColor
chartCandleElement.SellColor = value
Sell volume color.
public bool ShowAxisMarker { get; set; }
value = chartCandleElement.ShowAxisMarker
chartCandleElement.ShowAxisMarker = value
Show Y-axis market.
public bool ShowHorizontalVolumes { get; set; }
value = chartCandleElement.ShowHorizontalVolumes
chartCandleElement.ShowHorizontalVolumes = value
Show horizontal volume.
public int StrokeThickness { get; set; }
value = chartCandleElement.StrokeThickness
chartCandleElement.StrokeThickness = value
Line width (bar or border), with which candle will be drawn on chart.
public Color? Timeframe2Color { get; set; }
value = chartCandleElement.Timeframe2Color
chartCandleElement.Timeframe2Color = value
Timeframe #2 color.
public Color? Timeframe2FrameColor { get; set; }
value = chartCandleElement.Timeframe2FrameColor
chartCandleElement.Timeframe2FrameColor = value
Timeframe #2 frame color.
public int? Timeframe2Multiplier { get; set; }
value = chartCandleElement.Timeframe2Multiplier
chartCandleElement.Timeframe2Multiplier = value
Timeframe #2 multiplier.
public Color? Timeframe3Color { get; set; }
value = chartCandleElement.Timeframe3Color
chartCandleElement.Timeframe3Color = value
Timeframe #3 color.
public int? Timeframe3Multiplier { get; set; }
value = chartCandleElement.Timeframe3Multiplier
chartCandleElement.Timeframe3Multiplier = value
Timeframe #3 multiplier.
public Color UpBorderColor { get; set; }
value = chartCandleElement.UpBorderColor
chartCandleElement.UpBorderColor = value
Border color of increasing candle.
public Color? UpColor { get; set; }
value = chartCandleElement.UpColor
chartCandleElement.UpColor = value
Up color
public Color UpFillColor { get; set; }
value = chartCandleElement.UpFillColor
chartCandleElement.UpFillColor = value
Body color of increasing candle.
Methods
protected override string GetGeneratedTitle()
result = chartCandleElement.GetGeneratedTitle()
Get generated title.
Returns: Auto generate chart element title.
public override void Load(SettingsStorage storage)
chartCandleElement.Load(storage)
Loads the state of the object from the specified SettingsStorage.
- storage
- The SettingsStorage instance from which to load the data.
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 .
public override void Save(SettingsStorage storage)
chartCandleElement.Save(storage)
Saves the state of the object to the specified SettingsStorage.
- storage
- The SettingsStorage instance to which to save the data.