ChartCandleElement
代表蜡烛的图表元素.
继承自: ChartElement<ChartCandleElement>
实现: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartCandleElement
构造函数
public ChartCandleElement()
chartCandleElement = ChartCandleElement()
初始化了 & ##ChartCandleElement+#的新实例.
属性
public bool AntiAliasing { get; set; }
value = chartCandleElement.AntiAliasing
chartCandleElement.AntiAliasing = value
蜡烛渲染平滑(默认启用).
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
活动状态下购买顺序的颜色 。
public Color? ClusterColor { get; set; }
value = chartCandleElement.ClusterColor
chartCandleElement.ClusterColor = value
组分颜色.
public Color? ClusterLineColor { get; set; }
value = chartCandleElement.ClusterLineColor
chartCandleElement.ClusterLineColor = value
集群剖面线颜色.
public Color? ClusterMaxColor { get; set; }
value = chartCandleElement.ClusterMaxColor
chartCandleElement.ClusterMaxColor = value
组最大颜色 。
public Color? ClusterSeparatorLineColor { get; set; }
value = chartCandleElement.ClusterSeparatorLineColor
chartCandleElement.ClusterSeparatorLineColor = value
集群配置分隔线颜色.
public Color? ClusterTextColor { get; set; }
value = chartCandleElement.ClusterTextColor
chartCandleElement.ClusterTextColor = value
组图文字颜色.
public Func<DateTime, bool, bool, Color?> Colorer { get; set; }
value = chartCandleElement.Colorer
chartCandleElement.Colorer = value
自定义元素颜色器 。
public Color DownBorderColor { get; set; }
value = chartCandleElement.DownBorderColor
chartCandleElement.DownBorderColor = value
边色为减少的蜡烛.
public Color? DownColor { get; set; }
value = chartCandleElement.DownColor
chartCandleElement.DownColor = value
下调颜色
public Color DownFillColor { get; set; }
value = chartCandleElement.DownFillColor
chartCandleElement.DownFillColor = value
身体颜色 减少蜡烛。
internal IReadOnlyList<ChartDrawnCandle> DrawnCandles { get; }
value = chartCandleElement.DrawnCandles
The candles the element has drawn, oldest first; none before it has been placed on an area.
public bool DrawSeparateVolumes { get; set; }
value = chartCandleElement.DrawSeparateVolumes
chartCandleElement.DrawSeparateVolumes = value
分别画出买卖卷.
public ChartCandleDrawStyles DrawStyle { get; set; }
value = chartCandleElement.DrawStyle
chartCandleElement.DrawStyle = value
蜡烛的作风
public Color? FontColor { get; set; }
value = chartCandleElement.FontColor
chartCandleElement.FontColor = value
字体颜色。
public string FontFamily { get; set; }
value = chartCandleElement.FontFamily
chartCandleElement.FontFamily = value
集群文本的字体家族 。
public decimal FontSize { get; set; }
value = chartCandleElement.FontSize
chartCandleElement.FontSize = value
集群文本的字体大小 。
public FontWeight FontWeight { get; set; }
value = chartCandleElement.FontWeight
chartCandleElement.FontWeight = value
集群文字的字体重。
public Color? HorizontalVolumeColor { get; set; }
value = chartCandleElement.HorizontalVolumeColor
chartCandleElement.HorizontalVolumeColor = value
水平音量颜色。
public Color? HorizontalVolumeFontColor { get; set; }
value = chartCandleElement.HorizontalVolumeFontColor
chartCandleElement.HorizontalVolumeFontColor = value
水平音量字体颜色 。
public double HorizontalVolumeWidthFraction { get; set; }
value = chartCandleElement.HorizontalVolumeWidthFraction
chartCandleElement.HorizontalVolumeWidthFraction = value
水平音量宽度分数 。
public Color? LineColor { get; set; }
value = chartCandleElement.LineColor
chartCandleElement.LineColor = value
DrawStyle线的行色*.
public bool LocalHorizontalVolumes { get; set; }
value = chartCandleElement.LocalHorizontalVolumes
chartCandleElement.LocalHorizontalVolumes = value
局部水平体积.
public Color? MaxVolumeBackground { get; set; }
value = chartCandleElement.MaxVolumeBackground
chartCandleElement.MaxVolumeBackground = value
最大音量背景.
public Color? MaxVolumeColor { get; set; }
value = chartCandleElement.MaxVolumeColor
chartCandleElement.MaxVolumeColor = value
最大卷前地.
public decimal? PriceStep { get; set; }
value = chartCandleElement.PriceStep
chartCandleElement.PriceStep = value
Value PriceStep at day Date.
public Color? SellColor { get; set; }
value = chartCandleElement.SellColor
chartCandleElement.SellColor = value
活动状态下的销售顺序颜色 。
public bool ShowAxisMarker { get; set; }
value = chartCandleElement.ShowAxisMarker
chartCandleElement.ShowAxisMarker = value
显示Y轴市场.
public bool ShowHorizontalVolumes { get; set; }
value = chartCandleElement.ShowHorizontalVolumes
chartCandleElement.ShowHorizontalVolumes = value
显示水平音量。
public int StrokeThickness { get; set; }
value = chartCandleElement.StrokeThickness
chartCandleElement.StrokeThickness = value
线宽( 栏或边框) , 将绘制图表上的蜡烛 。
public Color? Timeframe2Color { get; set; }
value = chartCandleElement.Timeframe2Color
chartCandleElement.Timeframe2Color = value
时间范围为2 个颜色.
public Color? Timeframe2FrameColor { get; set; }
value = chartCandleElement.Timeframe2FrameColor
chartCandleElement.Timeframe2FrameColor = value
时间框架#2帧颜色.
public int? Timeframe2Multiplier { get; set; }
value = chartCandleElement.Timeframe2Multiplier
chartCandleElement.Timeframe2Multiplier = value
时间范围2乘以.
public Color? Timeframe3Color { get; set; }
value = chartCandleElement.Timeframe3Color
chartCandleElement.Timeframe3Color = value
时间范围为3 个颜色.
public int? Timeframe3Multiplier { get; set; }
value = chartCandleElement.Timeframe3Multiplier
chartCandleElement.Timeframe3Multiplier = value
时间框架3乘以.
public Color UpBorderColor { get; set; }
value = chartCandleElement.UpBorderColor
chartCandleElement.UpBorderColor = value
边框颜色 增加蜡烛。
public Color? UpColor { get; set; }
value = chartCandleElement.UpColor
chartCandleElement.UpColor = value
向上颜色
public Color UpFillColor { get; set; }
value = chartCandleElement.UpFillColor
chartCandleElement.UpFillColor = value
身体颜色越来越多的蜡烛。
方法
protected override string GetGeneratedTitle()
result = chartCandleElement.GetGeneratedTitle()
获得生成的标题 。
返回值: 自动生成图表元素标题 。
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartCandleElement.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.
protected override bool OnDraw(ChartDrawData data)
result = chartCandleElement.OnDraw(data)
绘制根元素 。
- data
- 图表绘图数据。
返回值: 如果数据已成功绘制,否则返回。
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartCandleElement.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.