AirControl  1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
XCharts.RadarChart Class Reference
Inheritance diagram for XCharts.RadarChart:
Collaboration diagram for XCharts.RadarChart:

Protected Member Functions

override void InitComponent ()
 
- Protected Member Functions inherited from XCharts.BaseChart
override void InitComponent ()
 
override void Awake ()
 
override void Start ()
 
override void Update ()
 
virtual void CheckTheme ()
 
override void CheckComponent ()
 
override void SetAllComponentDirty ()
 
override void OnDestroy ()
 
virtual void CheckPainter ()
 
override void InitPainter ()
 
void AddSerieLabel (Serie serie, SerieData serieData, ref int count)
 
override bool IsNeedCheckPointerPos ()
 
virtual void CheckTootipArea (Vector2 localPostion, bool isActivedOther)
 
override void CheckRefreshChart ()
 
override void CheckRefreshPainter ()
 
void CheckRefreshLabel ()
 
virtual void OnRefreshLabel ()
 
override void OnSizeChanged ()
 
override void OnLocalPositionChanged ()
 
virtual void OnThemeChanged ()
 
virtual void OnYMaxValueChanged ()
 
virtual void OnLegendButtonClick (int index, string legendName, bool show)
 
virtual void OnLegendButtonEnter (int index, string legendName)
 
virtual void OnLegendButtonExit (int index, string legendName)
 
virtual void UpdateTooltip ()
 
override void OnDrawPainterBase (VertexHelper vh, Painter painter)
 
virtual void OnDrawPainterSerie (VertexHelper vh, Painter painter)
 
virtual void OnDrawPainterTop (VertexHelper vh, Painter painter)
 
virtual void DrawPainterSerie (VertexHelper vh, Serie serie)
 
virtual void DrawPainterTop (VertexHelper vh)
 
virtual void DrawTooltip (VertexHelper vh)
 
override void DrawBackground (VertexHelper vh)
 
virtual void DrawLegend (VertexHelper vh)
 
int GetPainterIndexBySerie (Serie serie)
 

Additional Inherited Members

- Public Member Functions inherited from XCharts.BaseChart
void RefreshChart ()
 Redraw chart in next frame. 在下一帧刷新图表。 More...
 
virtual void ClearData ()
 Remove all series and legend data. It just emptying all of serie's data without emptying the list of series. 清除所有数据,系列中只是移除数据,列表会保留。 More...
 
virtual void RemoveData ()
 Remove all data from series and legend. The series list is also cleared. 清除所有系列和图例数据,系列的列表也会被清除。 More...
 
virtual void RemoveData (string serieName)
 Remove legend and serie by name. 清除指定系列名称的数据。 More...
 
virtual Serie AddSerie (SerieType type, string serieName=null, bool show=true, bool addToHead=false)
 Add a serie to serie list. 添加一个系列到系列列表中。 More...
 
virtual Serie AddSerie (string serieType, string serieName=null, bool show=true, bool addToHead=false)
 Add a serie to serie list. 通过字符串类型的serieType添加一个系列到系列列表中。如果serieType不是已定义的SerieType类型,则设置为Custom类型。 More...
 
virtual Serie InsertSerie (int index, SerieType serieType, string serieName=null, bool show=true)
 
virtual SerieData AddData (string serieName, double data, string dataName=null)
 Add a data to serie. If serieName doesn't exist in legend,will be add to legend. 添加一个数据到指定的系列中。 More...
 
virtual SerieData AddData (int serieIndex, double data, string dataName=null)
 Add a data to serie. 添加一个数据到指定的系列中。 More...
 
virtual SerieData AddData (string serieName, List< double > multidimensionalData, string dataName=null)
 Add an arbitray dimension data to serie,such as (x,y,z,...). 添加多维数据(x,y,z...)到指定的系列中。 More...
 
virtual SerieData AddData (int serieIndex, List< double > multidimensionalData, string dataName=null)
 Add an arbitray dimension data to serie,such as (x,y,z,...). 添加多维数据(x,y,z...)到指定的系列中。 More...
 
virtual SerieData AddData (string serieName, double xValue, double yValue, string dataName=null)
 Add a (x,y) data to serie. 添加(x,y)数据到指定系列中。 More...
 
