ChartLineElement
The chart element representing a line.
继承自: ChartElement<ChartLineElement>
实现: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable, IChartLineElement
构造函数
ChartLineElement()
Initializes a new instance of the ChartLineElement.
属性
AdditionalColor : Color
Additional line color (candles, etc.), with which it will be drawn on the chart.
AntiAliasing : bool
The anti aliasing of the line drawing. The default is enabled.
DrawTemplate : ControlTemplate
The chart template for the Dot style DrawStyles.
ShowAxisMarker : bool
Show Y-axis marker.
StrokeThickness : int
The thickness of the line (bar, etc.) with which it will be drawn on the chart. The default is 1.
Style : DrawStyles
The line drawing style. The default is Line.
方法
CheckAxesCompatible(ChartAxisType?, ChartAxisType?) : bool
Check if the element can be drawn using supplied axis types.
- xType
- X axis type.
- yType
- Y axis type.
返回值: if supplied types are supported.
OnDraw(ChartDrawData) : bool
Draw on root element.
- data
- Chart drawing data.
返回值: if the data was successfully drawn, otherwise, returns .