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
-
IPersistableINotifyPropertyChangedEx
- 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
AxisType
Axis type.
[Browsable(false)]
public ChartAxisType AxisType { get; set; }
Property Value
ChartArea
Chart area.
[Browsable(false)]
public IChartArea ChartArea { get; }
Property Value
CursorTextFormatting
Cursor labels format.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Cursor", Description = "CursorTextFormat", GroupName = "Parameters", Order = 131)]
public string CursorTextFormatting { get; set; }
Property Value
DataPointWidth
Current data point with for X axis.
[Browsable(false)]
public double DataPointWidth { get; }
Property Value
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
DrawMajorGridLines
Show main grid lines.
[Display(ResourceType = typeof(LocalizedStrings), Name = "GridLines", Description = "ShowMainGridLines", GroupName = "Parameters", Order = 90)]
public bool DrawMajorGridLines { get; set; }
Property Value
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
DrawMinorGridLines
Show extra grid lines.
[Display(ResourceType = typeof(LocalizedStrings), Name = "ExtraGridLines", Description = "ShowExtraGridLines", GroupName = "Parameters", Order = 110)]
public bool DrawMinorGridLines { get; set; }
Property Value
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
FlipCoordinates
Flip coordinates.
[Display(ResourceType = typeof(LocalizedStrings), Name = "FlipCoords", Description = "FlipCoordsDot", GroupName = "Parameters", Order = 70)]
public bool FlipCoordinates { get; set; }
Property Value
Group
Group.
[Browsable(false)]
public string Group { get; set; }
Property Value
Id
Unique ID.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Identifier", Description = "UniqueId", GroupName = "Parameters", Order = 10)]
[Browsable(false)]
public string Id { get; set; }
Property Value
IsVisible
Axis visibility.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Show", Description = "ShowDot", GroupName = "Parameters", Order = 15)]
public bool IsVisible { get; set; }
Property Value
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
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
TextFormatting
Labels format.
[Display(ResourceType = typeof(LocalizedStrings), Name = "LabelsFormat", Description = "LabelsFormatDot", GroupName = "Parameters", Order = 130)]
public string TextFormatting { get; set; }
Property Value
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
Title
Header.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Header", Description = "AxisHeader", GroupName = "Parameters", Order = 20)]
public string Title { get; set; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.