virtual SerieData AddData (int serieIndex, double xValue, double yValue, string dataName=null)
 Add a (x,y) data to serie. 添加(x,y)数据到指定系列中。 More...
 
virtual SerieData AddData (int serieIndex, double open, double close, double lowest, double heighest, string dataName=null)
 
virtual bool UpdateData (string serieName, int dataIndex, double value)
 Update serie data by serie name. 更新指定系列中的指定索引数据。 More...
 
virtual bool UpdateData (int serieIndex, int dataIndex, double value)
 Update serie data by serie index. 更新指定系列中的指定索引数据。 More...
 
virtual bool UpdateData (string serieName, int dataIndex, List< double > multidimensionalData)
 更新指定系列指定索引的数据项的多维数据。 More...
 
virtual bool UpdateData (int serieIndex, int dataIndex, List< double > multidimensionalData)
 更新指定系列指定索引的数据项的多维数据。 More...
 
virtual bool UpdateData (string serieName, int dataIndex, int dimension, double value)
 更新指定系列指定索引指定维数的数据。维数从0开始。 More...
 
virtual bool UpdateData (int serieIndex, int dataIndex, int dimension, double value)
 更新指定系列指定索引指定维数的数据。维数从0开始。 More...
 
virtual bool UpdateDataName (string serieName, int dataIndex, string dataName)
 Update serie data name. 更新指定系列中的指定索引数据名称。 More...
 
virtual bool UpdateDataName (int serieIndex, int dataIndex, string dataName)
 Update serie data name. 更新指定系列中的指定索引数据名称。 More...
 
virtual void SetActive (string serieName, bool active)
 Whether to show serie. 设置指定系列是否显示。 More...
 
virtual void SetActive (int serieIndex, bool active)
 Whether to show serie. 设置指定系列是否显示。 More...
 
virtual void UpdateLegendColor (string legendName, bool active)
 
virtual bool IsActive (string serieName)
 Whether serie is activated. 获取指定系列是否显示。 More...
 
virtual bool IsActive (int serieIndex)
 Whether serie is activated. 获取指定系列是否显示。 More...
 
virtual bool IsActiveByLegend (string legendName)
 Whether serie is activated. 获得指定图例名字的系列是否显示。 More...
 
void RefreshLabel ()
 刷新文本标签Label,重新初始化,当有改动Label参数时手动调用改接口 More...
 
void RefreshTooltip ()
 刷新Tooltip组件。 More...
 
bool UpdateTheme (Theme theme)
 Update chart theme. 切换内置主题。 More...
 
void UpdateTheme (ChartTheme theme)
 Update chart theme info. 切换图表主题。 More...
 
void AnimationEnable (bool flag)
 Whether series animation enabel. 启用或关闭起始动画。 More...
 
void AnimationFadeIn ()
 fadeIn animation. 开始渐入动画。 More...
 
void AnimationFadeOut ()
 fadeIn animation. 开始渐出动画。 More...
 
void AnimationPause ()
 Pause animation. 暂停动画。 More...
 
void AnimationResume ()
 Stop play animation. 继续动画。 More...
 
void AnimationReset ()
 Reset animation. 重置动画。 More...
 
void ClickLegendButton (int legendIndex, string legendName, bool show)
 点击图例按钮 More...
 
bool IsInChart (Vector2 local)
 坐标是否在图表范围内 More...
 
bool IsInChart (float x, float y)
 
void ClampInChart (ref Vector3 pos)
 
Vector3 GetTitlePosition (Title title)
 
bool ContainsSerie (SerieType serieType)
 
virtual bool AddDefaultCustomSerie (string serieName, int dataCount=5)
 
virtual string[] GetCustomSerieInspectorShowFileds ()
 
virtual string[][] GetCustomSerieInspectorCustomFileds ()
 
virtual string[] GetCustomChartInspectorShowFileds ()
 
virtual string GetCustomSerieTypeName ()
 
virtual bool GetCustomSerieDataNameForColor ()
 
int GetLegendRealShowNameIndex (string name)
 
virtual void InitCustomSerieTooltip (ref StringBuilder stringBuilder, Serie serie, int index)
 
