![]() |
AirControl
1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
|
Settings related to axis label. 坐标轴刻度标签的相关设置。 More...
Public Member Functions | |
override void | ClearComponentDirty () |
AxisLabel | Clone () |
void | Copy (AxisLabel axisLabel) |
void | SetRelatedText (ChartText txt, float labelWidth) |
string | GetFormatterContent (int labelIndex, string category) |
string | GetFormatterContent (int labelIndex, double value, double minValue, double maxValue, bool isLog=false) |
string | GetFormatterDateTime (int labelIndex, double value) |
![]() | |
virtual void | SetVerticesDirty () |
virtual void | ClearVerticesDirty () |
virtual void | SetComponentDirty () |
virtual void | ClearDirty () |
virtual void | SetAllDirty () |
Properties | |
bool | show [get, set] |
Set this to false to prevent the axis label from appearing. 是否显示刻度标签。 More... | |
int | interval [get, set] |
The display interval of the axis label. 坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。 More... | |
bool | inside [get, set] |
Set this to true so the axis labels face the inside direction. 刻度标签是否朝内,默认朝外。 More... | |
float | margin [get, set] |
The margin between the axis label and the axis line. 刻度标签与轴线之间的距离。 More... | |
string | formatter [get, set] |
图例内容字符串模版格式器。支持用 换行。 模板变量为图例名称 {value}。 More... | |
string | numericFormatter [get, set] |
Standard numeric format strings. 标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings More... | |
bool | showAsPositiveNumber [get, set] |
Show negative number as positive number. 将负数数值显示为正数。一般和Serie 的showAsPositiveNumber 配合使用。 More... | |
bool | onZero [get, set] |
刻度标签显示在0刻度上。 More... | |
float | width [get, set] |
文本的宽。为0时会自动匹配。 More... | |
float | height [get, set] |
文本的高。为0时会自动匹配。 More... | |
bool | showStartLabel [get, set] |
Whether to display the first label. 是否显示第一个文本。 More... | |
bool | showEndLabel [get, set] |
Whether to display the last label. 是否显示最后一个文本。 More... | |
TextLimit | textLimit [get, set] |
文本限制。 More... | |
TextStyle | textStyle [get, set] |
The text style of axis name. 文本样式。 More... | |
DelegateAxisLabelFormatter | formatterFunction [set] |
override bool | componentDirty [get] |
static AxisLabel | defaultAxisLabel [get] |
![]() | |
virtual bool | vertsDirty [get] |
图表重绘标记。 More... | |
virtual bool | componentDirty [get] |
组件重新初始化标记。 More... | |
bool | anyDirty [get] |
需要重绘图表或重新初始化组件。 More... | |
Painter | painter [get, set] |
Action | refreshComponent [get, set] |
GameObject | gameObject [get, set] |
Additional Inherited Members | |
![]() | |
bool | m_VertsDirty |
bool | m_ComponentDirty |
Painter | m_Painter |
Settings related to axis label. 坐标轴刻度标签的相关设置。
Definition at line 19 of file AxisLabel.cs.
|
getset |
图例内容字符串模版格式器。支持用
换行。 模板变量为图例名称 {value}。
Definition at line 78 of file AxisLabel.cs.
|
getset |
文本的高。为0时会自动匹配。
Definition at line 126 of file AxisLabel.cs.
|
getset |
Set this to true so the axis labels face the inside direction. 刻度标签是否朝内,默认朝外。
Definition at line 60 of file AxisLabel.cs.
|
getset |
The display interval of the axis label. 坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
Definition at line 51 of file AxisLabel.cs.
|
getset |
The margin between the axis label and the axis line. 刻度标签与轴线之间的距离。
Definition at line 69 of file AxisLabel.cs.
|
getset |
Standard numeric format strings. 标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
Definition at line 91 of file AxisLabel.cs.
|
getset |
刻度标签显示在0刻度上。
Definition at line 110 of file AxisLabel.cs.
|
getset |
Set this to false to prevent the axis label from appearing. 是否显示刻度标签。
Definition at line 42 of file AxisLabel.cs.
|
getset |
Show negative number as positive number. 将负数数值显示为正数。一般和Serie
的showAsPositiveNumber
配合使用。
Definition at line 101 of file AxisLabel.cs.
|
getset |
Whether to display the last label. 是否显示最后一个文本。
Definition at line 144 of file AxisLabel.cs.
|
getset |
Whether to display the first label. 是否显示第一个文本。
Definition at line 135 of file AxisLabel.cs.
|
getset |
文本限制。
Definition at line 152 of file AxisLabel.cs.
|
getset |
The text style of axis name. 文本样式。
Definition at line 162 of file AxisLabel.cs.
|
getset |
文本的宽。为0时会自动匹配。
Definition at line 118 of file AxisLabel.cs.