ChartArea
StockSharp.Xaml.Charting
Chart area.
Inherits: ChartPart<ChartArea>
Implements: IDisposable, IChartArea, IChartPart<IChartArea>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable
Constructors
Properties
Elements
public INotifyList<IChartElement> Elements { get; }
value = chartArea.Elements
Area elements (IChartIndicatorElement, IChartCandleElement, etc.).
GroupId
public string GroupId { get; set; }
value = chartArea.GroupId
chartArea.GroupId = value
Chart group name.
Height
public double Height { get; set; }
value = chartArea.Height
chartArea.Height = value
The height of the area.
Title
public string Title { get; set; }
value = chartArea.Title
chartArea.Title = value
Chart area name.
XAxises
public INotifyList<IChartAxis> XAxises { get; }
value = chartArea.XAxises
The list of horizontal axes.
XAxisType
public ChartAxisType XAxisType { get; set; }
value = chartArea.XAxisType
chartArea.XAxisType = value
Type of X axis for this chart.
YAxises
public INotifyList<IChartAxis> YAxises { get; }
value = chartArea.YAxises
The list of vertical axes.
Methods
Clone
public override ChartArea Clone()
result = chartArea.Clone()
Create a copy of ChartArea.
Returns: Copy.
Dispose
public void Dispose()
chartArea.Dispose()
Disposes of items in the pool that implement IDisposable.
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartArea.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Returns: Task
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartArea.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Returns: Task
ToString
public override string ToString()
result = chartArea.ToString()
Returns a string representation of the tuple, with values separated by commas.
Returns: A string representing the tuple's values.