void SetBasePainterMaterial (Material material)
 设置Base Painter的材质球 More...
 
void SetSeriePainterMaterial (Material material)
 设置Serie Painter的材质球 More...
 
void SetTopPainterMaterial (Material material)
 设置Top Painter的材质球 More...
 
void RemoveVessel ()
 移除所有容器组件。 More...
 
void AddVessel (Vessel vessel)
 添加容器组件。 More...
 
Vessel AddVessel (Vessel.Shape shape, Vector2 center, float radius)
 添加容器组件。 More...
 
Vessel GetVessel (int vesselIndex)
 获得指定索引的容器组件。 More...
 
void RemoveRadar ()
 移除所有雷达坐标系组件。 More...
 
void RemoveIndicator (int radarIndex)
 移除指定Radar的所有Indicator。 More...
 
void AddRadar (Radar radar)
 添加雷达坐标系组件。 More...
 
Radar AddRadar (Radar.Shape shape, Vector2 center, float radius, int splitNumber=5, float lineWidth=0f, bool showIndicator=true, bool showSplitArea=true)
 添加雷达坐标系组件。 More...
 
bool AddIndicator (int radarIndex, Radar.Indicator indicator)
 
Radar.Indicator AddIndicator (int radarIndex, string name, float min, float max)
 添加指示器。 More...
 
bool UpdateIndicator (int radarIndex, int indicatorIndex, string name, float min, float max)
 更新指示器。 More...
 
Radar GetRadar (int radarIndex)
 获得指定索引的雷达坐标系组件。 More...
 
Radar.Indicator GetIndicator (int radarIndex, int indicatorIndex)
 获得指定雷达坐标系组件指定索引的指示器。 More...
 
Painter GetPainter (int index)
 
void RefreshBasePainter ()
 
void RefreshTopPainter ()
 
void RefreshPainter (int index)
 
void RefreshPainter (Serie serie)
 
void SetPainterActive (int index, bool flag)
 
void Internal_CheckAnimation ()
 
virtual void OnDataZoomRangeChanged (DataZoom dataZoom)
 
override void OnPointerDown (PointerEventData eventData)
 
override void OnBeginDrag (PointerEventData eventData)
 
override void OnDrag (PointerEventData eventData)
 
override void OnEndDrag (PointerEventData eventData)
 
override void OnScroll (PointerEventData eventData)
 
void DrawSymbol (VertexHelper vh, SerieSymbolType type, float symbolSize, float tickness, Vector3 pos, Color32 color, Color32 toColor, Color32 fillColor, float gap, float[] cornerRadius)
 
void DrawSymbol (VertexHelper vh, SerieSymbolType type, float symbolSize, float tickness, Vector3 pos, Color32 color, Color32 toColor, Color32 fillColor, float gap, float[] cornerRadius, Vector3 startPos)
 
void DrawLabelBackground (VertexHelper vh, Serie serie, SerieData serieData)
 
- Protected Attributes inherited from XCharts.BaseChart
string m_ChartName
 
ChartTheme m_Theme
 
Settings m_Settings
 
List< Titlem_Titles = new List<Title>() { Title.defaultTitle }
 
List< Legendm_Legends = new List<Legend>() { Legend.defaultLegend }
 
List< Tooltipm_Tooltips = new List<Tooltip>() { Tooltip.defaultTooltip }
 
List< Gridm_Grids = new List<Grid>()
 
List< XAxism_XAxes = new List<XAxis>()
 
List< YAxism_YAxes = new List<YAxis>()
 
List< DataZoomm_DataZooms = new List<DataZoom>()
 
List< VisualMapm_VisualMaps = new List<VisualMap>()
 
List< Vesselm_Vessels = new List<Vessel>()
 
List< Polarm_Polars = new List<Polar>()
 
List< RadiusAxism_RadiusAxes = new List<RadiusAxis>()
 
List< AngleAxism_AngleAxes = new List<AngleAxis>()
 
List< Radarm_Radars = new List<Radar>()
 
Series m_Series = Series.defaultSeries
 
float m_ChartWidth
 
float m_ChartHeight
 
float m_ChartX
 
float m_ChartY
 
Vector3 m_ChartPosition = Vector3.zero
 
