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