AirControl  1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
XCharts.YAxis Class Reference

The x axis in cartesian(rectangular) coordinate. a grid component can place at most 2 x axis, one on the bottom and another on the top. More...

Inheritance diagram for XCharts.YAxis:
Collaboration diagram for XCharts.YAxis:

Properties

static YAxis defaultYAxis [get]
 
- Properties inherited from XCharts.Axis
bool show [get, set]
 Whether to show axis. 是否显示坐标轴。 More...
 
AxisType type [get, set]
 the type of axis. 坐标轴类型。 More...
 
AxisMinMaxType minMaxType [get, set]
 the type of axis minmax. 坐标轴刻度最大最小值显示类型。 More...
 
int gridIndex [get, set]
 The index of the grid on which the axis are located, by default, is in the first grid. 坐标轴所在的 grid 的索引,默认位于第一个 grid。 More...
 
int polarIndex [get, set]
 The index of the polar on which the axis are located, by default, is in the first polar. 坐标轴所在的 ploar 的索引,默认位于第一个 polar。 More...
 
AxisPosition position [get, set]
 the position of axis in grid. 坐标轴在Grid中的位置。 More...
 
float offset [get, set]
 the offset of axis from the default position. Useful when the same position has multiple axes. 坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。 More...
 
float min [get, set]
 The minimun value of axis.Valid when minMaxType is Custom 设定的坐标轴刻度最小值,当minMaxType为Custom时有效。 More...
 
float max [get, set]
 The maximum value of axis.Valid when minMaxType is Custom 设定的坐标轴刻度最大值,当minMaxType为Custom时有效。 More...
 
int splitNumber [get, set]
 Number of segments that the axis is split into. 坐标轴的分割段数。 More...
 
float interval [get, set]
 Compulsively set segmentation interval for axis.This is unavailable for category axis. 强制设置坐标轴分割间隔。无法在类目轴中使用。 More...
 
bool? boundaryGap [get, set]
 The boundary gap on both sides of a coordinate axis, which is valid only for category axis with type: 'Category'. 坐标轴两边是否留白。只对类目轴有效。 More...
 
float logBase [get, set]
 Base of logarithm, which is valid only for numeric axes with type: 'Log'. 对数轴的底数,只在对数轴(type:'Log')中有效。 More...
 
bool logBaseE [get, set]
 On the log axis, if base e is the natural number, and is true, logBase fails. 对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。 More...
 
int? maxCache [get, set]
 The max number of axis data cache. The first data will be remove when the size of axis data is larger then maxCache. 可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。 More...
 
int? ceilRate [get, set]
 The ratio of maximum and minimum values rounded upward. The default is 0, which is automatically calculated. 最大最小值向上取整的倍率。默认为0时自动计算。 More...
 
bool inverse [get, set]
 Whether the axis are reversed or not. Invalid in Category axis. 是否反向坐标轴。在类目轴中无效。 More...
 
bool clockwise [get, set]
 Whether the positive position of axis is in clockwise. True for clockwise by default. 刻度增长是否按顺时针,默认顺时针。 More...
 
List< string > data [get, set]
 Category data, available in type: 'Category' axis. 类目数据,在类目轴(type: 'category')中有效。 More...
 
List< Sprite > icons [get, set]
 类目数据对应的图标。 More...
 
AxisLine axisLine [get, set]
 axis Line. 坐标轴轴线。 /// More...
 
AxisName axisName [get, set]
 axis name. 坐标轴名称。 More...
 
AxisTick axisTick [get, set]
 axis tick. 坐标轴刻度。 More...
 
AxisLabel axisLabel [get, set]
 axis label. 坐标轴刻度标签。 More...
 
AxisSplitLine splitLine [get, set]
 axis split line. 坐标轴分割线。 More...
 
AxisSplitArea splitArea [get, set]
 axis split area. 坐标轴分割区域。 More...
 
bool insertDataToHead [get, set]
 Whether to add new data at the head or at the end of the list. 添加新数据时是在列表的头部还是尾部加入。 More...
 
IconStyle iconStyle [get, set]
 图标样式。 More...
 
override bool vertsDirty [get]
 
override bool componentDirty [get]
 
int index [get, set]
 
List< ChartLabelruntimeAxisLabelList [get, set]
 
double runtimeMinValue [get, set]
 the current minimun value. 当前最小值。 More...
 
double runtimeMaxValue [get, set]
 the current maximum value. 当前最大值。 More...
 
