ChartLineElement

StockSharp.Xaml.Charting

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.

Color : Color

Line color (candles, etc.), with which it will be drawn on chart.

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.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnDraw(ChartDrawData) : bool

Draw on root element.

data
Chart drawing data.

返回值: if the data was successfully drawn, otherwise, returns .

Save(SettingsStorage)

Save settings.

storage
Settings storage.