Class ChartAnnotation
Annotation.
Inherited Members
Namespace: StockSharp.Xaml.Charting
Assembly: StockSharp.Xaml.Charting.dll
Syntax
public class ChartAnnotation : ChartElement<ChartAnnotation>, IPersistable,,, IChartElement, INotifyPropertyChanged, ICloneable<IChartElement>, ICloneable, INotifyPropertyChanging
Constructors
ChartAnnotation()
Initializes a new instance of the ChartAnnotation.
Declaration
public ChartAnnotation()
Properties
Type
Annotation type.
Declaration
public ChartAnnotationTypes Type { get; set; }
Property Value
Type | Description |
---|---|
ChartAnnotationTypes |
Methods
Load(SettingsStorage)
Load settings.
Declaration
public override void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Overrides
StockSharp.Xaml.Charting.ChartElement<StockSharp.Xaml.Charting.ChartAnnotation>.Load(Ecng.Serialization.SettingsStorage)
OnDraw(ChartDrawData)
Draw on root element.
Declaration
protected override bool OnDraw(ChartDrawData data)
Parameters
Type | Name | Description |
---|---|---|
ChartDrawData | data | Chart drawing data. |
Returns
Type | Description |
---|---|
Boolean | true if the data was successfully drawn, otherwise, returns false. |
Overrides
StockSharp.Xaml.Charting.ChartElement<StockSharp.Xaml.Charting.ChartAnnotation>.OnDraw(StockSharp.Xaml.Charting.ChartDrawData)
Save(SettingsStorage)
Save settings.
Declaration
public override void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Overrides
StockSharp.Xaml.Charting.ChartElement<StockSharp.Xaml.Charting.ChartAnnotation>.Save(Ecng.Serialization.SettingsStorage)
Implements
Ecng.Serialization.IPersistable
Ecng.Common.ICloneable<>