float runtimeZeroXOffset [get, set]
 the x offset of zero position. 坐标轴原点在X轴的偏移。 More...
 
float runtimeZeroYOffset [get, set]
 the y offset of zero position. 坐标轴原点在Y轴的偏移。 More...
 
int? runtimeMinLogIndex [get]
 
int? runtimeMaxLogIndex [get]
 
bool runtimeLastCheckInverse [get, set]
 
double runtimeMinMaxRange [get, set]
 
List< string > runtimeData [get]
 
float runtimeScaleWidth [get, set]
 
- Properties inherited from XCharts.ChartComponent
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

- Public Types inherited from XCharts.Axis
enum  AxisType { AxisType.Value, AxisType.Category, AxisType.Log, AxisType.Time }
 the type of axis. 坐标轴类型。 More...
 
enum  AxisMinMaxType { AxisMinMaxType.Default, AxisMinMaxType.MinMax, AxisMinMaxType.Custom }
 the type of axis min and max value. 坐标轴最大最小刻度显示类型。 More...
 
enum  AxisPosition { Left, Right, Bottom, Top }
 the position of axis in grid. 坐标轴在Grid中的位置 More...
 
- Public Member Functions inherited from XCharts.Axis
override void ClearComponentDirty ()
 
override void ClearVerticesDirty ()
 
Axis Clone ()
 
override void SetComponentDirty ()
 
void Copy (Axis axis)
 
void ClearData ()
 清空类目数据 More...
 
bool IsCategory ()
 是否为类目轴。 More...
 
bool IsValue ()
 是否为数值轴。 More...
 
bool IsLog ()
 是否为对数轴。 More...
 
bool IsTime ()
 是否为时间轴。 More...
 
void SetNeedUpdateFilterData ()
 
void AddData (string category)
 添加一个类目到类目数据列表 More...
 
void UpdateData (int index, string category)
 更新类目数据 More...
 
void AddIcon (Sprite icon)
 添加图标 More...
 
void UpdateIcon (int index, Sprite icon)
 更新图标 More...
 
string GetData (int index)
 获得指定索引的类目数据 More...
 
string GetData (int index, DataZoom dataZoom)
 获得在dataZoom范围内指定索引的类目数据 More...
 
Sprite GetIcon (int index)
 
double GetCurrMinValue (float duration)
 
double GetCurrMaxValue (float duration)
 
bool IsValueChanging (float duration)
 
float GetLogValue (double value)
 
bool IsLeft ()
 
bool IsRight ()
 
bool IsTop ()
 
bool IsBottom ()
 
- Public Member Functions inherited from XCharts.ChartComponent
virtual void SetVerticesDirty ()
 
virtual void ClearDirty ()
 
virtual void SetAllDirty ()
 
- Protected Attributes inherited from XCharts.Axis
bool m_Show = true
 
AxisType m_Type
 
AxisMinMaxType m_MinMaxType
 
int m_GridIndex
 
int m_PolarIndex
 
AxisPosition m_Position
 
float m_Offset
 
float m_Min
 
float m_Max
 
int m_SplitNumber = 5
 
float m_Interval = 0
 
bool m_BoundaryGap = true
 
int m_MaxCache = 0
 
float m_LogBase = 10
 
bool m_LogBaseE = false
 
int m_CeilRate = 0
 
bool m_Inverse = false
 
List< Sprite > m_Icons = new List<Sprite>()
 
List< string > m_Data = new List<string>()
 
AxisLine m_AxisLine = AxisLine.defaultAxisLine
 
AxisName m_AxisName = AxisName.defaultAxisName
 
AxisTick m_AxisTick = AxisTick.defaultTick
 
AxisLabel m_AxisLabel = AxisLabel.defaultAxisLabel
 
AxisSplitLine m_SplitLine = AxisSplitLine.defaultSplitLine
 
AxisSplitArea m_SplitArea = AxisSplitArea.defaultSplitArea
 
List< string > m_RuntimeData = new List<string>()
 
- Protected Attributes inherited from XCharts.ChartComponent
bool m_VertsDirty
 
bool m_ComponentDirty
 
Painter m_Painter
 

Detailed Description

The x axis in cartesian(rectangular) coordinate. a grid component can place at most 2 x axis, one on the bottom and another on the top.

直角坐标系 grid 中的 y 轴,单个 grid 组件最多只能放左右两个 y 轴

Definition at line 996 of file Axis.cs.


The documentation for this class was generated from the following file: