Table of Contents

Class ChartAxis

Namespace
StockSharp.Xaml.Charting
Assembly
StockSharp.Xaml.Charting.dll

The chart axis.

[TypeConverter(typeof(ExpandableObjectConverter))]
public class ChartAxis : NotifiableObject, IChartAxis, IPersistable, INotifyPropertyChangedEx, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
ChartAxis
Implements
IPersistable
INotifyPropertyChangedEx
Extension Methods

Constructors

ChartAxis()

public ChartAxis()

Properties

AutoRange

Auto range.

[Display(ResourceType = typeof(LocalizedStrings), Name = "AutoRange", Description = "AutoRangeDot", GroupName = "Parameters", Order = 60)]
public bool AutoRange { get; set; }

Property Value

bool

AxisType

Axis type.

[Browsable(false)]
public ChartAxisType AxisType { get; set; }

Property Value

ChartAxisType

ChartArea

Chart area.

[Browsable(false)]
public IChartArea ChartArea { get; }

Property Value

IChartArea

CursorTextFormatting

Cursor labels format.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Cursor", Description = "CursorTextFormat", GroupName = "Parameters", Order = 131)]
public string CursorTextFormatting { get; set; }

Property Value

string

DataPointWidth

Current data point with for X axis.

[Browsable(false)]
public double DataPointWidth { get; }

Property Value

double

DrawLabels

Show labels on the axis.

[Display(ResourceType = typeof(LocalizedStrings), Name = "AxisLabels", Description = "ShowAxisLabels", GroupName = "Parameters", Order = 120)]
public bool DrawLabels { get; set; }

Property Value

bool

DrawMajorGridLines

Show main grid lines.

[Display(ResourceType = typeof(LocalizedStrings), Name = "GridLines", Description = "ShowMainGridLines", GroupName = "Parameters", Order = 90)]
public bool DrawMajorGridLines { get; set; }

Property Value

bool

DrawMajorTicks

Show main grid lines on the axis.

[Display(ResourceType = typeof(LocalizedStrings), Name = "LinesOnAxis", Description = "MainGridLinesOnAxis", GroupName = "Parameters", Order = 80)]
public bool DrawMajorTicks { get; set; }

Property Value

bool

DrawMinorGridLines

Show extra grid lines.

[Display(ResourceType = typeof(LocalizedStrings), Name = "ExtraGridLines", Description = "ShowExtraGridLines", GroupName = "Parameters", Order = 110)]
public bool DrawMinorGridLines { get; set; }

Property Value

bool

DrawMinorTicks

Show extra grid lines on the axis.

[Display(ResourceType = typeof(LocalizedStrings), Name = "ExtraLinesOnAxis", Description = "ShowExtraLinesOnAxis", GroupName = "Parameters", Order = 100)]
public bool DrawMinorTicks { get; set; }

Property Value

bool

FlipCoordinates

Flip coordinates.

[Display(ResourceType = typeof(LocalizedStrings), Name = "FlipCoords", Description = "FlipCoordsDot", GroupName = "Parameters", Order = 70)]
public bool FlipCoordinates { get; set; }

Property Value

bool

Group

Group.

[Browsable(false)]
public string Group { get; set; }

Property Value

string

Id

Unique ID.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Identifier", Description = "UniqueId", GroupName = "Parameters", Order = 10)]
[Browsable(false)]
public string Id { get; set; }

Property Value

string

IsVisible

Axis visibility.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Show", Description = "ShowDot", GroupName = "Parameters", Order = 15)]
public bool IsVisible { get; set; }

Property Value

bool

SubDayTextFormatting

The format of X-axis labels within the day.

[Display(ResourceType = typeof(LocalizedStrings), Name = "LabelsFormatIntraday", Description = "LabelsFormatIntradayDescDot", GroupName = "Parameters", Order = 132)]
public string SubDayTextFormatting { get; set; }

Property Value

string

SwitchAxisLocation

Whether to use alternative axis alignment.

[Display(ResourceType = typeof(LocalizedStrings), Name = "SwitchAxisLocation", Description = "SwitchAxisLocation", GroupName = "Parameters", Order = 40)]
public bool SwitchAxisLocation { get; set; }

Property Value

bool

TextFormatting

Labels format.

[Display(ResourceType = typeof(LocalizedStrings), Name = "LabelsFormat", Description = "LabelsFormatDot", GroupName = "Parameters", Order = 130)]
public string TextFormatting { get; set; }

Property Value

string

TimeZone

Time zone for this axis.

[Display(ResourceType = typeof(LocalizedStrings), Name = "TimeZone", Description = "TimeZoneDot", GroupName = "Parameters", Order = 133)]
public TimeZoneInfo TimeZone { get; set; }

Property Value

TimeZoneInfo

Title

Header.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Header", Description = "AxisHeader", GroupName = "Parameters", Order = 20)]
public string Title { get; set; }

Property Value

string

Methods

Load(SettingsStorage)

Load settings.

public void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

Save(SettingsStorage)

Save settings.

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.