Vector2 m_ChartMinAnchor
 
Vector2 m_ChartMaxAnchor
 
Vector2 m_ChartPivot
 
Vector2 m_ChartSizeDelta
 
Rect m_ChartRect = new Rect(0, 0, 0, 0)
 
Action< VertexHelper > m_OnCustomDrawBaseCallback
 
Action< VertexHelper > m_OnCustomDrawTopCallback
 
Action< VertexHelper, Seriem_OnCustomDrawSerieBeforeCallback
 
Action< VertexHelper, Seriem_OnCustomDrawSerieAfterCallback
 
Action< PointerEventData, int, int > m_OnPointerClickPie
 
bool m_RefreshLabel = false
 
List< string > m_LegendRealShowName = new List<string>()
 
List< Painterm_PainterList = new List<Painter>()
 
GameObject m_SerieLabelRoot
 
List< IDrawSeriem_DrawSeries = new List<IDrawSerie>()
 
List< IComponentHandlerm_ComponentHandlers = new List<IComponentHandler>()
 
- Static Protected Attributes inherited from XCharts.BaseChart
static readonly string s_TitleObjectName = "title"
 
static readonly string s_SubTitleObjectName = "title_sub"
 
static readonly string s_LegendObjectName = "legend"
 
static readonly string s_SerieLabelObjectName = "label"
 
static readonly string s_SerieTitleObjectName = "serie"
 
- Properties inherited from XCharts.BaseChart
string chartName [get, set]
 The name of chart. More...
 
ChartTheme theme [get, set]
 The theme. More...
 
Titletitle [get]
 The title setting of chart. 标题组件 More...
 
List< Titletitles [get]
 
Legendlegend [get]
 The legend setting of chart. 图例组件 More...
 
List< Legendlegends [get]
 
Tooltiptooltip [get]
 The tooltip setting of chart. 提示框组件 More...
 
Series series [get]
 The series setting of chart. 系列列表 More...
 
Settings settings [get]
 Global parameter setting component. 全局设置组件。 More...
 
DataZoomdataZoom [get]
 dataZoom component. 区域缩放组件。 More...
 
List< DataZoomdataZooms [get]
 
VisualMapvisualMap [get]
 visualMap component. 视觉映射组件。 More...
 
List< VisualMapvisualMaps [get]
 
float chartX [get]
 The x of chart. 图表的X More...
 
float chartY [get]
 The y of chart. 图表的Y More...
 
float chartWidth [get]
 The width of chart. 图表的宽 More...
 
float chartHeight [get]
 The height of chart. 图表的高 More...
 
Vector2 chartMinAnchor [get]
 
Vector2 chartMaxAnchor [get]
 
Vector2 chartPivot [get]
 
Vector2 chartSizeDelta [get]
 
Vector3 chartPosition [get]
 The position of chart. 图表的左下角起始坐标。 More...
 
Rect chartRect [get]
 
Action< VertexHelper > onCustomDraw [set]
 自定义绘制回调。在绘制Serie前调用。 More...
 
Action< VertexHelper, SerieonCustomDrawBeforeSerie [set]
 自定义Serie绘制回调。在每个Serie绘制完前调用。 More...
 
Action< VertexHelper, SerieonCustomDrawAfterSerie [set]
 自定义Serie绘制回调。在每个Serie绘制完后调用。 More...
 
Action< VertexHelper > onCustomDrawTop [set]
 自定义Top绘制回调。在绘制Tooltip前调用。 More...
 
Action< PointerEventData, int, int > onPointerClickPie [get, set]
 the callback function of click pie area. 点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex More...
 
Vesselvessel [get]
 
List< Vesselvessels [get]
 容器组件列表。 More...
 
Polarpolar [get]
 极坐标。 More...
 
AngleAxisangleAxis [get]
 Angle axis of Polar Coordinate. 极坐标系的角度轴。 More...
 
RadiusAxisradiusAxis [get]
 Radial axis of polar coordinate. 极坐标系的径向轴。 More...
 
Radarradar [get]
 
List< Radarradars [get]
 雷达坐标系组件列表。 More...
 

Detailed Description

Definition at line 17 of file RadarChart.cs.


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