diff --git a/CHANGELOG.md b/CHANGELOG.md
index 09933393..db4ac594 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -59,8 +59,9 @@
## master
-* (2022.09.10) 增加`Line`的`SmoothLimit`可控制平滑曲线不同效果
-* (2022.09.05) 修复`Serie`隐藏时`Tooltip`还显示信息的问题
+* (2022.10.10) 调整文档格式
+* (2022.10.10) 增加`Line`的`SmoothLimit`可控制平滑曲线不同效果
+* (2022.10.05) 修复`Serie`隐藏时`Tooltip`还显示信息的问题
* (2022.09.30) 修复`Chart`在很小尺寸时出现`DivideByZeroException`异常
## v3.3.0
@@ -76,6 +77,7 @@
### 日志详情
+* (2022.09.28) 发布`v3.3.0`版本
* (2022.09.26) 优化`Axis`在类目轴时的默认分割段数
* (2022.09.25) 修复`API`文档中部分接口没有导出的问题
* (2022.09.24) 优化`FunnelChart`
diff --git a/Documentation/SUPPORT.md b/Documentation/SUPPORT.md
index 4ae7ab49..27a357ad 100644
--- a/Documentation/SUPPORT.md
+++ b/Documentation/SUPPORT.md
@@ -19,7 +19,7 @@
| |免费用户|付费咨询|个人`VIP` | 个人`SVIP` | 企业`VIP` |
| ----- |--|--|--|--|--|
-| 订阅费用 | -- | `98`¥ | `298`¥ | 首年`1298`¥后续`298¥`* | `联系我们` |
+| 订阅费用 | -- | `98`¥ | `298`¥ | 首年`1298`¥
后续`298¥`* | `联系我们` |
| 订阅时长 | -- | `7`天* | `1`年 | `1`年* | `1`年
| 订阅席位 | -- | `1`个席位 | `1`个席位 |`1`个席位|`5`个以上席位|
| __`服务方式:`__|
diff --git a/Documentation/XChartsAPI-EN.md b/Documentation/XChartsAPI-EN.md
index dc8d9f4f..784b050e 100644
--- a/Documentation/XChartsAPI-EN.md
+++ b/Documentation/XChartsAPI-EN.md
@@ -1,14 +1,14 @@
# Chart API
-[XCharts Homepage](https://github.com/XCharts-Team/XCharts)
-[XCharts Configuration](XChartsConfiguration-EN.md)
+[XCharts Homepage](https://github.com/XCharts-Team/XCharts)
+[XCharts Configuration](XChartsConfiguration-EN.md)
[XCharts FAQ](XChartsFAQ-EN.md)
-## Class
+## All Class
- [AnimationStyleHelper](#AnimationStyleHelper)
- [AxisContext](#AxisContext)
-- [AxisHandler](#AxisHandler)
+- [AxisHandler<T>](#AxisHandler<T>)
- [AxisHelper](#AxisHelper)
- [BarChart](#BarChart)
- [BaseChart](#BaseChart)
@@ -45,9 +45,8 @@
- [ListForSerie](#ListForSerie)
- [MainComponentContext](#MainComponentContext)
- [MainComponentHandler](#MainComponentHandler)
-- [MainComponentHandler](#MainComponentHandler)
+- [MainComponentHandler<T>](#MainComponentHandler<T>)
- [MathUtil](#MathUtil)
-- [ObjectPool where T](#ObjectPool where T)
- [Painter](#Painter)
- [ParallelChart](#ParallelChart)
- [ParallelCoordContext](#ParallelCoordContext)
@@ -70,7 +69,7 @@
- [SerieDataExtraFieldAttribute](#SerieDataExtraFieldAttribute)
- [SerieExtraComponentAttribute](#SerieExtraComponentAttribute)
- [SerieHandler](#SerieHandler)
-- [SerieHandler](#SerieHandler)
+- [SerieHandler<T>](#SerieHandler<T>)
- [SerieHandlerAttribute](#SerieHandlerAttribute)
- [SerieHelper](#SerieHelper)
- [SerieLabelHelper](#SerieLabelHelper)
@@ -99,1085 +98,1085 @@
- [XCResourceImporterWindow](#XCResourceImporterWindow)
- [XCThemeMgr](#XCThemeMgr)
-## `AnimationStyleHelper`
+## AnimationStyleHelper
|public method|description|
|--|--|
-| `CheckDataAnimation()` |public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0) |
-| `GetAnimationPosition()` |public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip) |
-| `UpdateAnimationType()` |public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType) |
-| `UpdateSerieAnimation()` |public static void UpdateSerieAnimation(Serie serie) |
+| CheckDataAnimation() |public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)|
+| GetAnimationPosition() |public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip)|
+| UpdateAnimationType() |public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType)|
+| UpdateSerieAnimation() |public static void UpdateSerieAnimation(Serie serie)|
-## `AxisContext`
+## AxisContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `AxisHandler`
+## AxisHandler<T>
Inherits or Implemented: [MainComponentHandler](#MainComponentHandler)
-## `AxisHelper`
+## AxisHelper
|public method|description|
|--|--|
-| `AdjustCircleLabelPos()` |public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset) |
-| `AdjustMinMaxValue()` |public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)调整最大最小值 |
-| `AdjustRadiusAxisLabelPos()` |public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset) |
-| `GetAxisLineArrowOffset()` |public static float GetAxisLineArrowOffset(Axis axis)包含箭头偏移的轴线长度 |
-| `GetAxisPosition()` |public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null) |
-| `GetAxisPositionValue()` |public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset) |
-| `GetAxisPositionValue()` |public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos) |
-| `GetAxisValueDistance()` |public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)获得数值value在坐标轴上相对起点的距离 |
-| `GetAxisValueLength()` |public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)获得数值value在坐标轴上对应的长度 |
-| `GetAxisValuePosition()` |public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)获得数值value在坐标轴上的坐标位置 |
-| `GetAxisValueSplitIndex()` |public static int GetAxisValueSplitIndex(Axis axis, double value, int totalSplitNumber = -1)获得数值value在坐标轴上对应的split索引 |
-| `GetAxisXOrY()` |public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis) |
-| `GetDataWidth()` |public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)获得一个类目数据在坐标系中代表的宽度 |
-| `GetEachWidth()` |public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null) |
-| `GetScaleNumber()` |public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)获得分割线条数 |
-| `GetScaleWidth()` |public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)获得分割段宽度 |
-| `GetSplitNumber()` |public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)获得分割段数 |
-| `GetTotalSplitGridNum()` |public static int GetTotalSplitGridNum(Axis axis)获得分割网格个数,包含次刻度 |
-| `GetXAxisXOrY()` |public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis) |
-| `GetYAxisXOrY()` |public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis) |
-| `NeedShowSplit()` |public static bool NeedShowSplit(Axis axis) |
+| AdjustCircleLabelPos() |public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)|
+| AdjustMinMaxValue() |public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
调整最大最小值 |
+| AdjustRadiusAxisLabelPos() |public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)|
+| GetAxisLineArrowOffset() |public static float GetAxisLineArrowOffset(Axis axis)
包含箭头偏移的轴线长度 |
+| GetAxisPosition() |public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)|
+| GetAxisPositionValue() |public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)|
+| GetAxisPositionValue() |public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)|
+| GetAxisValueDistance() |public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上相对起点的距离 |
+| GetAxisValueLength() |public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上对应的长度 |
+| GetAxisValuePosition() |public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上的坐标位置 |
+| GetAxisValueSplitIndex() |public static int GetAxisValueSplitIndex(Axis axis, double value, int totalSplitNumber = -1)
获得数值value在坐标轴上对应的split索引 |
+| GetAxisXOrY() |public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)|
+| GetDataWidth() |public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
获得一个类目数据在坐标系中代表的宽度 |
+| GetEachWidth() |public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)|
+| GetScaleNumber() |public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
获得分割线条数 |
+| GetScaleWidth() |public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
获得分割段宽度 |
+| GetSplitNumber() |public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
获得分割段数 |
+| GetTotalSplitGridNum() |public static int GetTotalSplitGridNum(Axis axis)
获得分割网格个数,包含次刻度 |
+| GetXAxisXOrY() |public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)|
+| GetYAxisXOrY() |public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)|
+| NeedShowSplit() |public static bool NeedShowSplit(Axis axis)|
-## `BarChart`
+## BarChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `BaseChart`
+## BaseChart
Inherits or Implemented: [BaseGraph](#BaseGraph),[ISerializationCallbackReceiver](#ISerializationCallbackReceiver)
|public method|description|
|--|--|
-| `AddChartComponent()` |public MainComponent AddChartComponent(Type type) |
-| `AddChartComponent()` |public T AddChartComponent() where T : MainComponent |
-| `AddChartComponentWhenNoExist()` |public T AddChartComponentWhenNoExist() where T : MainComponent |
-| `AddData()` |public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)Add a (time,y) data to serie. |
-| `AddData()` |public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)Add a data to serie. |
-| `AddData()` |public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null) |
-| `AddData()` |public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)Add a (x,y) data to serie. |
-| `AddData()` |public SerieData AddData(int serieIndex, List multidimensionalData, string dataName = null, string dataId = null)Add an arbitray dimension data to serie,such as (x,y,z,...). |
-| `AddData()` |public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)Add a (time,y) data to serie. |
-| `AddData()` |public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)Add a data to serie. |
-| `AddData()` |public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null) |
-| `AddData()` |public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)Add a (x,y) data to serie. |
-| `AddData()` |public SerieData AddData(string serieName, List multidimensionalData, string dataName = null, string dataId = null)Add an arbitray dimension data to serie,such as (x,y,z,...). |
-| `AddSerie()` |public T AddSerie(string serieName = null, bool show = true, bool addToHead = false) where T : Serie |
-| `AddXAxisData()` |public void AddXAxisData(string category, int xAxisIndex = 0)Add a category data to xAxis. |
-| `AddXAxisIcon()` |public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)Add an icon to xAxis. |
-| `AddYAxisData()` |public void AddYAxisData(string category, int yAxisIndex = 0)Add a category data to yAxis. |
-| `AddYAxisIcon()` |public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)Add an icon to yAxis. |
-| `AnimationEnable()` |public void AnimationEnable(bool flag)Whether series animation enabel. |
-| `AnimationFadeIn()` |public void AnimationFadeIn()fadeIn animation. |
-| `AnimationFadeOut()` |public void AnimationFadeOut()fadeIn animation. |
-| `AnimationPause()` |public void AnimationPause()Pause animation. |
-| `AnimationReset()` |public void AnimationReset()Reset animation. |
-| `AnimationResume()` |public void AnimationResume()Stop play animation. |
-| `CanAddChartComponent()` |public bool CanAddChartComponent(Type type) |
-| `CanAddSerie()` |public bool CanAddSerie(Type type) |
-| `CanAddSerie()` |public bool CanAddSerie() where T : Serie |
-| `CanMultipleComponent()` |public bool CanMultipleComponent(Type type) |
-| `ClampInChart()` |public void ClampInChart(ref Vector3 pos) |
-| `ClampInGrid()` |public Vector3 ClampInGrid(GridCoord grid, Vector3 pos) |
-| `ClearData()` |public virtual void ClearData()Clear all components and series data. Note: serie only empties the data and does not remove serie. |
-| `ClickLegendButton()` |public void ClickLegendButton(int legendIndex, string legendName, bool show)点击图例按钮 |
-| `CovertSerie()` |public bool CovertSerie(Serie serie, Type type) |
-| `CovertSerie()` |public bool CovertSerie(Serie serie) where T : Serie |
-| `CovertXYAxis()` |public void CovertXYAxis(int index)转换X轴和Y轴的配置 |
-| `GenerateDefaultSerieName()` |public string GenerateDefaultSerieName() |
-| `GetAllSerieDataCount()` |public int GetAllSerieDataCount() |
-| `GetChartBackgroundColor()` |public Color32 GetChartBackgroundColor() |
-| `GetChartComponent()` |public T GetChartComponent(int index = 0) where T : MainComponent |
-| `GetChartComponentNum()` |public int GetChartComponentNum(Type type) |
-| `GetChartComponentNum()` |public int GetChartComponentNum() where T : MainComponent |
-| `GetChartComponents()` |public List GetChartComponents() where T : MainComponent |
-| `GetData()` |public double GetData(int serieIndex, int dataIndex, int dimension = 1) |
-| `GetData()` |public double GetData(string serieName, int dataIndex, int dimension = 1) |
-| `GetDataZoomOfAxis()` |public DataZoom GetDataZoomOfAxis(Axis axis) |
-| `GetDataZoomOfSerie()` |public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom) |
-| `GetGrid()` |public GridCoord GetGrid(Vector2 local) |
-| `GetGridOfDataZoom()` |public GridCoord GetGridOfDataZoom(DataZoom dataZoom) |
-| `GetItemColor()` |public Color32 GetItemColor(Serie serie) |
-| `GetItemColor()` |public Color32 GetItemColor(Serie serie, SerieData serieData) |
-| `GetItemColor()` |public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex) |
-| `GetLegendRealShowNameColor()` |public Color32 GetLegendRealShowNameColor(string name) |
-| `GetLegendRealShowNameIndex()` |public int GetLegendRealShowNameIndex(string name) |
-| `GetOrAddChartComponent()` |public T GetOrAddChartComponent() where T : MainComponent |
-| `GetPainter()` |public Painter GetPainter(int index) |
-| `GetSerie()` |public Serie GetSerie(int serieIndex) |
-| `GetSerie()` |public Serie GetSerie(string serieName) |
-| `GetSerie()` |public T GetSerie() where T : Serie |
-| `GetSerie()` |public T GetSerie(int serieIndex) where T : Serie |
-| `GetSerieBarGap()` |public float GetSerieBarGap() where T : Serie |
-| `GetSerieBarRealCount()` |public int GetSerieBarRealCount() where T : Serie |
-| `GetSerieIndexIfStack()` |public int GetSerieIndexIfStack(Serie currSerie) where T : Serie |
-| `GetSerieSameStackTotalValue()` |public double GetSerieSameStackTotalValue(string stack, int dataIndex) where T : Serie |
-| `GetSeriesMinMaxValue()` |public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue) |
-| `GetSerieTotalGap()` |public float GetSerieTotalGap(float categoryWidth, float gap, int index) where T : Serie |
-| `GetSerieTotalWidth()` |public float GetSerieTotalWidth(float categoryWidth, float gap, int realBarCount) where T : Serie |
-| `GetTitlePosition()` |public Vector3 GetTitlePosition(Title title) |
-| `GetVisualMapOfSerie()` |public VisualMap GetVisualMapOfSerie(Serie serie) |
-| `GetXDataZoomOfSerie()` |public DataZoom GetXDataZoomOfSerie(Serie serie) |
-| `GetXLerpColor()` |public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid) |
-| `GetYLerpColor()` |public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid) |
-| `HasChartComponent()` |public bool HasChartComponent(Type type) |
-| `HasChartComponent()` |public bool HasChartComponent() |
-| `HasSerie()` |public bool HasSerie(Type type) |
-| `HasSerie()` |public bool HasSerie() where T : Serie |
-| `Init()` |public void Init(bool defaultChart = true) |
-| `InitAxisRuntimeData()` |public virtual void InitAxisRuntimeData(Axis axis) { } |
-| `InsertSerie()` |public void InsertSerie(Serie serie, int index = -1, bool addToHead = false) |
-| `InsertSerie()` |public T InsertSerie(int index, string serieName = null, bool show = true) where T : Serie |
-| `Internal_CheckAnimation()` |public void Internal_CheckAnimation() |
-| `IsActiveByLegend()` |public virtual bool IsActiveByLegend(string legendName)Whether serie is activated. |
-| `IsAllAxisCategory()` |public bool IsAllAxisCategory()纯类目轴。 |
-| `IsAllAxisValue()` |public bool IsAllAxisValue()reutrn true when all the show axis is `Value` type. |
-| `IsInAnyGrid()` |public bool IsInAnyGrid(Vector2 local) |
-| `IsInChart()` |public bool IsInChart(float x, float y) |
-| `IsInChart()` |public bool IsInChart(Vector2 local)坐标是否在图表范围内 |
-| `IsSerieName()` |public bool IsSerieName(string name) |
-| `MoveDownSerie()` |public bool MoveDownSerie(int serieIndex) |
-| `MoveUpSerie()` |public bool MoveUpSerie(int serieIndex) |
-| `OnAfterDeserialize()` |public void OnAfterDeserialize() |
-| `OnBeforeSerialize()` |public void OnBeforeSerialize() |
-| `OnBeginDrag()` |public override void OnBeginDrag(PointerEventData eventData) |
-| `OnDataZoomRangeChanged()` |public virtual void OnDataZoomRangeChanged(DataZoom dataZoom) |
-| `OnDrag()` |public override void OnDrag(PointerEventData eventData) |
-| `OnEndDrag()` |public override void OnEndDrag(PointerEventData eventData) |
-| `OnLegendButtonClick()` |public virtual void OnLegendButtonClick(int index, string legendName, bool show) |
-| `OnLegendButtonEnter()` |public virtual void OnLegendButtonEnter(int index, string legendName) |
-| `OnLegendButtonExit()` |public virtual void OnLegendButtonExit(int index, string legendName) |
-| `OnPointerClick()` |public override void OnPointerClick(PointerEventData eventData) |
-| `OnPointerDown()` |public override void OnPointerDown(PointerEventData eventData) |
-| `OnPointerEnter()` |public override void OnPointerEnter(PointerEventData eventData) |
-| `OnPointerExit()` |public override void OnPointerExit(PointerEventData eventData) |
-| `OnPointerUp()` |public override void OnPointerUp(PointerEventData eventData) |
-| `OnScroll()` |public override void OnScroll(PointerEventData eventData) |
-| `RefreshBasePainter()` |public void RefreshBasePainter() |
-| `RefreshChart()` |public void RefreshChart()Redraw chart in next frame. |
-| `RefreshChart()` |public void RefreshChart(int serieIndex)Redraw chart serie in next frame. |
-| `RefreshChart()` |public void RefreshChart(Serie serie)Redraw chart serie in next frame. |
-| `RefreshDataZoom()` |public void RefreshDataZoom()在下一帧刷新DataZoom |
-| `RefreshGraph()` |public override void RefreshGraph() |
-| `RefreshPainter()` |public void RefreshPainter(int index) |
-| `RefreshPainter()` |public void RefreshPainter(Serie serie) |
-| `RefreshTopPainter()` |public void RefreshTopPainter() |
-| `RefreshUpperPainter()` |public void RefreshUpperPainter() |
-| `RemoveAllChartComponent()` |public void RemoveAllChartComponent() |
-| `RemoveAllSerie()` |public virtual void RemoveAllSerie()Remove all of them Serie. This interface is used when Serie needs to be removed only, and RemoveData() is generally used in other cases. |
-| `RemoveChartComponent()` |public bool RemoveChartComponent(MainComponent component) |
-| `RemoveChartComponent()` |public bool RemoveChartComponent(Type type, int index = 0) |
-| `RemoveChartComponent()` |public bool RemoveChartComponent(int index = 0) |
-| `RemoveChartComponents()` |public int RemoveChartComponents(Type type) |
-| `RemoveChartComponents()` |public int RemoveChartComponents() |
-| `RemoveData()` |public virtual void RemoveData()Empty all component data and remove all series. Use the chart again and again to tell the truth. Note: The component only clears the data part, and the parameters are retained and not reset. |
-| `RemoveData()` |public virtual void RemoveData(string serieName)Remove legend and serie by name. |
-| `RemoveSerie()` |public void RemoveSerie(int serieIndex) |
-| `RemoveSerie()` |public void RemoveSerie(Serie serie) |
-| `RemoveSerie()` |public void RemoveSerie(string serieName) |
-| `RemoveSerie()` |public void RemoveSerie() where T : Serie |
-| `ReplaceSerie()` |public bool ReplaceSerie(Serie oldSerie, Serie newSerie) |
-| `ResetDataIndex()` |public bool ResetDataIndex(int serieIndex)重置serie的数据项索引。避免数据项索引异常。 |
-| `SaveAsImage()` |public void SaveAsImage(string imageType = "png", string savePath = "")保存图表为图片。 |
-| `SetBasePainterMaterial()` |public void SetBasePainterMaterial(Material material)设置Base Painter的材质球 |
-| `SetMaxCache()` |public void SetMaxCache(int maxCache)设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。 |
-| `SetPainterActive()` |public void SetPainterActive(int index, bool flag) |
-| `SetSerieActive()` |public void SetSerieActive(int serieIndex, bool active)Whether to show serie. |
-| `SetSerieActive()` |public void SetSerieActive(Serie serie, bool active) |
-| `SetSerieActive()` |public void SetSerieActive(string serieName, bool active)Whether to show serie. |
-| `SetSeriePainterMaterial()` |public void SetSeriePainterMaterial(Material material)设置Serie Painter的材质球 |
-| `SetTopPainterMaterial()` |public void SetTopPainterMaterial(Material material)设置Top Painter的材质球 |
-| `SetUpperPainterMaterial()` |public void SetUpperPainterMaterial(Material material)设置Upper Painter的材质球 |
-| `TryAddChartComponent()` |public bool TryAddChartComponent(Type type) |
-| `TryAddChartComponent()` |public bool TryAddChartComponent() where T : MainComponent |
-| `TryAddChartComponent()` |public bool TryAddChartComponent(out T component) where T : MainComponent |
-| `TryGetChartComponent()` |public bool TryGetChartComponent(out T component, int index = 0) |
-| `UdpateXAxisIcon()` |public void UdpateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)Update xAxis icon. |
-| `UpdateData()` |public bool UpdateData(int serieIndex, int dataIndex, double value)Update serie data by serie index. |
-| `UpdateData()` |public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)更新指定系列指定索引指定维数的数据。维数从0开始。 |
-| `UpdateData()` |public bool UpdateData(int serieIndex, int dataIndex, List multidimensionalData)更新指定系列指定索引的数据项的多维数据。 |
-| `UpdateData()` |public bool UpdateData(string serieName, int dataIndex, double value)Update serie data by serie name. |
-| `UpdateData()` |public bool UpdateData(string serieName, int dataIndex, int dimension, double value)更新指定系列指定索引指定维数的数据。维数从0开始。 |
-| `UpdateData()` |public bool UpdateData(string serieName, int dataIndex, List multidimensionalData)更新指定系列指定索引的数据项的多维数据。 |
-| `UpdateDataName()` |public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)Update serie data name. |
-| `UpdateDataName()` |public bool UpdateDataName(string serieName, int dataIndex, string dataName)Update serie data name. |
-| `UpdateLegendColor()` |public virtual void UpdateLegendColor(string legendName, bool active) |
-| `UpdateTheme()` |public bool UpdateTheme(ThemeType theme)Update chart theme. |
-| `UpdateTheme()` |public void UpdateTheme(Theme theme)Update chart theme info. |
-| `UpdateXAxisData()` |public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)Update category data. |
-| `UpdateYAxisData()` |public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)Update category data. |
-| `UpdateYAxisIcon()` |public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)更新Y轴图标。 |
+| AddChartComponent() |public MainComponent AddChartComponent(Type type)|
+| AddChartComponent<T>() |public T AddChartComponent<T>() where T : MainComponent|
+| AddChartComponentWhenNoExist<T>() |public T AddChartComponentWhenNoExist<T>() where T : MainComponent|
+| AddData() |public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
Add a (time,y) data to serie. |
+| AddData() |public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
Add a data to serie. |
+| AddData() |public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)|
+| AddData() |public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
Add a (x,y) data to serie. |
+| AddData() |public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
Add an arbitray dimension data to serie,such as (x,y,z,...). |
+| AddData() |public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
Add a (time,y) data to serie. |
+| AddData() |public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
Add a data to serie. |
+| AddData() |public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)|
+| AddData() |public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
Add a (x,y) data to serie. |
+| AddData() |public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
Add an arbitray dimension data to serie,such as (x,y,z,...). |
+| AddSerie<T>() |public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie|
+| AddXAxisData() |public void AddXAxisData(string category, int xAxisIndex = 0)
Add a category data to xAxis. |
+| AddXAxisIcon() |public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
Add an icon to xAxis. |
+| AddYAxisData() |public void AddYAxisData(string category, int yAxisIndex = 0)
Add a category data to yAxis. |
+| AddYAxisIcon() |public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
Add an icon to yAxis. |
+| AnimationEnable() |public void AnimationEnable(bool flag)
Whether series animation enabel. |
+| AnimationFadeIn() |public void AnimationFadeIn()
fadeIn animation. |
+| AnimationFadeOut() |public void AnimationFadeOut()
fadeIn animation. |
+| AnimationPause() |public void AnimationPause()
Pause animation. |
+| AnimationReset() |public void AnimationReset()
Reset animation. |
+| AnimationResume() |public void AnimationResume()
Stop play animation. |
+| CanAddChartComponent() |public bool CanAddChartComponent(Type type)|
+| CanAddSerie() |public bool CanAddSerie(Type type)|
+| CanAddSerie<T>() |public bool CanAddSerie<T>() where T : Serie|
+| CanMultipleComponent() |public bool CanMultipleComponent(Type type)|
+| ClampInChart() |public void ClampInChart(ref Vector3 pos)|
+| ClampInGrid() |public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)|
+| ClearData() |public virtual void ClearData()
Clear all components and series data. Note: serie only empties the data and does not remove serie. |
+| ClickLegendButton() |public void ClickLegendButton(int legendIndex, string legendName, bool show)
点击图例按钮 |
+| CovertSerie() |public bool CovertSerie(Serie serie, Type type)|
+| CovertSerie<T>() |public bool CovertSerie<T>(Serie serie) where T : Serie|
+| CovertXYAxis() |public void CovertXYAxis(int index)
转换X轴和Y轴的配置 |
+| GenerateDefaultSerieName() |public string GenerateDefaultSerieName()|
+| GetAllSerieDataCount() |public int GetAllSerieDataCount()|
+| GetChartBackgroundColor() |public Color32 GetChartBackgroundColor()|
+| GetChartComponent<T>() |public T GetChartComponent<T>(int index = 0) where T : MainComponent|
+| GetChartComponentNum() |public int GetChartComponentNum(Type type)|
+| GetChartComponentNum<T>() |public int GetChartComponentNum<T>() where T : MainComponent|
+| GetChartComponents<T>() |public List<MainComponent> GetChartComponents<T>() where T : MainComponent|
+| GetData() |public double GetData(int serieIndex, int dataIndex, int dimension = 1)|
+| GetData() |public double GetData(string serieName, int dataIndex, int dimension = 1)|
+| GetDataZoomOfAxis() |public DataZoom GetDataZoomOfAxis(Axis axis)|
+| GetDataZoomOfSerie() |public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)|
+| GetGrid() |public GridCoord GetGrid(Vector2 local)|
+| GetGridOfDataZoom() |public GridCoord GetGridOfDataZoom(DataZoom dataZoom)|
+| GetItemColor() |public Color32 GetItemColor(Serie serie)|
+| GetItemColor() |public Color32 GetItemColor(Serie serie, SerieData serieData)|
+| GetItemColor() |public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)|
+| GetLegendRealShowNameColor() |public Color32 GetLegendRealShowNameColor(string name)|
+| GetLegendRealShowNameIndex() |public int GetLegendRealShowNameIndex(string name)|
+| GetOrAddChartComponent<T>() |public T GetOrAddChartComponent<T>() where T : MainComponent|
+| GetPainter() |public Painter GetPainter(int index)|
+| GetSerie() |public Serie GetSerie(int serieIndex)|
+| GetSerie() |public Serie GetSerie(string serieName)|
+| GetSerie<T>() |public T GetSerie<T>() where T : Serie|
+| GetSerie<T>() |public T GetSerie<T>(int serieIndex) where T : Serie|
+| GetSerieBarGap<T>() |public float GetSerieBarGap<T>() where T : Serie|
+| GetSerieBarRealCount<T>() |public int GetSerieBarRealCount<T>() where T : Serie|
+| GetSerieIndexIfStack<T>() |public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie|
+| GetSerieSameStackTotalValue<T>() |public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie|
+| GetSeriesMinMaxValue() |public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)|
+| GetSerieTotalGap<T>() |public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie|
+| GetSerieTotalWidth<T>() |public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie|
+| GetTitlePosition() |public Vector3 GetTitlePosition(Title title)|
+| GetVisualMapOfSerie() |public VisualMap GetVisualMapOfSerie(Serie serie)|
+| GetXDataZoomOfSerie() |public DataZoom GetXDataZoomOfSerie(Serie serie)|
+| GetXLerpColor() |public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)|
+| GetYLerpColor() |public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)|
+| HasChartComponent() |public bool HasChartComponent(Type type)|
+| HasChartComponent<T>() |public bool HasChartComponent<T>()|
+| HasSerie() |public bool HasSerie(Type type)|
+| HasSerie<T>() |public bool HasSerie<T>() where T : Serie|
+| Init() |public void Init(bool defaultChart = true)|
+| InitAxisRuntimeData() |public virtual void InitAxisRuntimeData(Axis axis) { }|
+| InsertSerie() |public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)|
+| InsertSerie<T>() |public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie|
+| Internal_CheckAnimation() |public void Internal_CheckAnimation()|
+| IsActiveByLegend() |public virtual bool IsActiveByLegend(string legendName)
Whether serie is activated. |
+| IsAllAxisCategory() |public bool IsAllAxisCategory()
纯类目轴。 |
+| IsAllAxisValue() |public bool IsAllAxisValue()
reutrn true when all the show axis is `Value` type. |
+| IsInAnyGrid() |public bool IsInAnyGrid(Vector2 local)|
+| IsInChart() |public bool IsInChart(float x, float y)|
+| IsInChart() |public bool IsInChart(Vector2 local)
坐标是否在图表范围内 |
+| IsSerieName() |public bool IsSerieName(string name)|
+| MoveDownSerie() |public bool MoveDownSerie(int serieIndex)|
+| MoveUpSerie() |public bool MoveUpSerie(int serieIndex)|
+| OnAfterDeserialize() |public void OnAfterDeserialize()|
+| OnBeforeSerialize() |public void OnBeforeSerialize()|
+| OnBeginDrag() |public override void OnBeginDrag(PointerEventData eventData)|
+| OnDataZoomRangeChanged() |public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)|
+| OnDrag() |public override void OnDrag(PointerEventData eventData)|
+| OnEndDrag() |public override void OnEndDrag(PointerEventData eventData)|
+| OnLegendButtonClick() |public virtual void OnLegendButtonClick(int index, string legendName, bool show)|
+| OnLegendButtonEnter() |public virtual void OnLegendButtonEnter(int index, string legendName)|
+| OnLegendButtonExit() |public virtual void OnLegendButtonExit(int index, string legendName)|
+| OnPointerClick() |public override void OnPointerClick(PointerEventData eventData)|
+| OnPointerDown() |public override void OnPointerDown(PointerEventData eventData)|
+| OnPointerEnter() |public override void OnPointerEnter(PointerEventData eventData)|
+| OnPointerExit() |public override void OnPointerExit(PointerEventData eventData)|
+| OnPointerUp() |public override void OnPointerUp(PointerEventData eventData)|
+| OnScroll() |public override void OnScroll(PointerEventData eventData)|
+| RefreshBasePainter() |public void RefreshBasePainter()|
+| RefreshChart() |public void RefreshChart()
Redraw chart in next frame. |
+| RefreshChart() |public void RefreshChart(int serieIndex)
Redraw chart serie in next frame. |
+| RefreshChart() |public void RefreshChart(Serie serie)
Redraw chart serie in next frame. |
+| RefreshDataZoom() |public void RefreshDataZoom()
在下一帧刷新DataZoom |
+| RefreshGraph() |public override void RefreshGraph()|
+| RefreshPainter() |public void RefreshPainter(int index)|
+| RefreshPainter() |public void RefreshPainter(Serie serie)|
+| RefreshTopPainter() |public void RefreshTopPainter()|
+| RefreshUpperPainter() |public void RefreshUpperPainter()|
+| RemoveAllChartComponent() |public void RemoveAllChartComponent()|
+| RemoveAllSerie() |public virtual void RemoveAllSerie()
Remove all of them Serie. This interface is used when Serie needs to be removed only, and RemoveData() is generally used in other cases. |
+| RemoveChartComponent() |public bool RemoveChartComponent(MainComponent component)|
+| RemoveChartComponent() |public bool RemoveChartComponent(Type type, int index = 0)|
+| RemoveChartComponent<T>() |public bool RemoveChartComponent<T>(int index = 0)|
+| RemoveChartComponents() |public int RemoveChartComponents(Type type)|
+| RemoveChartComponents<T>() |public int RemoveChartComponents<T>()|
+| RemoveData() |public virtual void RemoveData()
Empty all component data and remove all series. Use the chart again and again to tell the truth. Note: The component only clears the data part, and the parameters are retained and not reset. |
+| RemoveData() |public virtual void RemoveData(string serieName)
Remove legend and serie by name. |
+| RemoveSerie() |public void RemoveSerie(int serieIndex)|
+| RemoveSerie() |public void RemoveSerie(Serie serie)|
+| RemoveSerie() |public void RemoveSerie(string serieName)|
+| RemoveSerie<T>() |public void RemoveSerie<T>() where T : Serie|
+| ReplaceSerie() |public bool ReplaceSerie(Serie oldSerie, Serie newSerie)|
+| ResetDataIndex() |public bool ResetDataIndex(int serieIndex)
重置serie的数据项索引。避免数据项索引异常。 |
+| SaveAsImage() |public void SaveAsImage(string imageType = "png", string savePath = "")
保存图表为图片。 |
+| SetBasePainterMaterial() |public void SetBasePainterMaterial(Material material)
设置Base Painter的材质球 |
+| SetMaxCache() |public void SetMaxCache(int maxCache)
设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。 |
+| SetPainterActive() |public void SetPainterActive(int index, bool flag)|
+| SetSerieActive() |public void SetSerieActive(int serieIndex, bool active)
Whether to show serie. |
+| SetSerieActive() |public void SetSerieActive(Serie serie, bool active)|
+| SetSerieActive() |public void SetSerieActive(string serieName, bool active)
Whether to show serie. |
+| SetSeriePainterMaterial() |public void SetSeriePainterMaterial(Material material)
设置Serie Painter的材质球 |
+| SetTopPainterMaterial() |public void SetTopPainterMaterial(Material material)
设置Top Painter的材质球 |
+| SetUpperPainterMaterial() |public void SetUpperPainterMaterial(Material material)
设置Upper Painter的材质球 |
+| TryAddChartComponent() |public bool TryAddChartComponent(Type type)|
+| TryAddChartComponent<T>() |public bool TryAddChartComponent<T>() where T : MainComponent|
+| TryAddChartComponent<T>() |public bool TryAddChartComponent<T>(out T component) where T : MainComponent|
+| TryGetChartComponent<T>() |public bool TryGetChartComponent<T>(out T component, int index = 0)|
+| UdpateXAxisIcon() |public void UdpateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
Update xAxis icon. |
+| UpdateData() |public bool UpdateData(int serieIndex, int dataIndex, double value)
Update serie data by serie index. |
+| UpdateData() |public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
更新指定系列指定索引指定维数的数据。维数从0开始。 |
+| UpdateData() |public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
更新指定系列指定索引的数据项的多维数据。 |
+| UpdateData() |public bool UpdateData(string serieName, int dataIndex, double value)
Update serie data by serie name. |
+| UpdateData() |public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
更新指定系列指定索引指定维数的数据。维数从0开始。 |
+| UpdateData() |public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
更新指定系列指定索引的数据项的多维数据。 |
+| UpdateDataName() |public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
Update serie data name. |
+| UpdateDataName() |public bool UpdateDataName(string serieName, int dataIndex, string dataName)
Update serie data name. |
+| UpdateLegendColor() |public virtual void UpdateLegendColor(string legendName, bool active)|
+| UpdateTheme() |public bool UpdateTheme(ThemeType theme)
Update chart theme. |
+| UpdateTheme() |public void UpdateTheme(Theme theme)
Update chart theme info. |
+| UpdateXAxisData() |public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
Update category data. |
+| UpdateYAxisData() |public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
Update category data. |
+| UpdateYAxisIcon() |public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
更新Y轴图标。 |
-## `BaseGraph`
+## BaseGraph
Inherits or Implemented: [MaskableGraphic](#MaskableGraphic),[IPointerDownHandler](#IPointerDownHandler),[IPointerUpHandler](#IPointerUpHandler),[](#)
|public method|description|
|--|--|
-| `CheckWarning()` |public string CheckWarning()检测警告信息。 |
-| `OnBeginDrag()` |public virtual void OnBeginDrag(PointerEventData eventData) |
-| `OnDrag()` |public virtual void OnDrag(PointerEventData eventData) |
-| `OnEndDrag()` |public virtual void OnEndDrag(PointerEventData eventData) |
-| `OnPointerClick()` |public virtual void OnPointerClick(PointerEventData eventData) |
-| `OnPointerDown()` |public virtual void OnPointerDown(PointerEventData eventData) |
-| `OnPointerEnter()` |public virtual void OnPointerEnter(PointerEventData eventData) |
-| `OnPointerExit()` |public virtual void OnPointerExit(PointerEventData eventData) |
-| `OnPointerUp()` |public virtual void OnPointerUp(PointerEventData eventData) |
-| `OnScroll()` |public virtual void OnScroll(PointerEventData eventData) |
-| `RebuildChartObject()` |public void RebuildChartObject()移除并重新创建所有图表的Object。 |
-| `RefreshAllComponent()` |public void RefreshAllComponent() |
-| `RefreshGraph()` |public virtual void RefreshGraph()Redraw graph in next frame. |
-| `ScreenPointToChartPoint()` |public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint) |
-| `SetPainterDirty()` |public void SetPainterDirty()重新初始化Painter |
-| `SetSize()` |public virtual void SetSize(float width, float height)设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform) |
+| CheckWarning() |public string CheckWarning()
检测警告信息。 |
+| OnBeginDrag() |public virtual void OnBeginDrag(PointerEventData eventData)|
+| OnDrag() |public virtual void OnDrag(PointerEventData eventData)|
+| OnEndDrag() |public virtual void OnEndDrag(PointerEventData eventData)|
+| OnPointerClick() |public virtual void OnPointerClick(PointerEventData eventData)|
+| OnPointerDown() |public virtual void OnPointerDown(PointerEventData eventData)|
+| OnPointerEnter() |public virtual void OnPointerEnter(PointerEventData eventData)|
+| OnPointerExit() |public virtual void OnPointerExit(PointerEventData eventData)|
+| OnPointerUp() |public virtual void OnPointerUp(PointerEventData eventData)|
+| OnScroll() |public virtual void OnScroll(PointerEventData eventData)|
+| RebuildChartObject() |public void RebuildChartObject()
移除并重新创建所有图表的Object。 |
+| RefreshAllComponent() |public void RefreshAllComponent()|
+| RefreshGraph() |public virtual void RefreshGraph()
Redraw graph in next frame. |
+| ScreenPointToChartPoint() |public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)|
+| SetPainterDirty() |public void SetPainterDirty()
重新初始化Painter |
+| SetSize() |public virtual void SetSize(float width, float height)
设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform) |
-## `CandlestickChart`
+## CandlestickChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `ChartCached`
+## ChartCached
|public method|description|
|--|--|
-| `ColorToDotStr()` |public static string ColorToDotStr(Color color) |
-| `ColorToStr()` |public static string ColorToStr(Color color) |
-| `FloatToStr()` |public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0) |
-| `GetSerieLabelName()` |public static string GetSerieLabelName(string prefix, int i, int j) |
-| `IntToStr()` |public static string IntToStr(int value, string numericFormatter = "") |
-| `NumberToStr()` |public static string NumberToStr(double value, string formatter) |
+| ColorToDotStr() |public static string ColorToDotStr(Color color)|
+| ColorToStr() |public static string ColorToStr(Color color)|
+| FloatToStr() |public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)|
+| GetSerieLabelName() |public static string GetSerieLabelName(string prefix, int i, int j)|
+| IntToStr() |public static string IntToStr(int value, string numericFormatter = "")|
+| NumberToStr() |public static string NumberToStr(double value, string formatter)|
-## `ChartConst`
+## ChartConst
-## `ChartDrawer`
+## ChartDrawer
-## `ChartHelper`
+## ChartHelper
|public method|description|
|--|--|
-| `ActiveAllObject()` |public static void ActiveAllObject(Transform parent, bool active, string match = null) |
-| `AddIcon()` |public static Image AddIcon(string name, Transform parent, IconStyle iconStyle) |
-| `Cancat()` |public static string Cancat(string str1, int i) |
-| `Cancat()` |public static string Cancat(string str1, string str2) |
-| `ClearEventListener()` |public static void ClearEventListener(GameObject obj) |
-| `CopyArray()` |public static bool CopyArray(T[] toList, T[] fromList) |
-| `CopyList()` |public static bool CopyList(List toList, List fromList) |
-| `DestoryGameObject()` |public static void DestoryGameObject(GameObject go) |
-| `DestoryGameObject()` |public static void DestoryGameObject(Transform parent, string childName) |
-| `DestoryGameObjectByMatch()` |public static void DestoryGameObjectByMatch(Transform parent, string match) |
-| `DestroyAllChildren()` |public static void DestroyAllChildren(Transform parent) |
-| `GetActualValue()` |public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f) |
-| `GetAngle360()` |public static float GetAngle360(Vector2 from, Vector2 to)获得0-360的角度(12点钟方向为0度) |
-| `GetBlurColor()` |public static Color32 GetBlurColor(Color32 color, float a = 0.3f) |
-| `GetColor()` |public static Color32 GetColor(string hexColorStr) |
-| `GetDire()` |public static Vector3 GetDire(float angle, bool isDegree = false) |
-| `GetFloatAccuracy()` |public static int GetFloatAccuracy(double value) |
-| `GetFullName()` |public static string GetFullName(Transform transform) |
-| `GetHighlightColor()` |public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f) |
-| `GetLastValue()` |public static Vector3 GetLastValue(List list) |
-| `GetMaxDivisibleValue()` |public static double GetMaxDivisibleValue(double max, double ceilRate) |
-| `GetMaxLogValue()` |public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber) |
-| `GetMinDivisibleValue()` |public static double GetMinDivisibleValue(double min, double ceilRate) |
-| `GetMinLogValue()` |public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber) |
-| `GetOrAddComponent()` |public static T GetOrAddComponent(GameObject gameObject) where T : Component |
-| `GetOrAddComponent()` |public static T GetOrAddComponent(Transform transform) where T : Component |
-| `GetPointList()` |public static void GetPointList(ref List posList, Vector3 sp, Vector3 ep, float k = 30f) |
-| `GetPos()` |public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false) |
-| `GetPosition()` |public static Vector3 GetPosition(Vector3 center, float angle, float radius) |
-| `GetSelectColor()` |public static Color32 GetSelectColor(Color32 color, float rate = 0.8f) |
-| `GetVertialDire()` |public static Vector3 GetVertialDire(Vector3 dire) |
-| `HideAllObject()` |public static void HideAllObject(GameObject obj, string match = null) |
-| `HideAllObject()` |public static void HideAllObject(Transform parent, string match = null) |
-| `IsClearColor()` |public static bool IsClearColor(Color color) |
-| `IsClearColor()` |public static bool IsClearColor(Color32 color) |
-| `IsColorAlphaZero()` |public static bool IsColorAlphaZero(Color color) |
-| `IsEquals()` |public static bool IsEquals(double d1, double d2) |
-| `IsEquals()` |public static bool IsEquals(float d1, float d2) |
-| `IsIngore()` |public static bool IsIngore(Vector3 pos) |
-| `IsInRect()` |public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax) |
-| `IsPointInQuadrilateral()` |public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D) |
-| `IsValueEqualsColor()` |public static bool IsValueEqualsColor(Color color1, Color color2) |
-| `IsValueEqualsColor()` |public static bool IsValueEqualsColor(Color32 color1, Color32 color2) |
-| `IsValueEqualsList()` |public static bool IsValueEqualsList(List list1, List list2) |
-| `IsValueEqualsString()` |public static bool IsValueEqualsString(string str1, string str2) |
-| `IsValueEqualsVector2()` |public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2) |
-| `IsValueEqualsVector3()` |public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2) |
-| `IsZeroVector()` |public static bool IsZeroVector(Vector3 pos) |
-| `ParseFloatFromString()` |public static List ParseFloatFromString(string jsonData) |
-| `ParseStringFromString()` |public static List ParseStringFromString(string jsonData) |
-| `RemoveComponent()` |public static void RemoveComponent(GameObject gameObject) |
-| `RotateRound()` |public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle) |
-| `SaveAsImage()` |public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "") |
-| `SetActive()` |public static void SetActive(GameObject gameObject, bool active) |
-| `SetActive()` |public static void SetActive(Image image, bool active) |
-| `SetActive()` |public static void SetActive(Text text, bool active) |
-| `SetActive()` |public static void SetActive(Transform transform, bool active)通过设置scale实现是否显示,优化性能,减少GC |
-| `SetBackground()` |public static void SetBackground(Image background, ImageStyle imageStyle) |
-| `SetColorOpacity()` |public static void SetColorOpacity(ref Color32 color, float opacity) |
+| ActiveAllObject() |public static void ActiveAllObject(Transform parent, bool active, string match = null)|
+| AddIcon() |public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)|
+| Cancat() |public static string Cancat(string str1, int i)|
+| Cancat() |public static string Cancat(string str1, string str2)|
+| ClearEventListener() |public static void ClearEventListener(GameObject obj)|
+| CopyArray<T>() |public static bool CopyArray<T>(T[] toList, T[] fromList)|
+| CopyList<T>() |public static bool CopyList<T>(List<T> toList, List<T> fromList)|
+| DestoryGameObject() |public static void DestoryGameObject(GameObject go)|
+| DestoryGameObject() |public static void DestoryGameObject(Transform parent, string childName)|
+| DestoryGameObjectByMatch() |public static void DestoryGameObjectByMatch(Transform parent, string match)|
+| DestroyAllChildren() |public static void DestroyAllChildren(Transform parent)|
+| GetActualValue() |public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)|
+| GetAngle360() |public static float GetAngle360(Vector2 from, Vector2 to)
获得0-360的角度(12点钟方向为0度) |
+| GetBlurColor() |public static Color32 GetBlurColor(Color32 color, float a = 0.3f)|
+| GetColor() |public static Color32 GetColor(string hexColorStr)|
+| GetDire() |public static Vector3 GetDire(float angle, bool isDegree = false)|
+| GetFloatAccuracy() |public static int GetFloatAccuracy(double value)|
+| GetFullName() |public static string GetFullName(Transform transform)|
+| GetHighlightColor() |public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)|
+| GetLastValue() |public static Vector3 GetLastValue(List<Vector3> list)|
+| GetMaxDivisibleValue() |public static double GetMaxDivisibleValue(double max, double ceilRate)|
+| GetMaxLogValue() |public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)|
+| GetMinDivisibleValue() |public static double GetMinDivisibleValue(double min, double ceilRate)|
+| GetMinLogValue() |public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)|
+| GetOrAddComponent<T>() |public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component|
+| GetOrAddComponent<T>() |public static T GetOrAddComponent<T>(Transform transform) where T : Component|
+| GetPointList() |public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)|
+| GetPos() |public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)|
+| GetPosition() |public static Vector3 GetPosition(Vector3 center, float angle, float radius)|
+| GetSelectColor() |public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)|
+| GetVertialDire() |public static Vector3 GetVertialDire(Vector3 dire)|
+| HideAllObject() |public static void HideAllObject(GameObject obj, string match = null)|
+| HideAllObject() |public static void HideAllObject(Transform parent, string match = null)|
+| IsClearColor() |public static bool IsClearColor(Color color)|
+| IsClearColor() |public static bool IsClearColor(Color32 color)|
+| IsColorAlphaZero() |public static bool IsColorAlphaZero(Color color)|
+| IsEquals() |public static bool IsEquals(double d1, double d2)|
+| IsEquals() |public static bool IsEquals(float d1, float d2)|
+| IsIngore() |public static bool IsIngore(Vector3 pos)|
+| IsInRect() |public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)|
+| IsPointInQuadrilateral() |public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)|
+| IsValueEqualsColor() |public static bool IsValueEqualsColor(Color color1, Color color2)|
+| IsValueEqualsColor() |public static bool IsValueEqualsColor(Color32 color1, Color32 color2)|
+| IsValueEqualsList<T>() |public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)|
+| IsValueEqualsString() |public static bool IsValueEqualsString(string str1, string str2)|
+| IsValueEqualsVector2() |public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)|
+| IsValueEqualsVector3() |public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)|
+| IsZeroVector() |public static bool IsZeroVector(Vector3 pos)|
+| ParseFloatFromString() |public static List<float> ParseFloatFromString(string jsonData)|
+| ParseStringFromString() |public static List<string> ParseStringFromString(string jsonData)|
+| RemoveComponent<T>() |public static void RemoveComponent<T>(GameObject gameObject)|
+| RotateRound() |public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)|
+| SaveAsImage() |public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")|
+| SetActive() |public static void SetActive(GameObject gameObject, bool active)|
+| SetActive() |public static void SetActive(Image image, bool active)|
+| SetActive() |public static void SetActive(Text text, bool active)|
+| SetActive() |public static void SetActive(Transform transform, bool active)
通过设置scale实现是否显示,优化性能,减少GC |
+| SetBackground() |public static void SetBackground(Image background, ImageStyle imageStyle)|
+| SetColorOpacity() |public static void SetColorOpacity(ref Color32 color, float opacity)|
-## `ChartLabel`
+## ChartLabel
Inherits or Implemented: [Image](#Image)
|public method|description|
|--|--|
-| `GetHeight()` |public float GetHeight() |
-| `GetPosition()` |public Vector3 GetPosition() |
-| `GetTextHeight()` |public float GetTextHeight() |
-| `GetTextWidth()` |public float GetTextWidth() |
-| `GetWidth()` |public float GetWidth() |
-| `SetActive()` |public void SetActive(bool flag) |
-| `SetIcon()` |public void SetIcon(Image image) |
-| `SetIconActive()` |public void SetIconActive(bool flag) |
-| `SetIconSize()` |public void SetIconSize(float width, float height) |
-| `SetIconSprite()` |public void SetIconSprite(Sprite sprite) |
-| `SetPadding()` |public void SetPadding(float[] padding) |
-| `SetPosition()` |public void SetPosition(Vector3 position) |
-| `SetRectPosition()` |public void SetRectPosition(Vector3 position) |
-| `SetSize()` |public void SetSize(float width, float height) |
-| `SetText()` |public bool SetText(string text) |
-| `SetTextActive()` |public void SetTextActive(bool flag) |
-| `SetTextColor()` |public void SetTextColor(Color color) |
-| `SetTextPadding()` |public void SetTextPadding(TextPadding padding) |
-| `SetTextRotate()` |public void SetTextRotate(float rotate) |
-| `UpdateIcon()` |public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null) |
+| GetHeight() |public float GetHeight()|
+| GetPosition() |public Vector3 GetPosition()|
+| GetTextHeight() |public float GetTextHeight()|
+| GetTextWidth() |public float GetTextWidth()|
+| GetWidth() |public float GetWidth()|
+| SetActive() |public void SetActive(bool flag)|
+| SetIcon() |public void SetIcon(Image image)|
+| SetIconActive() |public void SetIconActive(bool flag)|
+| SetIconSize() |public void SetIconSize(float width, float height)|
+| SetIconSprite() |public void SetIconSprite(Sprite sprite)|
+| SetPadding() |public void SetPadding(float[] padding)|
+| SetPosition() |public void SetPosition(Vector3 position)|
+| SetRectPosition() |public void SetRectPosition(Vector3 position)|
+| SetSize() |public void SetSize(float width, float height)|
+| SetText() |public bool SetText(string text)|
+| SetTextActive() |public void SetTextActive(bool flag)|
+| SetTextColor() |public void SetTextColor(Color color)|
+| SetTextPadding() |public void SetTextPadding(TextPadding padding)|
+| SetTextRotate() |public void SetTextRotate(float rotate)|
+| UpdateIcon() |public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null)|
-## `ChartObject`
+## ChartObject
|public method|description|
|--|--|
-| `Destroy()` |public virtual void Destroy() |
+| Destroy() |public virtual void Destroy()|
-## `CheckHelper`
+## CheckHelper
|public method|description|
|--|--|
-| `CheckChart()` |public static string CheckChart(BaseChart chart) |
-| `CheckChart()` |public static string CheckChart(BaseGraph chart) |
+| CheckChart() |public static string CheckChart(BaseChart chart)|
+| CheckChart() |public static string CheckChart(BaseGraph chart)|
-## `ColorUtil`
+## ColorUtil
|public method|description|
|--|--|
-| `GetColor()` |public static Color32 GetColor(string hexColorStr)Convert the html string to color. |
+| GetColor() |public static Color32 GetColor(string hexColorStr)
Convert the html string to color. |
-## `ComponentHandlerAttribute`
+## ComponentHandlerAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `ComponentHandlerAttribute()` |public ComponentHandlerAttribute(Type handler) |
-| `ComponentHandlerAttribute()` |public ComponentHandlerAttribute(Type handler, bool allowMultiple) |
+| ComponentHandlerAttribute() |public ComponentHandlerAttribute(Type handler)|
+| ComponentHandlerAttribute() |public ComponentHandlerAttribute(Type handler, bool allowMultiple)|
-## `ComponentHelper`
+## ComponentHelper
|public method|description|
|--|--|
-| `GetAngleAxis()` |public static AngleAxis GetAngleAxis(List components, int polarIndex) |
-| `GetRadiusAxis()` |public static RadiusAxis GetRadiusAxis(List components, int polarIndex) |
-| `GetXAxisOnZeroOffset()` |public static float GetXAxisOnZeroOffset(List components, XAxis axis) |
-| `GetYAxisOnZeroOffset()` |public static float GetYAxisOnZeroOffset(List components, YAxis axis) |
-| `IsAnyCategoryOfYAxis()` |public static bool IsAnyCategoryOfYAxis(List components) |
+| GetAngleAxis() |public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)|
+| GetRadiusAxis() |public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)|
+| GetXAxisOnZeroOffset() |public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)|
+| GetYAxisOnZeroOffset() |public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)|
+| IsAnyCategoryOfYAxis() |public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)|
-## `CoordOptionsAttribute`
+## CoordOptionsAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `Contains()` |public bool Contains() where T : CoordSystem |
-| `CoordOptionsAttribute()` |public CoordOptionsAttribute(Type coord) |
-| `CoordOptionsAttribute()` |public CoordOptionsAttribute(Type coord, Type coord2) |
-| `CoordOptionsAttribute()` |public CoordOptionsAttribute(Type coord, Type coord2, Type coord3) |
-| `CoordOptionsAttribute()` |public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4) |
+| Contains<T>() |public bool Contains<T>() where T : CoordSystem|
+| CoordOptionsAttribute() |public CoordOptionsAttribute(Type coord)|
+| CoordOptionsAttribute() |public CoordOptionsAttribute(Type coord, Type coord2)|
+| CoordOptionsAttribute() |public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)|
+| CoordOptionsAttribute() |public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)|
-## `DataZoomContext`
+## DataZoomContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `DataZoomHelper`
+## DataZoomHelper
|public method|description|
|--|--|
-| `UpdateDataZoomRuntimeStartEndValue()` |public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie) |
-| `UpdateDataZoomRuntimeStartEndValue()` |public static void UpdateDataZoomRuntimeStartEndValue(BaseChart chart) where T : Serie |
+| UpdateDataZoomRuntimeStartEndValue() |public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)|
+| UpdateDataZoomRuntimeStartEndValue<T>() |public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie|
-## `DateTimeUtil`
+## DateTimeUtil
|public method|description|
|--|--|
-| `GetDateTime()` |public static DateTime GetDateTime(int timestamp) |
-| `GetTimestamp()` |public static int GetTimestamp() |
-| `GetTimestamp()` |public static int GetTimestamp(DateTime time) |
+| GetDateTime() |public static DateTime GetDateTime(int timestamp)|
+| GetTimestamp() |public static int GetTimestamp()|
+| GetTimestamp() |public static int GetTimestamp(DateTime time)|
-## `DefaultAnimationAttribute`
+## DefaultAnimationAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `DefaultAnimationAttribute()` |public DefaultAnimationAttribute(AnimationType handler) |
+| DefaultAnimationAttribute() |public DefaultAnimationAttribute(AnimationType handler)|
-## `DefineSymbolsUtil`
+## DefineSymbolsUtil
|public method|description|
|--|--|
-| `AddGlobalDefine()` |public static void AddGlobalDefine(string symbol) |
-| `RemoveGlobalDefine()` |public static void RemoveGlobalDefine(string symbol) |
+| AddGlobalDefine() |public static void AddGlobalDefine(string symbol)|
+| RemoveGlobalDefine() |public static void RemoveGlobalDefine(string symbol)|
-## `FormatterHelper`
+## FormatterHelper
|public method|description|
|--|--|
-| `NeedFormat()` |public static bool NeedFormat(string content) |
-| `ReplaceAxisLabelContent()` |public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value) |
-| `ReplaceAxisLabelContent()` |public static void ReplaceAxisLabelContent(ref string content, string value) |
-| `TrimAndReplaceLine()` |public static string TrimAndReplaceLine(string content) |
-| `TrimAndReplaceLine()` |public static string TrimAndReplaceLine(StringBuilder sb) |
+| NeedFormat() |public static bool NeedFormat(string content)|
+| ReplaceAxisLabelContent() |public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)|
+| ReplaceAxisLabelContent() |public static void ReplaceAxisLabelContent(ref string content, string value)|
+| TrimAndReplaceLine() |public static string TrimAndReplaceLine(string content)|
+| TrimAndReplaceLine() |public static string TrimAndReplaceLine(StringBuilder sb)|
-## `GridCoordContext`
+## GridCoordContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `HeatmapChart`
+## HeatmapChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `IgnoreDoc`
+## IgnoreDoc
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `IgnoreDoc()` |public IgnoreDoc() |
+| IgnoreDoc() |public IgnoreDoc()|
-## `InteractData`
+## InteractData
|public method|description|
|--|--|
-| `Reset()` |public void Reset() |
-| `SetColor()` |public void SetColor(ref bool needInteract, Color32 color) |
-| `SetColor()` |public void SetColor(ref bool needInteract, Color32 color, Color32 toColor) |
-| `SetValue()` |public void SetValue(ref bool needInteract, float size) |
-| `SetValue()` |public void SetValue(ref bool needInteract, float size, bool highlight, float rate = 1.3f) |
-| `SetValueAndColor()` |public void SetValueAndColor(ref bool needInteract, float value, Color32 color) |
-| `SetValueAndColor()` |public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor) |
-| `TryGetColor()` |public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250) |
-| `TryGetColor()` |public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250) |
-| `TryGetValue()` |public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250) |
-| `TryGetValueAndColor()` |public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250) |
+| Reset() |public void Reset()|
+| SetColor() |public void SetColor(ref bool needInteract, Color32 color)|
+| SetColor() |public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)|
+| SetValue() |public void SetValue(ref bool needInteract, float size)|
+| SetValue() |public void SetValue(ref bool needInteract, float size, bool highlight, float rate = 1.3f)|
+| SetValueAndColor() |public void SetValueAndColor(ref bool needInteract, float value, Color32 color)|
+| SetValueAndColor() |public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)|
+| TryGetColor() |public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)|
+| TryGetColor() |public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)|
+| TryGetValue() |public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)|
+| TryGetValueAndColor() |public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)|
-## `LayerHelper`
+## LayerHelper
|public method|description|
|--|--|
-| `IsFixedWidthHeight()` |public static bool IsFixedWidthHeight(RectTransform rt) |
-| `IsStretchPivot()` |public static bool IsStretchPivot(RectTransform rt) |
+| IsFixedWidthHeight() |public static bool IsFixedWidthHeight(RectTransform rt)|
+| IsStretchPivot() |public static bool IsStretchPivot(RectTransform rt)|
-## `LegendContext`
+## LegendContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `LegendHelper`
+## LegendHelper
|public method|description|
|--|--|
-| `CheckDataHighlighted()` |public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight) |
-| `CheckDataShow()` |public static bool CheckDataShow(Serie serie, string legendName, bool show) |
-| `GetContentColor()` |public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active) |
-| `GetIconColor()` |public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active) |
-| `ResetItemPosition()` |public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight) |
-| `SetLegendBackground()` |public static void SetLegendBackground(Legend legend, ImageStyle style) |
+| CheckDataHighlighted() |public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)|
+| CheckDataShow() |public static bool CheckDataShow(Serie serie, string legendName, bool show)|
+| GetContentColor() |public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)|
+| GetIconColor() |public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)|
+| ResetItemPosition() |public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)|
+| SetLegendBackground() |public static void SetLegendBackground(Legend legend, ImageStyle style)|
-## `LegendItem`
+## LegendItem
|public method|description|
|--|--|
-| `GetIconColor()` |public Color GetIconColor() |
-| `GetIconRect()` |public Rect GetIconRect() |
-| `SetActive()` |public void SetActive(bool active) |
-| `SetBackground()` |public void SetBackground(ImageStyle imageStyle) |
-| `SetButton()` |public void SetButton(Button button) |
-| `SetContent()` |public bool SetContent(string content) |
-| `SetContentBackgroundColor()` |public void SetContentBackgroundColor(Color color) |
-| `SetContentColor()` |public void SetContentColor(Color color) |
-| `SetContentPosition()` |public void SetContentPosition(Vector3 offset) |
-| `SetIcon()` |public void SetIcon(Image icon) |
-| `SetIconActive()` |public void SetIconActive(bool active) |
-| `SetIconColor()` |public void SetIconColor(Color color) |
-| `SetIconImage()` |public void SetIconImage(Sprite image) |
-| `SetIconSize()` |public void SetIconSize(float width, float height) |
-| `SetObject()` |public void SetObject(GameObject obj) |
-| `SetPosition()` |public void SetPosition(Vector3 position) |
-| `SetText()` |public void SetText(ChartText text) |
-| `SetTextBackground()` |public void SetTextBackground(Image image) |
+| GetIconColor() |public Color GetIconColor()|
+| GetIconRect() |public Rect GetIconRect()|
+| SetActive() |public void SetActive(bool active)|
+| SetBackground() |public void SetBackground(ImageStyle imageStyle)|
+| SetButton() |public void SetButton(Button button)|
+| SetContent() |public bool SetContent(string content)|
+| SetContentBackgroundColor() |public void SetContentBackgroundColor(Color color)|
+| SetContentColor() |public void SetContentColor(Color color)|
+| SetContentPosition() |public void SetContentPosition(Vector3 offset)|
+| SetIcon() |public void SetIcon(Image icon)|
+| SetIconActive() |public void SetIconActive(bool active)|
+| SetIconColor() |public void SetIconColor(Color color)|
+| SetIconImage() |public void SetIconImage(Sprite image)|
+| SetIconSize() |public void SetIconSize(float width, float height)|
+| SetObject() |public void SetObject(GameObject obj)|
+| SetPosition() |public void SetPosition(Vector3 position)|
+| SetText() |public void SetText(ChartText text)|
+| SetTextBackground() |public void SetTextBackground(Image image)|
-## `LineChart`
+## LineChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `ListFor`
+## ListFor
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `ListFor()` |public ListFor(Type type) |
+| ListFor() |public ListFor(Type type)|
-## `ListForComponent`
+## ListForComponent
Inherits or Implemented: [ListFor](#ListFor)
|public method|description|
|--|--|
-| `ListForComponent()` |public ListForComponent(Type type) : base(type) |
+| ListForComponent() |public ListForComponent(Type type) : base(type)|
-## `ListForSerie`
+## ListForSerie
Inherits or Implemented: [ListFor](#ListFor)
|public method|description|
|--|--|
-| `ListForSerie()` |public ListForSerie(Type type) : base(type) |
+| ListForSerie() |public ListForSerie(Type type) : base(type)|
-## `MainComponentContext`
+## MainComponentContext
-## `MainComponentHandler`
+## MainComponentHandler
|public method|description|
|--|--|
-| `CheckComponent()` |public virtual void CheckComponent(StringBuilder sb) { } |
-| `DrawBase()` |public virtual void DrawBase(VertexHelper vh) { } |
-| `DrawTop()` |public virtual void DrawTop(VertexHelper vh) { } |
-| `DrawUpper()` |public virtual void DrawUpper(VertexHelper vh) { } |
-| `InitComponent()` |public virtual void InitComponent() { } |
-| `OnBeginDrag()` |public virtual void OnBeginDrag(PointerEventData eventData) { } |
-| `OnDrag()` |public virtual void OnDrag(PointerEventData eventData) { } |
-| `OnEndDrag()` |public virtual void OnEndDrag(PointerEventData eventData) { } |
-| `OnPointerClick()` |public virtual void OnPointerClick(PointerEventData eventData) { } |
-| `OnPointerDown()` |public virtual void OnPointerDown(PointerEventData eventData) { } |
-| `OnPointerEnter()` |public virtual void OnPointerEnter(PointerEventData eventData) { } |
-| `OnPointerExit()` |public virtual void OnPointerExit(PointerEventData eventData) { } |
-| `OnPointerUp()` |public virtual void OnPointerUp(PointerEventData eventData) { } |
-| `OnScroll()` |public virtual void OnScroll(PointerEventData eventData) { } |
-| `OnSerieDataUpdate()` |public virtual void OnSerieDataUpdate(int serieIndex) { } |
-| `RemoveComponent()` |public virtual void RemoveComponent() { } |
-| `Update()` |public virtual void Update() { } |
+| CheckComponent() |public virtual void CheckComponent(StringBuilder sb) { }|
+| DrawBase() |public virtual void DrawBase(VertexHelper vh) { }|
+| DrawTop() |public virtual void DrawTop(VertexHelper vh) { }|
+| DrawUpper() |public virtual void DrawUpper(VertexHelper vh) { }|
+| InitComponent() |public virtual void InitComponent() { }|
+| OnBeginDrag() |public virtual void OnBeginDrag(PointerEventData eventData) { }|
+| OnDrag() |public virtual void OnDrag(PointerEventData eventData) { }|
+| OnEndDrag() |public virtual void OnEndDrag(PointerEventData eventData) { }|
+| OnPointerClick() |public virtual void OnPointerClick(PointerEventData eventData) { }|
+| OnPointerDown() |public virtual void OnPointerDown(PointerEventData eventData) { }|
+| OnPointerEnter() |public virtual void OnPointerEnter(PointerEventData eventData) { }|
+| OnPointerExit() |public virtual void OnPointerExit(PointerEventData eventData) { }|
+| OnPointerUp() |public virtual void OnPointerUp(PointerEventData eventData) { }|
+| OnScroll() |public virtual void OnScroll(PointerEventData eventData) { }|
+| OnSerieDataUpdate() |public virtual void OnSerieDataUpdate(int serieIndex) { }|
+| RemoveComponent() |public virtual void RemoveComponent() { }|
+| Update() |public virtual void Update() { }|
-## `MainComponentHandler`
+## MainComponentHandler<T>
Inherits or Implemented: [MainComponentHandler](#MainComponentHandler)
-## `MathUtil`
+## MathUtil
|public method|description|
|--|--|
-| `Abs()` |public static double Abs(double d) |
-| `Approximately()` |public static bool Approximately(double a, double b) |
-| `Clamp()` |public static double Clamp(double d, double min, double max) |
-| `Clamp01()` |public static double Clamp01(double value) |
-| `Lerp()` |public static double Lerp(double a, double b, double t) |
+| Abs() |public static double Abs(double d)|
+| Approximately() |public static bool Approximately(double a, double b)|
+| Clamp() |public static double Clamp(double d, double min, double max)|
+| Clamp01() |public static double Clamp01(double value)|
+| Lerp() |public static double Lerp(double a, double b, double t)|
-## `ObjectPool where T`
+## ObjectPool<T> where T
Inherits or Implemented: [new()](#new())
|public method|description|
|--|--|
-| `ClearAll()` |public void ClearAll() |
-| `Get()` |public T Get() |
-| `new()` |public class ObjectPool where T : new() |
-| `ObjectPool()` |public ObjectPool(UnityAction actionOnGet, UnityAction actionOnRelease, bool newIfEmpty = true) |
-| `Release()` |public void Release(T element) |
+| ClearAll() |public void ClearAll()|
+| Get() |public T Get()|
+| new() |public class ObjectPool<T> where T : new()|
+| ObjectPool() |public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)|
+| Release() |public void Release(T element)|
-## `Painter`
+## Painter
Inherits or Implemented: [MaskableGraphic](#MaskableGraphic)
|public method|description|
|--|--|
-| `Init()` |public void Init() |
-| `Refresh()` |public void Refresh() |
-| `SetActive()` |public void SetActive(bool flag, bool isDebugMode = false) |
+| Init() |public void Init()|
+| Refresh() |public void Refresh()|
+| SetActive() |public void SetActive(bool flag, bool isDebugMode = false)|
-## `ParallelChart`
+## ParallelChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `ParallelCoordContext`
+## ParallelCoordContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `PieChart`
+## PieChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `PolarChart`
+## PolarChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `PolarCoordContext`
+## PolarCoordContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `ProgressBar`
+## ProgressBar
Inherits or Implemented: [BaseChart](#BaseChart)
-## `PropertyUtil`
+## PropertyUtil
|public method|description|
|--|--|
-| `SetClass()` |public static bool SetClass(ref T currentValue, T newValue, bool notNull = false) where T : class |
-| `SetColor()` |public static bool SetColor(ref Color currentValue, Color newValue) |
-| `SetColor()` |public static bool SetColor(ref Color32 currentValue, Color32 newValue) |
-| `SetStruct()` |public static bool SetStruct(ref T currentValue, T newValue) where T : struct |
+| SetClass<T>() |public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class|
+| SetColor() |public static bool SetColor(ref Color currentValue, Color newValue)|
+| SetColor() |public static bool SetColor(ref Color32 currentValue, Color32 newValue)|
+| SetStruct<T>() |public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct|
-## `RadarChart`
+## RadarChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `RadarCoordContext`
+## RadarCoordContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `ReflectionUtil`
+## ReflectionUtil
|public method|description|
|--|--|
-| `DeepCloneSerializeField()` |public static object DeepCloneSerializeField(object obj) |
-| `InvokeListAdd()` |public static void InvokeListAdd(object obj, FieldInfo field, object item) |
-| `InvokeListAddTo()` |public static void InvokeListAddTo(object obj, FieldInfo field, Action callback) |
-| `InvokeListClear()` |public static void InvokeListClear(object obj, FieldInfo field) |
-| `InvokeListCount()` |public static int InvokeListCount(object obj, FieldInfo field) |
-| `InvokeListGet()` |public static T InvokeListGet(object obj, FieldInfo field, int i) |
+| DeepCloneSerializeField() |public static object DeepCloneSerializeField(object obj)|
+| InvokeListAdd() |public static void InvokeListAdd(object obj, FieldInfo field, object item)|
+| InvokeListAddTo<T>() |public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)|
+| InvokeListClear() |public static void InvokeListClear(object obj, FieldInfo field)|
+| InvokeListCount() |public static int InvokeListCount(object obj, FieldInfo field)|
+| InvokeListGet<T>() |public static T InvokeListGet<T>(object obj, FieldInfo field, int i)|
-## `RequireChartComponentAttribute`
+## RequireChartComponentAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `RequireChartComponentAttribute()` |public RequireChartComponentAttribute(Type requiredComponent) |
-| `RequireChartComponentAttribute()` |public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2) |
-| `RequireChartComponentAttribute()` |public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3) |
+| RequireChartComponentAttribute() |public RequireChartComponentAttribute(Type requiredComponent)|
+| RequireChartComponentAttribute() |public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)|
+| RequireChartComponentAttribute() |public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)|
-## `RingChart`
+## RingChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `RuntimeUtil`
+## RuntimeUtil
|public method|description|
|--|--|
-| `GetAllAssemblyTypes()` |public static IEnumerable GetAllAssemblyTypes() |
-| `GetAllTypesDerivedFrom()` |public static IEnumerable GetAllTypesDerivedFrom(Type type) |
-| `GetAllTypesDerivedFrom()` |public static IEnumerable GetAllTypesDerivedFrom() |
-| `GetAttribute()` |public static T GetAttribute(this MemberInfo type, bool check = true) where T : Attribute |
-| `GetAttribute()` |public static T GetAttribute(this Type type, bool check = true) where T : Attribute |
-| `HasSubclass()` |public static bool HasSubclass(Type type) |
+| GetAllAssemblyTypes() |public static IEnumerable<Type> GetAllAssemblyTypes()|
+| GetAllTypesDerivedFrom() |public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)|
+| GetAllTypesDerivedFrom<T>() |public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()|
+| GetAttribute<T>() |public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute|
+| GetAttribute<T>() |public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute|
+| HasSubclass() |public static bool HasSubclass(Type type)|
-## `ScatterChart`
+## ScatterChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `SerieContext`
+## SerieContext
-## `SerieConvertAttribute`
+## SerieConvertAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `Contains()` |public bool Contains(Type type) |
-| `Contains()` |public bool Contains() where T : Serie |
-| `SerieConvertAttribute()` |public SerieConvertAttribute(Type serie) |
-| `SerieConvertAttribute()` |public SerieConvertAttribute(Type serie, Type serie2) |
-| `SerieConvertAttribute()` |public SerieConvertAttribute(Type serie, Type serie2, Type serie3) |
-| `SerieConvertAttribute()` |public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4) |
+| Contains() |public bool Contains(Type type)|
+| Contains<T>() |public bool Contains<T>() where T : Serie|
+| SerieConvertAttribute() |public SerieConvertAttribute(Type serie)|
+| SerieConvertAttribute() |public SerieConvertAttribute(Type serie, Type serie2)|
+| SerieConvertAttribute() |public SerieConvertAttribute(Type serie, Type serie2, Type serie3)|
+| SerieConvertAttribute() |public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)|
-## `SerieDataContext`
+## SerieDataContext
|public method|description|
|--|--|
-| `Reset()` |public void Reset() |
+| Reset() |public void Reset()|
-## `SerieDataExtraComponentAttribute`
+## SerieDataExtraComponentAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `Contains()` |public bool Contains(Type type) |
-| `Contains()` |public bool Contains() where T : ISerieExtraComponent |
-| `SerieDataExtraComponentAttribute()` |public SerieDataExtraComponentAttribute() |
-| `SerieDataExtraComponentAttribute()` |public SerieDataExtraComponentAttribute(Type type1) |
-| `SerieDataExtraComponentAttribute()` |public SerieDataExtraComponentAttribute(Type type1, Type type2) |
-| `SerieDataExtraComponentAttribute()` |public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3) |
-| `SerieDataExtraComponentAttribute()` |public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4) |
-| `SerieDataExtraComponentAttribute()` |public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5) |
-| `SerieDataExtraComponentAttribute()` |public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6) |
-| `SerieDataExtraComponentAttribute()` |public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7) |
+| Contains() |public bool Contains(Type type)|
+| Contains<T>() |public bool Contains<T>() where T : ISerieExtraComponent|
+| SerieDataExtraComponentAttribute() |public SerieDataExtraComponentAttribute()|
+| SerieDataExtraComponentAttribute() |public SerieDataExtraComponentAttribute(Type type1)|
+| SerieDataExtraComponentAttribute() |public SerieDataExtraComponentAttribute(Type type1, Type type2)|
+| SerieDataExtraComponentAttribute() |public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3)|
+| SerieDataExtraComponentAttribute() |public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4)|
+| SerieDataExtraComponentAttribute() |public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)|
+| SerieDataExtraComponentAttribute() |public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)|
+| SerieDataExtraComponentAttribute() |public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)|
-## `SerieDataExtraFieldAttribute`
+## SerieDataExtraFieldAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `Contains()` |public bool Contains(string field) |
-| `SerieDataExtraFieldAttribute()` |public SerieDataExtraFieldAttribute() |
-| `SerieDataExtraFieldAttribute()` |public SerieDataExtraFieldAttribute(string field1) |
-| `SerieDataExtraFieldAttribute()` |public SerieDataExtraFieldAttribute(string field1, string field2) |
-| `SerieDataExtraFieldAttribute()` |public SerieDataExtraFieldAttribute(string field1, string field2, string field3) |
-| `SerieDataExtraFieldAttribute()` |public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4) |
-| `SerieDataExtraFieldAttribute()` |public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5) |
-| `SerieDataExtraFieldAttribute()` |public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6) |
-| `SerieDataExtraFieldAttribute()` |public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7) |
+| Contains() |public bool Contains(string field)|
+| SerieDataExtraFieldAttribute() |public SerieDataExtraFieldAttribute()|
+| SerieDataExtraFieldAttribute() |public SerieDataExtraFieldAttribute(string field1)|
+| SerieDataExtraFieldAttribute() |public SerieDataExtraFieldAttribute(string field1, string field2)|
+| SerieDataExtraFieldAttribute() |public SerieDataExtraFieldAttribute(string field1, string field2, string field3)|
+| SerieDataExtraFieldAttribute() |public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)|
+| SerieDataExtraFieldAttribute() |public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)|
+| SerieDataExtraFieldAttribute() |public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)|
+| SerieDataExtraFieldAttribute() |public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)|
-## `SerieExtraComponentAttribute`
+## SerieExtraComponentAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `Contains()` |public bool Contains(Type type) |
-| `Contains()` |public bool Contains() where T : ISerieExtraComponent |
-| `SerieExtraComponentAttribute()` |public SerieExtraComponentAttribute() |
-| `SerieExtraComponentAttribute()` |public SerieExtraComponentAttribute(Type type1) |
-| `SerieExtraComponentAttribute()` |public SerieExtraComponentAttribute(Type type1, Type type2) |
-| `SerieExtraComponentAttribute()` |public SerieExtraComponentAttribute(Type type1, Type type2, Type type3) |
-| `SerieExtraComponentAttribute()` |public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4) |
-| `SerieExtraComponentAttribute()` |public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5) |
-| `SerieExtraComponentAttribute()` |public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6) |
-| `SerieExtraComponentAttribute()` |public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7) |
+| Contains() |public bool Contains(Type type)|
+| Contains<T>() |public bool Contains<T>() where T : ISerieExtraComponent|
+| SerieExtraComponentAttribute() |public SerieExtraComponentAttribute()|
+| SerieExtraComponentAttribute() |public SerieExtraComponentAttribute(Type type1)|
+| SerieExtraComponentAttribute() |public SerieExtraComponentAttribute(Type type1, Type type2)|
+| SerieExtraComponentAttribute() |public SerieExtraComponentAttribute(Type type1, Type type2, Type type3)|
+| SerieExtraComponentAttribute() |public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4)|
+| SerieExtraComponentAttribute() |public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)|
+| SerieExtraComponentAttribute() |public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)|
+| SerieExtraComponentAttribute() |public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)|
-## `SerieHandler`
+## SerieHandler
|public method|description|
|--|--|
-| `CheckComponent()` |public virtual void CheckComponent(StringBuilder sb) { } |
-| `DrawBase()` |public virtual void DrawBase(VertexHelper vh) { } |
-| `DrawSerie()` |public virtual void DrawSerie(VertexHelper vh) { } |
-| `DrawTop()` |public virtual void DrawTop(VertexHelper vh) { } |
-| `DrawUpper()` |public virtual void DrawUpper(VertexHelper vh) { } |
-| `InitComponent()` |public virtual void InitComponent() { } |
-| `OnBeginDrag()` |public virtual void OnBeginDrag(PointerEventData eventData) { } |
-| `OnDrag()` |public virtual void OnDrag(PointerEventData eventData) { } |
-| `OnEndDrag()` |public virtual void OnEndDrag(PointerEventData eventData) { } |
-| `OnLegendButtonClick()` |public virtual void OnLegendButtonClick(int index, string legendName, bool show) { } |
-| `OnLegendButtonEnter()` |public virtual void OnLegendButtonEnter(int index, string legendName) { } |
-| `OnLegendButtonExit()` |public virtual void OnLegendButtonExit(int index, string legendName) { } |
-| `OnPointerClick()` |public virtual void OnPointerClick(PointerEventData eventData) { } |
-| `OnPointerDown()` |public virtual void OnPointerDown(PointerEventData eventData) { } |
-| `OnPointerEnter()` |public virtual void OnPointerEnter(PointerEventData eventData) { } |
-| `OnPointerExit()` |public virtual void OnPointerExit(PointerEventData eventData) { } |
-| `OnPointerUp()` |public virtual void OnPointerUp(PointerEventData eventData) { } |
-| `OnScroll()` |public virtual void OnScroll(PointerEventData eventData) { } |
-| `RefreshLabelInternal()` |public virtual void RefreshLabelInternal() { } |
-| `RefreshLabelNextFrame()` |public virtual void RefreshLabelNextFrame() { } |
-| `RemoveComponent()` |public virtual void RemoveComponent() { } |
-| `Update()` |public virtual void Update() { } |
+| CheckComponent() |public virtual void CheckComponent(StringBuilder sb) { }|
+| DrawBase() |public virtual void DrawBase(VertexHelper vh) { }|
+| DrawSerie() |public virtual void DrawSerie(VertexHelper vh) { }|
+| DrawTop() |public virtual void DrawTop(VertexHelper vh) { }|
+| DrawUpper() |public virtual void DrawUpper(VertexHelper vh) { }|
+| InitComponent() |public virtual void InitComponent() { }|
+| OnBeginDrag() |public virtual void OnBeginDrag(PointerEventData eventData) { }|
+| OnDrag() |public virtual void OnDrag(PointerEventData eventData) { }|
+| OnEndDrag() |public virtual void OnEndDrag(PointerEventData eventData) { }|
+| OnLegendButtonClick() |public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }|
+| OnLegendButtonEnter() |public virtual void OnLegendButtonEnter(int index, string legendName) { }|
+| OnLegendButtonExit() |public virtual void OnLegendButtonExit(int index, string legendName) { }|
+| OnPointerClick() |public virtual void OnPointerClick(PointerEventData eventData) { }|
+| OnPointerDown() |public virtual void OnPointerDown(PointerEventData eventData) { }|
+| OnPointerEnter() |public virtual void OnPointerEnter(PointerEventData eventData) { }|
+| OnPointerExit() |public virtual void OnPointerExit(PointerEventData eventData) { }|
+| OnPointerUp() |public virtual void OnPointerUp(PointerEventData eventData) { }|
+| OnScroll() |public virtual void OnScroll(PointerEventData eventData) { }|
+| RefreshLabelInternal() |public virtual void RefreshLabelInternal() { }|
+| RefreshLabelNextFrame() |public virtual void RefreshLabelNextFrame() { }|
+| RemoveComponent() |public virtual void RemoveComponent() { }|
+| Update() |public virtual void Update() { }|
-## `SerieHandler`
+## SerieHandler<T>
Inherits or Implemented: [SerieHandler where T](#SerieHandler where T),[Serie](#Serie)
|public method|description|
|--|--|
-| `GetSerieDataAutoColor()` |public virtual Color GetSerieDataAutoColor(SerieData serieData) |
-| `GetSerieDataLabelOffset()` |public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label) |
-| `GetSerieDataLabelPosition()` |public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label) |
-| `GetSerieDataTitlePosition()` |public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle) |
-| `InitComponent()` |public override void InitComponent() |
-| `OnLegendButtonClick()` |public override void OnLegendButtonClick(int index, string legendName, bool show) |
-| `OnLegendButtonEnter()` |public override void OnLegendButtonEnter(int index, string legendName) |
-| `OnLegendButtonExit()` |public override void OnLegendButtonExit(int index, string legendName) |
-| `RefreshEndLabelInternal()` |public virtual void RefreshEndLabelInternal() |
-| `RefreshLabelInternal()` |public override void RefreshLabelInternal() |
-| `RefreshLabelNextFrame()` |public override void RefreshLabelNextFrame() |
-| `RemoveComponent()` |public override void RemoveComponent() |
-| `Update()` |public override void Update() |
+| GetSerieDataAutoColor() |public virtual Color GetSerieDataAutoColor(SerieData serieData)|
+| GetSerieDataLabelOffset() |public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)|
+| GetSerieDataLabelPosition() |public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)|
+| GetSerieDataTitlePosition() |public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)|
+| InitComponent() |public override void InitComponent()|
+| OnLegendButtonClick() |public override void OnLegendButtonClick(int index, string legendName, bool show)|
+| OnLegendButtonEnter() |public override void OnLegendButtonEnter(int index, string legendName)|
+| OnLegendButtonExit() |public override void OnLegendButtonExit(int index, string legendName)|
+| RefreshEndLabelInternal() |public virtual void RefreshEndLabelInternal()|
+| RefreshLabelInternal() |public override void RefreshLabelInternal()|
+| RefreshLabelNextFrame() |public override void RefreshLabelNextFrame()|
+| RemoveComponent() |public override void RemoveComponent()|
+| Update() |public override void Update()|
-## `SerieHandlerAttribute`
+## SerieHandlerAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `SerieHandlerAttribute()` |public SerieHandlerAttribute(Type handler) |
-| `SerieHandlerAttribute()` |public SerieHandlerAttribute(Type handler, bool allowMultiple) |
+| SerieHandlerAttribute() |public SerieHandlerAttribute(Type handler)|
+| SerieHandlerAttribute() |public SerieHandlerAttribute(Type handler, bool allowMultiple)|
-## `SerieHelper`
+## SerieHelper
|public method|description|
|--|--|
-| `CloneSerie()` |public static T CloneSerie(Serie serie) where T : Serie |
-| `CopySerie()` |public static void CopySerie(Serie oldSerie, Serie newSerie) |
-| `GetAllMinMaxData()` |public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null) |
-| `GetAreaStyle()` |public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData) |
-| `GetAverageData()` |public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null) |
-| `GetBlurStyle()` |public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData) |
-| `GetEmphasisStyle()` |public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData) |
-| `GetItemColor()` |public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true) |
-| `GetItemFormatter()` |public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null) |
-| `GetItemMarker()` |public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null) |
-| `GetItemStyle()` |public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) |
-| `GetLineColor()` |public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto) |
-| `GetLineStyle()` |public static LineStyle GetLineStyle(Serie serie, SerieData serieData) |
-| `GetMaxData()` |public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null) |
-| `GetMaxSerieData()` |public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null) |
-| `GetMedianData()` |public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null) |
-| `GetMinData()` |public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null) |
-| `GetMinMaxData()` |public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)Gets the maximum and minimum values of all data in the serie. |
-| `GetMinSerieData()` |public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null) |
-| `GetNumericFormatter()` |public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null) |
-| `GetSelectStyle()` |public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData) |
-| `GetSerieLabel()` |public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) |
-| `GetSerieLabelLine()` |public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) |
-| `GetSerieState()` |public static SerieState GetSerieState(Serie serie) |
-| `GetSerieState()` |public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false) |
-| `GetSerieState()` |public static SerieState GetSerieState(SerieData serieData) |
-| `GetSerieSymbol()` |public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) |
-| `GetStateStyle()` |public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state) |
-| `GetSysmbolSize()` |public static float GetSysmbolSize(Serie serie, SerieData serieData, ThemeStyle theme, float defaultSize, SerieState state = SerieState.Auto) |
-| `GetTitleStyle()` |public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData) |
-| `IsAllZeroValue()` |public static bool IsAllZeroValue(Serie serie, int dimension = 1)Whether the data for the specified dimension of serie are all 0. |
-| `IsDownPoint()` |public static bool IsDownPoint(Serie serie, int index) |
-| `UpdateCenter()` |public static void UpdateCenter(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)更新运行时中心点和半径 |
-| `UpdateFilterData()` |public static void UpdateFilterData(Serie serie, DataZoom dataZoom)根据dataZoom更新数据列表缓存 |
-| `UpdateMinMaxData()` |public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)获得指定维数的最大最小值 |
-| `UpdateRect()` |public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight) |
-| `UpdateSerieRuntimeFilterData()` |public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true) |
+| CloneSerie<T>() |public static T CloneSerie<T>(Serie serie) where T : Serie|
+| CopySerie() |public static void CopySerie(Serie oldSerie, Serie newSerie)|
+| GetAllMinMaxData() |public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)|
+| GetAreaStyle() |public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)|
+| GetAverageData() |public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)|
+| GetBlurStyle() |public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)|
+| GetEmphasisStyle() |public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)|
+| GetItemColor() |public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)|
+| GetItemFormatter() |public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)|
+| GetItemMarker() |public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)|
+| GetItemStyle() |public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)|
+| GetLineColor() |public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)|
+| GetLineStyle() |public static LineStyle GetLineStyle(Serie serie, SerieData serieData)|
+| GetMaxData() |public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)|
+| GetMaxSerieData() |public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)|
+| GetMedianData() |public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)|
+| GetMinData() |public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)|
+| GetMinMaxData() |public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
Gets the maximum and minimum values of all data in the serie. |
+| GetMinSerieData() |public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)|
+| GetNumericFormatter() |public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)|
+| GetSelectStyle() |public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)|
+| GetSerieLabel() |public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)|
+| GetSerieLabelLine() |public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)|
+| GetSerieState() |public static SerieState GetSerieState(Serie serie)|
+| GetSerieState() |public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)|
+| GetSerieState() |public static SerieState GetSerieState(SerieData serieData)|
+| GetSerieSymbol() |public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)|
+| GetStateStyle() |public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)|
+| GetSysmbolSize() |public static float GetSysmbolSize(Serie serie, SerieData serieData, ThemeStyle theme, float defaultSize, SerieState state = SerieState.Auto)|
+| GetTitleStyle() |public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)|
+| IsAllZeroValue() |public static bool IsAllZeroValue(Serie serie, int dimension = 1)
Whether the data for the specified dimension of serie are all 0. |
+| IsDownPoint() |public static bool IsDownPoint(Serie serie, int index)|
+| UpdateCenter() |public static void UpdateCenter(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
更新运行时中心点和半径 |
+| UpdateFilterData() |public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
根据dataZoom更新数据列表缓存 |
+| UpdateMinMaxData() |public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
获得指定维数的最大最小值 |
+| UpdateRect() |public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)|
+| UpdateSerieRuntimeFilterData() |public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)|
-## `SerieLabelHelper`
+## SerieLabelHelper
|public method|description|
|--|--|
-| `AvoidLabelOverlap()` |public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme) |
-| `CanShowLabel()` |public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion) |
-| `GetLabelColor()` |public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index) |
-| `GetRealLabelPosition()` |public static Vector3 GetRealLabelPosition(Serie serie, SerieData serieData, LabelStyle label, LabelLine labelLine) |
-| `SetGaugeLabelText()` |public static void SetGaugeLabelText(Serie serie) |
-| `UpdatePieLabelPosition()` |public static void UpdatePieLabelPosition(Serie serie, SerieData serieData) |
+| AvoidLabelOverlap() |public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme)|
+| CanShowLabel() |public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)|
+| GetLabelColor() |public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)|
+| GetRealLabelPosition() |public static Vector3 GetRealLabelPosition(Serie serie, SerieData serieData, LabelStyle label, LabelLine labelLine)|
+| SetGaugeLabelText() |public static void SetGaugeLabelText(Serie serie)|
+| UpdatePieLabelPosition() |public static void UpdatePieLabelPosition(Serie serie, SerieData serieData)|
-## `SerieLabelPool`
+## SerieLabelPool
|public method|description|
|--|--|
-| `ClearAll()` |public static void ClearAll() |
-| `Release()` |public static void Release(GameObject element) |
-| `ReleaseAll()` |public static void ReleaseAll(Transform parent) |
+| ClearAll() |public static void ClearAll()|
+| Release() |public static void Release(GameObject element)|
+| ReleaseAll() |public static void ReleaseAll(Transform parent)|
-## `SerieParams`
+## SerieParams
-## `SeriesHelper`
+## SeriesHelper
|public method|description|
|--|--|
-| `GetLastStackSerie()` |public static Serie GetLastStackSerie(List series, Serie serie)获得上一个同堆叠且显示的serie。 |
-| `GetLegalSerieNameList()` |public static List GetLegalSerieNameList(List series) |
-| `GetMaxSerieDataCount()` |public static int GetMaxSerieDataCount(List series) |
-| `GetNameColor()` |public static Color GetNameColor(BaseChart chart, int index, string name) |
-| `GetStackSeries()` |public static void GetStackSeries(List series, ref Dictionary> stackSeries)获得堆叠系列列表 |
-| `IsAnyClipSerie()` |public static bool IsAnyClipSerie(List series)是否有需裁剪的serie。 |
-| `IsLegalLegendName()` |public static bool IsLegalLegendName(string name) |
-| `IsPercentStack()` |public static bool IsPercentStack(List series) where T : Serie是否时百分比堆叠 |
-| `IsPercentStack()` |public static bool IsPercentStack(List series, string stackName) where T : Serie是否时百分比堆叠 |
-| `IsStack()` |public static bool IsStack(List series)是否由数据堆叠 |
-| `IsStack()` |public static bool IsStack(List series, string stackName) where T : Serie是否堆叠 |
-| `UpdateSerieNameList()` |public static void UpdateSerieNameList(BaseChart chart, ref List serieNameList)获得所有系列名,不包含空名字。 |
-| `UpdateStackDataList()` |public static void UpdateStackDataList(List series, Serie currSerie, DataZoom dataZoom, List> dataList) |
+| GetLastStackSerie() |public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
获得上一个同堆叠且显示的serie。 |
+| GetLegalSerieNameList() |public static List<string> GetLegalSerieNameList(List<Serie> series)|
+| GetMaxSerieDataCount() |public static int GetMaxSerieDataCount(List<Serie> series)|
+| GetNameColor() |public static Color GetNameColor(BaseChart chart, int index, string name)|
+| GetStackSeries() |public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
获得堆叠系列列表 |
+| IsAnyClipSerie() |public static bool IsAnyClipSerie(List<Serie> series)
是否有需裁剪的serie。 |
+| IsLegalLegendName() |public static bool IsLegalLegendName(string name)|
+| IsPercentStack<T>() |public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
是否时百分比堆叠 |
+| IsPercentStack<T>() |public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
是否时百分比堆叠 |
+| IsStack() |public static bool IsStack(List<Serie> series)
是否由数据堆叠 |
+| IsStack<T>() |public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
是否堆叠 |
+| UpdateSerieNameList() |public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
获得所有系列名,不包含空名字。 |
+| UpdateStackDataList() |public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)|
-## `SimplifiedBarChart`
+## SimplifiedBarChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `SimplifiedCandlestickChart`
+## SimplifiedCandlestickChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `SimplifiedLineChart`
+## SimplifiedLineChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `Since`
+## Since
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `Since()` |public Since(string version) |
+| Since() |public Since(string version)|
-## `SVG`
+## SVG
|public method|description|
|--|--|
-| `DrawPath()` |public static void DrawPath(VertexHelper vh, string path) |
-| `DrawPath()` |public static void DrawPath(VertexHelper vh, SVGPath path) |
-| `Test()` |public static void Test(VertexHelper vh) |
+| DrawPath() |public static void DrawPath(VertexHelper vh, string path)|
+| DrawPath() |public static void DrawPath(VertexHelper vh, SVGPath path)|
+| Test() |public static void Test(VertexHelper vh)|
-## `SVGImage`
+## SVGImage
Inherits or Implemented: [MaskableGraphic](#MaskableGraphic)
-## `SVGPath`
+## SVGPath
|public method|description|
|--|--|
-| `AddSegment()` |public void AddSegment(SVGPathSeg seg) |
-| `Draw()` |public void Draw(VertexHelper vh) |
-| `Parse()` |public static SVGPath Parse(string path) |
+| AddSegment() |public void AddSegment(SVGPathSeg seg)|
+| Draw() |public void Draw(VertexHelper vh)|
+| Parse() |public static SVGPath Parse(string path)|
-## `SVGPathSeg`
+## SVGPathSeg
|public method|description|
|--|--|
-| `SVGPathSeg()` |public SVGPathSeg(SVGPathSegType type) |
+| SVGPathSeg() |public SVGPathSeg(SVGPathSegType type)|
-## `TooltipContext`
+## TooltipContext
-## `TooltipData`
+## TooltipData
-## `TooltipHelper`
+## TooltipHelper
|public method|description|
|--|--|
-| `GetItemNumericFormatter()` |public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData) |
-| `GetLineColor()` |public static Color32 GetLineColor(Tooltip tooltip, ThemeStyle theme) |
-| `IsIgnoreFormatter()` |public static bool IsIgnoreFormatter(string itemFormatter) |
-| `LimitInRect()` |public static void LimitInRect(Tooltip tooltip, Rect chartRect) |
+| GetItemNumericFormatter() |public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)|
+| GetLineColor() |public static Color32 GetLineColor(Tooltip tooltip, ThemeStyle theme)|
+| IsIgnoreFormatter() |public static bool IsIgnoreFormatter(string itemFormatter)|
+| LimitInRect() |public static void LimitInRect(Tooltip tooltip, Rect chartRect)|
-## `TooltipView`
+## TooltipView
|public method|description|
|--|--|
-| `CreateView()` |public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent) |
-| `GetCurrentPos()` |public Vector3 GetCurrentPos() |
-| `GetTargetPos()` |public Vector3 GetTargetPos() |
-| `Refresh()` |public void Refresh() |
-| `SetActive()` |public void SetActive(bool flag) |
-| `Update()` |public void Update() |
-| `UpdatePosition()` |public void UpdatePosition(Vector3 pos) |
+| CreateView() |public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)|
+| GetCurrentPos() |public Vector3 GetCurrentPos()|
+| GetTargetPos() |public Vector3 GetTargetPos()|
+| Refresh() |public void Refresh()|
+| SetActive() |public void SetActive(bool flag)|
+| Update() |public void Update()|
+| UpdatePosition() |public void UpdatePosition(Vector3 pos)|
-## `TooltipViewItem`
+## TooltipViewItem
-## `UGL`
+## UGL
|public method|description|
|--|--|
-| `DrawDiamond()` |public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)Draw a diamond. 画菱形(钻石形状) |
-| `DrawDiamond()` |public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)Draw a diamond. 画菱形(钻石形状) |
-| `DrawEllipse()` |public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1) |
-| `DrawLine()` |public static void DrawLine(VertexHelper vh, List points, float width, Color32 color, bool smooth, bool closepath = false) |
-| `DrawLine()` |public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)Draw a line. 画直线 |
-| `DrawLine()` |public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)Draw a line. 画直线 |
-| `DrawPolygon()` |public static void DrawPolygon(VertexHelper vh, List points, Color32 color)填充任意多边形(目前只支持凸多边形) |
-| `DrawRectangle()` |public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color) |
-| `DrawRectangle()` |public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor) |
-| `DrawRectangle()` |public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color) |
-| `DrawRectangle()` |public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor) |
-| `DrawRectangle()` |public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)Draw a rectangle. 画带长方形 |
-| `DrawSquare()` |public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)Draw a square. 画正方形 |
-| `DrawSvgPath()` |public static void DrawSvgPath(VertexHelper vh, string path) |
-| `DrawTriangle()` |public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color) |
-| `DrawTriangle()` |public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor) |
+| DrawDiamond() |public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
Draw a diamond. 画菱形(钻石形状) |
+| DrawDiamond() |public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
Draw a diamond. 画菱形(钻石形状) |
+| DrawEllipse() |public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)|
+| DrawLine() |public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)|
+| DrawLine() |public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
Draw a line. 画直线 |
+| DrawLine() |public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
Draw a line. 画直线 |
+| DrawPolygon() |public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
填充任意多边形(目前只支持凸多边形) |
+| DrawRectangle() |public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)|
+| DrawRectangle() |public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)|
+| DrawRectangle() |public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)|
+| DrawRectangle() |public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)|
+| DrawRectangle() |public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
Draw a rectangle. 画带长方形 |
+| DrawSquare() |public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
Draw a square. 画正方形 |
+| DrawSvgPath() |public static void DrawSvgPath(VertexHelper vh, string path)|
+| DrawTriangle() |public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)|
+| DrawTriangle() |public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)|
-## `UGLExample`
+## UGLExample
Inherits or Implemented: [MaskableGraphic](#MaskableGraphic)
-## `UGLHelper`
+## UGLHelper
|public method|description|
|--|--|
-| `GetAngle360()` |public static float GetAngle360(Vector2 from, Vector2 to)获得0-360的角度(12点钟方向为0度) |
-| `GetBezier()` |public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep) |
-| `GetBezier2()` |public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep) |
-| `GetBezierList()` |public static List GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp) |
-| `GetDire()` |public static Vector3 GetDire(float angle, bool isDegree = false) |
-| `GetIntersection()` |public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)获得两直线的交点 |
-| `GetPos()` |public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false) |
-| `GetVertialDire()` |public static Vector3 GetVertialDire(Vector3 dire) |
-| `IsClearColor()` |public static bool IsClearColor(Color color) |
-| `IsClearColor()` |public static bool IsClearColor(Color32 color) |
-| `IsPointInPolygon()` |public static bool IsPointInPolygon(Vector3 p, List polyons) |
-| `IsPointInPolygon()` |public static bool IsPointInPolygon(Vector3 p, List polyons) |
-| `IsPointInTriangle()` |public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check) |
-| `IsValueEqualsColor()` |public static bool IsValueEqualsColor(Color color1, Color color2) |
-| `IsValueEqualsColor()` |public static bool IsValueEqualsColor(Color32 color1, Color32 color2) |
-| `IsValueEqualsList()` |public static bool IsValueEqualsList(List list1, List list2) |
-| `IsValueEqualsString()` |public static bool IsValueEqualsString(string str1, string str2) |
-| `IsValueEqualsVector2()` |public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2) |
-| `IsValueEqualsVector3()` |public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2) |
-| `IsValueEqualsVector3()` |public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2) |
-| `IsZeroVector()` |public static bool IsZeroVector(Vector3 pos) |
-| `RotateRound()` |public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle) |
+| GetAngle360() |public static float GetAngle360(Vector2 from, Vector2 to)
获得0-360的角度(12点钟方向为0度) |
+| GetBezier() |public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)|
+| GetBezier2() |public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)|
+| GetBezierList() |public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)|
+| GetDire() |public static Vector3 GetDire(float angle, bool isDegree = false)|
+| GetIntersection() |public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
获得两直线的交点 |
+| GetPos() |public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)|
+| GetVertialDire() |public static Vector3 GetVertialDire(Vector3 dire)|
+| IsClearColor() |public static bool IsClearColor(Color color)|
+| IsClearColor() |public static bool IsClearColor(Color32 color)|
+| IsPointInPolygon() |public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)|
+| IsPointInPolygon() |public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)|
+| IsPointInTriangle() |public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)|
+| IsValueEqualsColor() |public static bool IsValueEqualsColor(Color color1, Color color2)|
+| IsValueEqualsColor() |public static bool IsValueEqualsColor(Color32 color1, Color32 color2)|
+| IsValueEqualsList<T>() |public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)|
+| IsValueEqualsString() |public static bool IsValueEqualsString(string str1, string str2)|
+| IsValueEqualsVector2() |public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)|
+| IsValueEqualsVector3() |public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)|
+| IsValueEqualsVector3() |public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)|
+| IsZeroVector() |public static bool IsZeroVector(Vector3 pos)|
+| RotateRound() |public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)|
-## `VisualMapContext`
+## VisualMapContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `VisualMapHelper`
+## VisualMapHelper
|public method|description|
|--|--|
-| `AutoSetLineMinMax()` |public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis) |
-| `GetDimension()` |public static int GetDimension(VisualMap visualMap, int defaultDimension) |
-| `IsNeedAreaGradient()` |public static bool IsNeedAreaGradient(VisualMap visualMap) |
-| `IsNeedGradient()` |public static bool IsNeedGradient(VisualMap visualMap) |
-| `IsNeedLineGradient()` |public static bool IsNeedLineGradient(VisualMap visualMap) |
-| `SetMinMax()` |public static void SetMinMax(VisualMap visualMap, double min, double max) |
+| AutoSetLineMinMax() |public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)|
+| GetDimension() |public static int GetDimension(VisualMap visualMap, int defaultDimension)|
+| IsNeedAreaGradient() |public static bool IsNeedAreaGradient(VisualMap visualMap)|
+| IsNeedGradient() |public static bool IsNeedGradient(VisualMap visualMap)|
+| IsNeedLineGradient() |public static bool IsNeedLineGradient(VisualMap visualMap)|
+| SetMinMax() |public static void SetMinMax(VisualMap visualMap, double min, double max)|
-## `XChartsMgr`
+## XChartsMgr
|public method|description|
|--|--|
-| `AddChart()` |public static void AddChart(BaseChart chart) |
-| `ContainsChart()` |public static bool ContainsChart(BaseChart chart) |
-| `ContainsChart()` |public static bool ContainsChart(string chartName) |
-| `DisableTextMeshPro()` |public static void DisableTextMeshPro() |
-| `EnableTextMeshPro()` |public static void EnableTextMeshPro() |
-| `GetChart()` |public static BaseChart GetChart(string chartName) |
-| `GetCharts()` |public static List GetCharts(string chartName) |
-| `GetPackageFullPath()` |public static string GetPackageFullPath() |
-| `GetRepeatChartNameInfo()` |public static string GetRepeatChartNameInfo(BaseChart chart, string chartName) |
-| `IsExistTMPAssembly()` |public static bool IsExistTMPAssembly() |
-| `IsRepeatChartName()` |public static bool IsRepeatChartName(BaseChart chart, string chartName = null) |
-| `ModifyTMPRefence()` |public static bool ModifyTMPRefence(bool removeTMP = false) |
-| `RemoveAllChartObject()` |public static void RemoveAllChartObject() |
-| `RemoveChart()` |public static void RemoveChart(string chartName) |
+| AddChart() |public static void AddChart(BaseChart chart)|
+| ContainsChart() |public static bool ContainsChart(BaseChart chart)|
+| ContainsChart() |public static bool ContainsChart(string chartName)|
+| DisableTextMeshPro() |public static void DisableTextMeshPro()|
+| EnableTextMeshPro() |public static void EnableTextMeshPro()|
+| GetChart() |public static BaseChart GetChart(string chartName)|
+| GetCharts() |public static List<BaseChart> GetCharts(string chartName)|
+| GetPackageFullPath() |public static string GetPackageFullPath()|
+| GetRepeatChartNameInfo() |public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)|
+| IsExistTMPAssembly() |public static bool IsExistTMPAssembly()|
+| IsRepeatChartName() |public static bool IsRepeatChartName(BaseChart chart, string chartName = null)|
+| ModifyTMPRefence() |public static bool ModifyTMPRefence(bool removeTMP = false)|
+| RemoveAllChartObject() |public static void RemoveAllChartObject()|
+| RemoveChart() |public static void RemoveChart(string chartName)|
-## `XCResourceImporterWindow`
+## XCResourceImporterWindow
Inherits or Implemented: [UnityEditor.EditorWindow](#UnityEditor.EditorWindow)
|public method|description|
|--|--|
-| `ShowPackageImporterWindow()` |public static void ShowPackageImporterWindow() |
+| ShowPackageImporterWindow() |public static void ShowPackageImporterWindow()|
-## `XCThemeMgr`
+## XCThemeMgr
|public method|description|
|--|--|
-| `AddTheme()` |public static void AddTheme(Theme theme) |
-| `CheckReloadTheme()` |public static void CheckReloadTheme() |
-| `ContainsTheme()` |public static bool ContainsTheme(string themeName) |
-| `ExportTheme()` |public static bool ExportTheme(Theme theme) |
-| `ExportTheme()` |public static bool ExportTheme(Theme theme, string themeNewName) |
-| `GetAllThemeNames()` |public static List GetAllThemeNames() |
-| `GetTheme()` |public static Theme GetTheme(string themeName) |
-| `GetTheme()` |public static Theme GetTheme(ThemeType type) |
-| `GetThemeAssetPath()` |public static string GetThemeAssetPath(string themeName) |
-| `GetThemeList()` |public static List GetThemeList() |
-| `LoadTheme()` |public static Theme LoadTheme(string themeName) |
-| `LoadTheme()` |public static Theme LoadTheme(ThemeType type) |
-| `ReloadThemeList()` |public static void ReloadThemeList()重新加载主题列表 |
-| `SwitchTheme()` |public static void SwitchTheme(BaseChart chart, string themeName) |
+| AddTheme() |public static void AddTheme(Theme theme)|
+| CheckReloadTheme() |public static void CheckReloadTheme()|
+| ContainsTheme() |public static bool ContainsTheme(string themeName)|
+| ExportTheme() |public static bool ExportTheme(Theme theme)|
+| ExportTheme() |public static bool ExportTheme(Theme theme, string themeNewName)|
+| GetAllThemeNames() |public static List<string> GetAllThemeNames()|
+| GetTheme() |public static Theme GetTheme(string themeName)|
+| GetTheme() |public static Theme GetTheme(ThemeType type)|
+| GetThemeAssetPath() |public static string GetThemeAssetPath(string themeName)|
+| GetThemeList() |public static List<Theme> GetThemeList()|
+| LoadTheme() |public static Theme LoadTheme(string themeName)|
+| LoadTheme() |public static Theme LoadTheme(ThemeType type)|
+| ReloadThemeList() |public static void ReloadThemeList()
重新加载主题列表 |
+| SwitchTheme() |public static void SwitchTheme(BaseChart chart, string themeName)|
-[XCharts Homepage](https://github.com/XCharts-Team/XCharts)
-[XCharts Configuration](XChartsConfiguration-EN.md)
+[XCharts Homepage](https://github.com/XCharts-Team/XCharts)
+[XCharts Configuration](XChartsConfiguration-EN.md)
[XCharts FAQ](XChartsFAQ-EN.md)
diff --git a/Documentation/XChartsAPI-ZH.md b/Documentation/XChartsAPI-ZH.md
index d4b73194..b8f9350e 100644
--- a/Documentation/XChartsAPI-ZH.md
+++ b/Documentation/XChartsAPI-ZH.md
@@ -1,14 +1,14 @@
# API
-[XCharts主页](https://github.com/XCharts-Team/XCharts)
-[XCharts配置项手册](XChartsConfiguration-ZH.md)
+[XCharts主页](https://github.com/XCharts-Team/XCharts)
+[XCharts配置项手册](XChartsConfiguration-ZH.md)
[XCharts问答](XChartsFAQ-ZH.md)
-## Class
+## All Class
- [AnimationStyleHelper](#AnimationStyleHelper)
- [AxisContext](#AxisContext)
-- [AxisHandler](#AxisHandler)
+- [AxisHandler<T>](#AxisHandler<T>)
- [AxisHelper](#AxisHelper)
- [BarChart](#BarChart)
- [BaseChart](#BaseChart)
@@ -45,9 +45,8 @@
- [ListForSerie](#ListForSerie)
- [MainComponentContext](#MainComponentContext)
- [MainComponentHandler](#MainComponentHandler)
-- [MainComponentHandler](#MainComponentHandler)
+- [MainComponentHandler<T>](#MainComponentHandler<T>)
- [MathUtil](#MathUtil)
-- [ObjectPool where T](#ObjectPool where T)
- [Painter](#Painter)
- [ParallelChart](#ParallelChart)
- [ParallelCoordContext](#ParallelCoordContext)
@@ -70,7 +69,7 @@
- [SerieDataExtraFieldAttribute](#SerieDataExtraFieldAttribute)
- [SerieExtraComponentAttribute](#SerieExtraComponentAttribute)
- [SerieHandler](#SerieHandler)
-- [SerieHandler](#SerieHandler)
+- [SerieHandler<T>](#SerieHandler<T>)
- [SerieHandlerAttribute](#SerieHandlerAttribute)
- [SerieHelper](#SerieHelper)
- [SerieLabelHelper](#SerieLabelHelper)
@@ -99,1085 +98,1085 @@
- [XCResourceImporterWindow](#XCResourceImporterWindow)
- [XCThemeMgr](#XCThemeMgr)
-## `AnimationStyleHelper`
+## AnimationStyleHelper
|public method|description|
|--|--|
-| `CheckDataAnimation()` |public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0) |
-| `GetAnimationPosition()` |public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip) |
-| `UpdateAnimationType()` |public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType) |
-| `UpdateSerieAnimation()` |public static void UpdateSerieAnimation(Serie serie) |
+| CheckDataAnimation() |public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)|
+| GetAnimationPosition() |public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip)|
+| UpdateAnimationType() |public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType)|
+| UpdateSerieAnimation() |public static void UpdateSerieAnimation(Serie serie)|
-## `AxisContext`
+## AxisContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `AxisHandler`
+## AxisHandler<T>
Inherits or Implemented: [MainComponentHandler](#MainComponentHandler)
-## `AxisHelper`
+## AxisHelper
|public method|description|
|--|--|
-| `AdjustCircleLabelPos()` |public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset) |
-| `AdjustMinMaxValue()` |public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)调整最大最小值 |
-| `AdjustRadiusAxisLabelPos()` |public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset) |
-| `GetAxisLineArrowOffset()` |public static float GetAxisLineArrowOffset(Axis axis)包含箭头偏移的轴线长度 |
-| `GetAxisPosition()` |public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null) |
-| `GetAxisPositionValue()` |public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset) |
-| `GetAxisPositionValue()` |public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos) |
-| `GetAxisValueDistance()` |public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)获得数值value在坐标轴上相对起点的距离 |
-| `GetAxisValueLength()` |public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)获得数值value在坐标轴上对应的长度 |
-| `GetAxisValuePosition()` |public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)获得数值value在坐标轴上的坐标位置 |
-| `GetAxisValueSplitIndex()` |public static int GetAxisValueSplitIndex(Axis axis, double value, int totalSplitNumber = -1)获得数值value在坐标轴上对应的split索引 |
-| `GetAxisXOrY()` |public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis) |
-| `GetDataWidth()` |public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)获得一个类目数据在坐标系中代表的宽度 |
-| `GetEachWidth()` |public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null) |
-| `GetScaleNumber()` |public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)获得分割线条数 |
-| `GetScaleWidth()` |public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)获得分割段宽度 |
-| `GetSplitNumber()` |public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)获得分割段数 |
-| `GetTotalSplitGridNum()` |public static int GetTotalSplitGridNum(Axis axis)获得分割网格个数,包含次刻度 |
-| `GetXAxisXOrY()` |public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis) |
-| `GetYAxisXOrY()` |public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis) |
-| `NeedShowSplit()` |public static bool NeedShowSplit(Axis axis) |
+| AdjustCircleLabelPos() |public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)|
+| AdjustMinMaxValue() |public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
调整最大最小值 |
+| AdjustRadiusAxisLabelPos() |public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)|
+| GetAxisLineArrowOffset() |public static float GetAxisLineArrowOffset(Axis axis)
包含箭头偏移的轴线长度 |
+| GetAxisPosition() |public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)|
+| GetAxisPositionValue() |public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)|
+| GetAxisPositionValue() |public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)|
+| GetAxisValueDistance() |public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上相对起点的距离 |
+| GetAxisValueLength() |public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上对应的长度 |
+| GetAxisValuePosition() |public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
获得数值value在坐标轴上的坐标位置 |
+| GetAxisValueSplitIndex() |public static int GetAxisValueSplitIndex(Axis axis, double value, int totalSplitNumber = -1)
获得数值value在坐标轴上对应的split索引 |
+| GetAxisXOrY() |public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)|
+| GetDataWidth() |public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
获得一个类目数据在坐标系中代表的宽度 |
+| GetEachWidth() |public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)|
+| GetScaleNumber() |public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
获得分割线条数 |
+| GetScaleWidth() |public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
获得分割段宽度 |
+| GetSplitNumber() |public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
获得分割段数 |
+| GetTotalSplitGridNum() |public static int GetTotalSplitGridNum(Axis axis)
获得分割网格个数,包含次刻度 |
+| GetXAxisXOrY() |public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)|
+| GetYAxisXOrY() |public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)|
+| NeedShowSplit() |public static bool NeedShowSplit(Axis axis)|
-## `BarChart`
+## BarChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `BaseChart`
+## BaseChart
Inherits or Implemented: [BaseGraph](#BaseGraph),[ISerializationCallbackReceiver](#ISerializationCallbackReceiver)
|public method|description|
|--|--|
-| `AddChartComponent()` |public MainComponent AddChartComponent(Type type) |
-| `AddChartComponent()` |public T AddChartComponent() where T : MainComponent |
-| `AddChartComponentWhenNoExist()` |public T AddChartComponentWhenNoExist() where T : MainComponent |
-| `AddData()` |public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)添加(time,y)数据到指定的系列中。 |
-| `AddData()` |public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)添加一个数据到指定的系列中。 |
-| `AddData()` |public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null) |
-| `AddData()` |public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)添加(x,y)数据到指定系列中。 |
-| `AddData()` |public SerieData AddData(int serieIndex, List multidimensionalData, string dataName = null, string dataId = null)添加多维数据(x,y,z...)到指定的系列中。 |
-| `AddData()` |public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)添加(time,y)数据到指定的系列中。 |
-| `AddData()` |public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)If serieName doesn't exist in legend,will be add to legend. |
-| `AddData()` |public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null) |
-| `AddData()` |public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)添加(x,y)数据到指定系列中。 |
-| `AddData()` |public SerieData AddData(string serieName, List multidimensionalData, string dataName = null, string dataId = null)添加多维数据(x,y,z...)到指定的系列中。 |
-| `AddSerie()` |public T AddSerie(string serieName = null, bool show = true, bool addToHead = false) where T : Serie |
-| `AddXAxisData()` |public void AddXAxisData(string category, int xAxisIndex = 0)添加一个类目数据到指定的x轴。 |
-| `AddXAxisIcon()` |public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)添加一个图标到指定的x轴。 |
-| `AddYAxisData()` |public void AddYAxisData(string category, int yAxisIndex = 0)添加一个类目数据到指定的y轴。 |
-| `AddYAxisIcon()` |public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)添加一个图标到指定的y轴。 |
-| `AnimationEnable()` |public void AnimationEnable(bool flag)启用或关闭起始动画。 |
-| `AnimationFadeIn()` |public void AnimationFadeIn()开始渐入动画。 |
-| `AnimationFadeOut()` |public void AnimationFadeOut()开始渐出动画。 |
-| `AnimationPause()` |public void AnimationPause()暂停动画。 |
-| `AnimationReset()` |public void AnimationReset()重置动画。 |
-| `AnimationResume()` |public void AnimationResume()继续动画。 |
-| `CanAddChartComponent()` |public bool CanAddChartComponent(Type type) |
-| `CanAddSerie()` |public bool CanAddSerie(Type type) |
-| `CanAddSerie()` |public bool CanAddSerie() where T : Serie |
-| `CanMultipleComponent()` |public bool CanMultipleComponent(Type type) |
-| `ClampInChart()` |public void ClampInChart(ref Vector3 pos) |
-| `ClampInGrid()` |public Vector3 ClampInGrid(GridCoord grid, Vector3 pos) |
-| `ClearData()` |public virtual void ClearData()清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。 |
-| `ClickLegendButton()` |public void ClickLegendButton(int legendIndex, string legendName, bool show)点击图例按钮 |
-| `CovertSerie()` |public bool CovertSerie(Serie serie, Type type) |
-| `CovertSerie()` |public bool CovertSerie(Serie serie) where T : Serie |
-| `CovertXYAxis()` |public void CovertXYAxis(int index)转换X轴和Y轴的配置 |
-| `GenerateDefaultSerieName()` |public string GenerateDefaultSerieName() |
-| `GetAllSerieDataCount()` |public int GetAllSerieDataCount() |
-| `GetChartBackgroundColor()` |public Color32 GetChartBackgroundColor() |
-| `GetChartComponent()` |public T GetChartComponent(int index = 0) where T : MainComponent |
-| `GetChartComponentNum()` |public int GetChartComponentNum(Type type) |
-| `GetChartComponentNum()` |public int GetChartComponentNum() where T : MainComponent |
-| `GetChartComponents()` |public List GetChartComponents() where T : MainComponent |
-| `GetData()` |public double GetData(int serieIndex, int dataIndex, int dimension = 1) |
-| `GetData()` |public double GetData(string serieName, int dataIndex, int dimension = 1) |
-| `GetDataZoomOfAxis()` |public DataZoom GetDataZoomOfAxis(Axis axis) |
-| `GetDataZoomOfSerie()` |public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom) |
-| `GetGrid()` |public GridCoord GetGrid(Vector2 local) |
-| `GetGridOfDataZoom()` |public GridCoord GetGridOfDataZoom(DataZoom dataZoom) |
-| `GetItemColor()` |public Color32 GetItemColor(Serie serie) |
-| `GetItemColor()` |public Color32 GetItemColor(Serie serie, SerieData serieData) |
-| `GetItemColor()` |public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex) |
-| `GetLegendRealShowNameColor()` |public Color32 GetLegendRealShowNameColor(string name) |
-| `GetLegendRealShowNameIndex()` |public int GetLegendRealShowNameIndex(string name) |
-| `GetOrAddChartComponent()` |public T GetOrAddChartComponent() where T : MainComponent |
-| `GetPainter()` |public Painter GetPainter(int index) |
-| `GetSerie()` |public Serie GetSerie(int serieIndex) |
-| `GetSerie()` |public Serie GetSerie(string serieName) |
-| `GetSerie()` |public T GetSerie() where T : Serie |
-| `GetSerie()` |public T GetSerie(int serieIndex) where T : Serie |
-| `GetSerieBarGap()` |public float GetSerieBarGap() where T : Serie |
-| `GetSerieBarRealCount()` |public int GetSerieBarRealCount() where T : Serie |
-| `GetSerieIndexIfStack()` |public int GetSerieIndexIfStack(Serie currSerie) where T : Serie |
-| `GetSerieSameStackTotalValue()` |public double GetSerieSameStackTotalValue(string stack, int dataIndex) where T : Serie |
-| `GetSeriesMinMaxValue()` |public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue) |
-| `GetSerieTotalGap()` |public float GetSerieTotalGap(float categoryWidth, float gap, int index) where T : Serie |
-| `GetSerieTotalWidth()` |public float GetSerieTotalWidth(float categoryWidth, float gap, int realBarCount) where T : Serie |
-| `GetTitlePosition()` |public Vector3 GetTitlePosition(Title title) |
-| `GetVisualMapOfSerie()` |public VisualMap GetVisualMapOfSerie(Serie serie) |
-| `GetXDataZoomOfSerie()` |public DataZoom GetXDataZoomOfSerie(Serie serie) |
-| `GetXLerpColor()` |public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid) |
-| `GetYLerpColor()` |public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid) |
-| `HasChartComponent()` |public bool HasChartComponent(Type type) |
-| `HasChartComponent()` |public bool HasChartComponent() |
-| `HasSerie()` |public bool HasSerie(Type type) |
-| `HasSerie()` |public bool HasSerie() where T : Serie |
-| `Init()` |public void Init(bool defaultChart = true) |
-| `InitAxisRuntimeData()` |public virtual void InitAxisRuntimeData(Axis axis) { } |
-| `InsertSerie()` |public void InsertSerie(Serie serie, int index = -1, bool addToHead = false) |
-| `InsertSerie()` |public T InsertSerie(int index, string serieName = null, bool show = true) where T : Serie |
-| `Internal_CheckAnimation()` |public void Internal_CheckAnimation() |
-| `IsActiveByLegend()` |public virtual bool IsActiveByLegend(string legendName)获得指定图例名字的系列是否显示。 |
-| `IsAllAxisCategory()` |public bool IsAllAxisCategory()纯类目轴。 |
-| `IsAllAxisValue()` |public bool IsAllAxisValue()纯数值坐标轴(数值轴或对数轴)。 |
-| `IsInAnyGrid()` |public bool IsInAnyGrid(Vector2 local) |
-| `IsInChart()` |public bool IsInChart(float x, float y) |
-| `IsInChart()` |public bool IsInChart(Vector2 local)坐标是否在图表范围内 |
-| `IsSerieName()` |public bool IsSerieName(string name) |
-| `MoveDownSerie()` |public bool MoveDownSerie(int serieIndex) |
-| `MoveUpSerie()` |public bool MoveUpSerie(int serieIndex) |
-| `OnAfterDeserialize()` |public void OnAfterDeserialize() |
-| `OnBeforeSerialize()` |public void OnBeforeSerialize() |
-| `OnBeginDrag()` |public override void OnBeginDrag(PointerEventData eventData) |
-| `OnDataZoomRangeChanged()` |public virtual void OnDataZoomRangeChanged(DataZoom dataZoom) |
-| `OnDrag()` |public override void OnDrag(PointerEventData eventData) |
-| `OnEndDrag()` |public override void OnEndDrag(PointerEventData eventData) |
-| `OnLegendButtonClick()` |public virtual void OnLegendButtonClick(int index, string legendName, bool show) |
-| `OnLegendButtonEnter()` |public virtual void OnLegendButtonEnter(int index, string legendName) |
-| `OnLegendButtonExit()` |public virtual void OnLegendButtonExit(int index, string legendName) |
-| `OnPointerClick()` |public override void OnPointerClick(PointerEventData eventData) |
-| `OnPointerDown()` |public override void OnPointerDown(PointerEventData eventData) |
-| `OnPointerEnter()` |public override void OnPointerEnter(PointerEventData eventData) |
-| `OnPointerExit()` |public override void OnPointerExit(PointerEventData eventData) |
-| `OnPointerUp()` |public override void OnPointerUp(PointerEventData eventData) |
-| `OnScroll()` |public override void OnScroll(PointerEventData eventData) |
-| `RefreshBasePainter()` |public void RefreshBasePainter() |
-| `RefreshChart()` |public void RefreshChart()在下一帧刷新整个图表。 |
-| `RefreshChart()` |public void RefreshChart(int serieIndex)在下一帧刷新图表的指定serie。 |
-| `RefreshChart()` |public void RefreshChart(Serie serie)在下一帧刷新图表的指定serie。 |
-| `RefreshDataZoom()` |public void RefreshDataZoom()在下一帧刷新DataZoom |
-| `RefreshGraph()` |public override void RefreshGraph() |
-| `RefreshPainter()` |public void RefreshPainter(int index) |
-| `RefreshPainter()` |public void RefreshPainter(Serie serie) |
-| `RefreshTopPainter()` |public void RefreshTopPainter() |
-| `RefreshUpperPainter()` |public void RefreshUpperPainter() |
-| `RemoveAllChartComponent()` |public void RemoveAllChartComponent() |
-| `RemoveAllSerie()` |public virtual void RemoveAllSerie()移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。 |
-| `RemoveChartComponent()` |public bool RemoveChartComponent(MainComponent component) |
-| `RemoveChartComponent()` |public bool RemoveChartComponent(Type type, int index = 0) |
-| `RemoveChartComponent()` |public bool RemoveChartComponent(int index = 0) |
-| `RemoveChartComponents()` |public int RemoveChartComponents(Type type) |
-| `RemoveChartComponents()` |public int RemoveChartComponents() |
-| `RemoveData()` |public virtual void RemoveData()清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。 |
-| `RemoveData()` |public virtual void RemoveData(string serieName)清除指定系列名称的数据。 |
-| `RemoveSerie()` |public void RemoveSerie(int serieIndex) |
-| `RemoveSerie()` |public void RemoveSerie(Serie serie) |
-| `RemoveSerie()` |public void RemoveSerie(string serieName) |
-| `RemoveSerie()` |public void RemoveSerie() where T : Serie |
-| `ReplaceSerie()` |public bool ReplaceSerie(Serie oldSerie, Serie newSerie) |
-| `ResetDataIndex()` |public bool ResetDataIndex(int serieIndex)重置serie的数据项索引。避免数据项索引异常。 |
-| `SaveAsImage()` |public void SaveAsImage(string imageType = "png", string savePath = "")保存图表为图片。 |
-| `SetBasePainterMaterial()` |public void SetBasePainterMaterial(Material material)设置Base Painter的材质球 |
-| `SetMaxCache()` |public void SetMaxCache(int maxCache)设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。 |
-| `SetPainterActive()` |public void SetPainterActive(int index, bool flag) |
-| `SetSerieActive()` |public void SetSerieActive(int serieIndex, bool active)设置指定系列是否显示。 |
-| `SetSerieActive()` |public void SetSerieActive(Serie serie, bool active) |
-| `SetSerieActive()` |public void SetSerieActive(string serieName, bool active)设置指定系列是否显示。 |
-| `SetSeriePainterMaterial()` |public void SetSeriePainterMaterial(Material material)设置Serie Painter的材质球 |
-| `SetTopPainterMaterial()` |public void SetTopPainterMaterial(Material material)设置Top Painter的材质球 |
-| `SetUpperPainterMaterial()` |public void SetUpperPainterMaterial(Material material)设置Upper Painter的材质球 |
-| `TryAddChartComponent()` |public bool TryAddChartComponent(Type type) |
-| `TryAddChartComponent()` |public bool TryAddChartComponent() where T : MainComponent |
-| `TryAddChartComponent()` |public bool TryAddChartComponent(out T component) where T : MainComponent |
-| `TryGetChartComponent()` |public bool TryGetChartComponent(out T component, int index = 0) |
-| `UdpateXAxisIcon()` |public void UdpateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)更新X轴图标。 |
-| `UpdateData()` |public bool UpdateData(int serieIndex, int dataIndex, double value)更新指定系列中的指定索引数据。 |
-| `UpdateData()` |public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)更新指定系列指定索引指定维数的数据。维数从0开始。 |
-| `UpdateData()` |public bool UpdateData(int serieIndex, int dataIndex, List multidimensionalData)更新指定系列指定索引的数据项的多维数据。 |
-| `UpdateData()` |public bool UpdateData(string serieName, int dataIndex, double value)更新指定系列中的指定索引数据。 |
-| `UpdateData()` |public bool UpdateData(string serieName, int dataIndex, int dimension, double value)更新指定系列指定索引指定维数的数据。维数从0开始。 |
-| `UpdateData()` |public bool UpdateData(string serieName, int dataIndex, List multidimensionalData)更新指定系列指定索引的数据项的多维数据。 |
-| `UpdateDataName()` |public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)更新指定系列中的指定索引数据名称。 |
-| `UpdateDataName()` |public bool UpdateDataName(string serieName, int dataIndex, string dataName)更新指定系列中的指定索引数据名称。 |
-| `UpdateLegendColor()` |public virtual void UpdateLegendColor(string legendName, bool active) |
-| `UpdateTheme()` |public bool UpdateTheme(ThemeType theme)切换内置主题。 |
-| `UpdateTheme()` |public void UpdateTheme(Theme theme)切换图表主题。 |
-| `UpdateXAxisData()` |public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)更新X轴类目数据。 |
-| `UpdateYAxisData()` |public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)更新Y轴类目数据。 |
-| `UpdateYAxisIcon()` |public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)更新Y轴图标。 |
+| AddChartComponent() |public MainComponent AddChartComponent(Type type)|
+| AddChartComponent<T>() |public T AddChartComponent<T>() where T : MainComponent|
+| AddChartComponentWhenNoExist<T>() |public T AddChartComponentWhenNoExist<T>() where T : MainComponent|
+| AddData() |public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
添加(time,y)数据到指定的系列中。 |
+| AddData() |public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
添加一个数据到指定的系列中。 |
+| AddData() |public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)|
+| AddData() |public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
添加(x,y)数据到指定系列中。 |
+| AddData() |public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
添加多维数据(x,y,z...)到指定的系列中。 |
+| AddData() |public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
添加(time,y)数据到指定的系列中。 |
+| AddData() |public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
If serieName doesn't exist in legend,will be add to legend. |
+| AddData() |public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)|
+| AddData() |public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
添加(x,y)数据到指定系列中。 |
+| AddData() |public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
添加多维数据(x,y,z...)到指定的系列中。 |
+| AddSerie<T>() |public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie|
+| AddXAxisData() |public void AddXAxisData(string category, int xAxisIndex = 0)
添加一个类目数据到指定的x轴。 |
+| AddXAxisIcon() |public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
添加一个图标到指定的x轴。 |
+| AddYAxisData() |public void AddYAxisData(string category, int yAxisIndex = 0)
添加一个类目数据到指定的y轴。 |
+| AddYAxisIcon() |public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
添加一个图标到指定的y轴。 |
+| AnimationEnable() |public void AnimationEnable(bool flag)
启用或关闭起始动画。 |
+| AnimationFadeIn() |public void AnimationFadeIn()
开始渐入动画。 |
+| AnimationFadeOut() |public void AnimationFadeOut()
开始渐出动画。 |
+| AnimationPause() |public void AnimationPause()
暂停动画。 |
+| AnimationReset() |public void AnimationReset()
重置动画。 |
+| AnimationResume() |public void AnimationResume()
继续动画。 |
+| CanAddChartComponent() |public bool CanAddChartComponent(Type type)|
+| CanAddSerie() |public bool CanAddSerie(Type type)|
+| CanAddSerie<T>() |public bool CanAddSerie<T>() where T : Serie|
+| CanMultipleComponent() |public bool CanMultipleComponent(Type type)|
+| ClampInChart() |public void ClampInChart(ref Vector3 pos)|
+| ClampInGrid() |public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)|
+| ClearData() |public virtual void ClearData()
清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。 |
+| ClickLegendButton() |public void ClickLegendButton(int legendIndex, string legendName, bool show)
点击图例按钮 |
+| CovertSerie() |public bool CovertSerie(Serie serie, Type type)|
+| CovertSerie<T>() |public bool CovertSerie<T>(Serie serie) where T : Serie|
+| CovertXYAxis() |public void CovertXYAxis(int index)
转换X轴和Y轴的配置 |
+| GenerateDefaultSerieName() |public string GenerateDefaultSerieName()|
+| GetAllSerieDataCount() |public int GetAllSerieDataCount()|
+| GetChartBackgroundColor() |public Color32 GetChartBackgroundColor()|
+| GetChartComponent<T>() |public T GetChartComponent<T>(int index = 0) where T : MainComponent|
+| GetChartComponentNum() |public int GetChartComponentNum(Type type)|
+| GetChartComponentNum<T>() |public int GetChartComponentNum<T>() where T : MainComponent|
+| GetChartComponents<T>() |public List<MainComponent> GetChartComponents<T>() where T : MainComponent|
+| GetData() |public double GetData(int serieIndex, int dataIndex, int dimension = 1)|
+| GetData() |public double GetData(string serieName, int dataIndex, int dimension = 1)|
+| GetDataZoomOfAxis() |public DataZoom GetDataZoomOfAxis(Axis axis)|
+| GetDataZoomOfSerie() |public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)|
+| GetGrid() |public GridCoord GetGrid(Vector2 local)|
+| GetGridOfDataZoom() |public GridCoord GetGridOfDataZoom(DataZoom dataZoom)|
+| GetItemColor() |public Color32 GetItemColor(Serie serie)|
+| GetItemColor() |public Color32 GetItemColor(Serie serie, SerieData serieData)|
+| GetItemColor() |public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)|
+| GetLegendRealShowNameColor() |public Color32 GetLegendRealShowNameColor(string name)|
+| GetLegendRealShowNameIndex() |public int GetLegendRealShowNameIndex(string name)|
+| GetOrAddChartComponent<T>() |public T GetOrAddChartComponent<T>() where T : MainComponent|
+| GetPainter() |public Painter GetPainter(int index)|
+| GetSerie() |public Serie GetSerie(int serieIndex)|
+| GetSerie() |public Serie GetSerie(string serieName)|
+| GetSerie<T>() |public T GetSerie<T>() where T : Serie|
+| GetSerie<T>() |public T GetSerie<T>(int serieIndex) where T : Serie|
+| GetSerieBarGap<T>() |public float GetSerieBarGap<T>() where T : Serie|
+| GetSerieBarRealCount<T>() |public int GetSerieBarRealCount<T>() where T : Serie|
+| GetSerieIndexIfStack<T>() |public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie|
+| GetSerieSameStackTotalValue<T>() |public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie|
+| GetSeriesMinMaxValue() |public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)|
+| GetSerieTotalGap<T>() |public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie|
+| GetSerieTotalWidth<T>() |public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie|
+| GetTitlePosition() |public Vector3 GetTitlePosition(Title title)|
+| GetVisualMapOfSerie() |public VisualMap GetVisualMapOfSerie(Serie serie)|
+| GetXDataZoomOfSerie() |public DataZoom GetXDataZoomOfSerie(Serie serie)|
+| GetXLerpColor() |public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)|
+| GetYLerpColor() |public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)|
+| HasChartComponent() |public bool HasChartComponent(Type type)|
+| HasChartComponent<T>() |public bool HasChartComponent<T>()|
+| HasSerie() |public bool HasSerie(Type type)|
+| HasSerie<T>() |public bool HasSerie<T>() where T : Serie|
+| Init() |public void Init(bool defaultChart = true)|
+| InitAxisRuntimeData() |public virtual void InitAxisRuntimeData(Axis axis) { }|
+| InsertSerie() |public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)|
+| InsertSerie<T>() |public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie|
+| Internal_CheckAnimation() |public void Internal_CheckAnimation()|
+| IsActiveByLegend() |public virtual bool IsActiveByLegend(string legendName)
获得指定图例名字的系列是否显示。 |
+| IsAllAxisCategory() |public bool IsAllAxisCategory()
纯类目轴。 |
+| IsAllAxisValue() |public bool IsAllAxisValue()
纯数值坐标轴(数值轴或对数轴)。 |
+| IsInAnyGrid() |public bool IsInAnyGrid(Vector2 local)|
+| IsInChart() |public bool IsInChart(float x, float y)|
+| IsInChart() |public bool IsInChart(Vector2 local)
坐标是否在图表范围内 |
+| IsSerieName() |public bool IsSerieName(string name)|
+| MoveDownSerie() |public bool MoveDownSerie(int serieIndex)|
+| MoveUpSerie() |public bool MoveUpSerie(int serieIndex)|
+| OnAfterDeserialize() |public void OnAfterDeserialize()|
+| OnBeforeSerialize() |public void OnBeforeSerialize()|
+| OnBeginDrag() |public override void OnBeginDrag(PointerEventData eventData)|
+| OnDataZoomRangeChanged() |public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)|
+| OnDrag() |public override void OnDrag(PointerEventData eventData)|
+| OnEndDrag() |public override void OnEndDrag(PointerEventData eventData)|
+| OnLegendButtonClick() |public virtual void OnLegendButtonClick(int index, string legendName, bool show)|
+| OnLegendButtonEnter() |public virtual void OnLegendButtonEnter(int index, string legendName)|
+| OnLegendButtonExit() |public virtual void OnLegendButtonExit(int index, string legendName)|
+| OnPointerClick() |public override void OnPointerClick(PointerEventData eventData)|
+| OnPointerDown() |public override void OnPointerDown(PointerEventData eventData)|
+| OnPointerEnter() |public override void OnPointerEnter(PointerEventData eventData)|
+| OnPointerExit() |public override void OnPointerExit(PointerEventData eventData)|
+| OnPointerUp() |public override void OnPointerUp(PointerEventData eventData)|
+| OnScroll() |public override void OnScroll(PointerEventData eventData)|
+| RefreshBasePainter() |public void RefreshBasePainter()|
+| RefreshChart() |public void RefreshChart()
在下一帧刷新整个图表。 |
+| RefreshChart() |public void RefreshChart(int serieIndex)
在下一帧刷新图表的指定serie。 |
+| RefreshChart() |public void RefreshChart(Serie serie)
在下一帧刷新图表的指定serie。 |
+| RefreshDataZoom() |public void RefreshDataZoom()
在下一帧刷新DataZoom |
+| RefreshGraph() |public override void RefreshGraph()|
+| RefreshPainter() |public void RefreshPainter(int index)|
+| RefreshPainter() |public void RefreshPainter(Serie serie)|
+| RefreshTopPainter() |public void RefreshTopPainter()|
+| RefreshUpperPainter() |public void RefreshUpperPainter()|
+| RemoveAllChartComponent() |public void RemoveAllChartComponent()|
+| RemoveAllSerie() |public virtual void RemoveAllSerie()
移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。 |
+| RemoveChartComponent() |public bool RemoveChartComponent(MainComponent component)|
+| RemoveChartComponent() |public bool RemoveChartComponent(Type type, int index = 0)|
+| RemoveChartComponent<T>() |public bool RemoveChartComponent<T>(int index = 0)|
+| RemoveChartComponents() |public int RemoveChartComponents(Type type)|
+| RemoveChartComponents<T>() |public int RemoveChartComponents<T>()|
+| RemoveData() |public virtual void RemoveData()
清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。 |
+| RemoveData() |public virtual void RemoveData(string serieName)
清除指定系列名称的数据。 |
+| RemoveSerie() |public void RemoveSerie(int serieIndex)|
+| RemoveSerie() |public void RemoveSerie(Serie serie)|
+| RemoveSerie() |public void RemoveSerie(string serieName)|
+| RemoveSerie<T>() |public void RemoveSerie<T>() where T : Serie|
+| ReplaceSerie() |public bool ReplaceSerie(Serie oldSerie, Serie newSerie)|
+| ResetDataIndex() |public bool ResetDataIndex(int serieIndex)
重置serie的数据项索引。避免数据项索引异常。 |
+| SaveAsImage() |public void SaveAsImage(string imageType = "png", string savePath = "")
保存图表为图片。 |
+| SetBasePainterMaterial() |public void SetBasePainterMaterial(Material material)
设置Base Painter的材质球 |
+| SetMaxCache() |public void SetMaxCache(int maxCache)
设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。 |
+| SetPainterActive() |public void SetPainterActive(int index, bool flag)|
+| SetSerieActive() |public void SetSerieActive(int serieIndex, bool active)
设置指定系列是否显示。 |
+| SetSerieActive() |public void SetSerieActive(Serie serie, bool active)|
+| SetSerieActive() |public void SetSerieActive(string serieName, bool active)
设置指定系列是否显示。 |
+| SetSeriePainterMaterial() |public void SetSeriePainterMaterial(Material material)
设置Serie Painter的材质球 |
+| SetTopPainterMaterial() |public void SetTopPainterMaterial(Material material)
设置Top Painter的材质球 |
+| SetUpperPainterMaterial() |public void SetUpperPainterMaterial(Material material)
设置Upper Painter的材质球 |
+| TryAddChartComponent() |public bool TryAddChartComponent(Type type)|
+| TryAddChartComponent<T>() |public bool TryAddChartComponent<T>() where T : MainComponent|
+| TryAddChartComponent<T>() |public bool TryAddChartComponent<T>(out T component) where T : MainComponent|
+| TryGetChartComponent<T>() |public bool TryGetChartComponent<T>(out T component, int index = 0)|
+| UdpateXAxisIcon() |public void UdpateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
更新X轴图标。 |
+| UpdateData() |public bool UpdateData(int serieIndex, int dataIndex, double value)
更新指定系列中的指定索引数据。 |
+| UpdateData() |public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
更新指定系列指定索引指定维数的数据。维数从0开始。 |
+| UpdateData() |public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
更新指定系列指定索引的数据项的多维数据。 |
+| UpdateData() |public bool UpdateData(string serieName, int dataIndex, double value)
更新指定系列中的指定索引数据。 |
+| UpdateData() |public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
更新指定系列指定索引指定维数的数据。维数从0开始。 |
+| UpdateData() |public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
更新指定系列指定索引的数据项的多维数据。 |
+| UpdateDataName() |public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
更新指定系列中的指定索引数据名称。 |
+| UpdateDataName() |public bool UpdateDataName(string serieName, int dataIndex, string dataName)
更新指定系列中的指定索引数据名称。 |
+| UpdateLegendColor() |public virtual void UpdateLegendColor(string legendName, bool active)|
+| UpdateTheme() |public bool UpdateTheme(ThemeType theme)
切换内置主题。 |
+| UpdateTheme() |public void UpdateTheme(Theme theme)
切换图表主题。 |
+| UpdateXAxisData() |public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
更新X轴类目数据。 |
+| UpdateYAxisData() |public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
更新Y轴类目数据。 |
+| UpdateYAxisIcon() |public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
更新Y轴图标。 |
-## `BaseGraph`
+## BaseGraph
Inherits or Implemented: [MaskableGraphic](#MaskableGraphic),[IPointerDownHandler](#IPointerDownHandler),[IPointerUpHandler](#IPointerUpHandler),[](#)
|public method|description|
|--|--|
-| `CheckWarning()` |public string CheckWarning()检测警告信息。 |
-| `OnBeginDrag()` |public virtual void OnBeginDrag(PointerEventData eventData) |
-| `OnDrag()` |public virtual void OnDrag(PointerEventData eventData) |
-| `OnEndDrag()` |public virtual void OnEndDrag(PointerEventData eventData) |
-| `OnPointerClick()` |public virtual void OnPointerClick(PointerEventData eventData) |
-| `OnPointerDown()` |public virtual void OnPointerDown(PointerEventData eventData) |
-| `OnPointerEnter()` |public virtual void OnPointerEnter(PointerEventData eventData) |
-| `OnPointerExit()` |public virtual void OnPointerExit(PointerEventData eventData) |
-| `OnPointerUp()` |public virtual void OnPointerUp(PointerEventData eventData) |
-| `OnScroll()` |public virtual void OnScroll(PointerEventData eventData) |
-| `RebuildChartObject()` |public void RebuildChartObject()移除并重新创建所有图表的Object。 |
-| `RefreshAllComponent()` |public void RefreshAllComponent() |
-| `RefreshGraph()` |public virtual void RefreshGraph()在下一帧刷新图形。 |
-| `ScreenPointToChartPoint()` |public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint) |
-| `SetPainterDirty()` |public void SetPainterDirty()重新初始化Painter |
-| `SetSize()` |public virtual void SetSize(float width, float height)设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform) |
+| CheckWarning() |public string CheckWarning()
检测警告信息。 |
+| OnBeginDrag() |public virtual void OnBeginDrag(PointerEventData eventData)|
+| OnDrag() |public virtual void OnDrag(PointerEventData eventData)|
+| OnEndDrag() |public virtual void OnEndDrag(PointerEventData eventData)|
+| OnPointerClick() |public virtual void OnPointerClick(PointerEventData eventData)|
+| OnPointerDown() |public virtual void OnPointerDown(PointerEventData eventData)|
+| OnPointerEnter() |public virtual void OnPointerEnter(PointerEventData eventData)|
+| OnPointerExit() |public virtual void OnPointerExit(PointerEventData eventData)|
+| OnPointerUp() |public virtual void OnPointerUp(PointerEventData eventData)|
+| OnScroll() |public virtual void OnScroll(PointerEventData eventData)|
+| RebuildChartObject() |public void RebuildChartObject()
移除并重新创建所有图表的Object。 |
+| RefreshAllComponent() |public void RefreshAllComponent()|
+| RefreshGraph() |public virtual void RefreshGraph()
在下一帧刷新图形。 |
+| ScreenPointToChartPoint() |public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)|
+| SetPainterDirty() |public void SetPainterDirty()
重新初始化Painter |
+| SetSize() |public virtual void SetSize(float width, float height)
设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform) |
-## `CandlestickChart`
+## CandlestickChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `ChartCached`
+## ChartCached
|public method|description|
|--|--|
-| `ColorToDotStr()` |public static string ColorToDotStr(Color color) |
-| `ColorToStr()` |public static string ColorToStr(Color color) |
-| `FloatToStr()` |public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0) |
-| `GetSerieLabelName()` |public static string GetSerieLabelName(string prefix, int i, int j) |
-| `IntToStr()` |public static string IntToStr(int value, string numericFormatter = "") |
-| `NumberToStr()` |public static string NumberToStr(double value, string formatter) |
+| ColorToDotStr() |public static string ColorToDotStr(Color color)|
+| ColorToStr() |public static string ColorToStr(Color color)|
+| FloatToStr() |public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)|
+| GetSerieLabelName() |public static string GetSerieLabelName(string prefix, int i, int j)|
+| IntToStr() |public static string IntToStr(int value, string numericFormatter = "")|
+| NumberToStr() |public static string NumberToStr(double value, string formatter)|
-## `ChartConst`
+## ChartConst
-## `ChartDrawer`
+## ChartDrawer
-## `ChartHelper`
+## ChartHelper
|public method|description|
|--|--|
-| `ActiveAllObject()` |public static void ActiveAllObject(Transform parent, bool active, string match = null) |
-| `AddIcon()` |public static Image AddIcon(string name, Transform parent, IconStyle iconStyle) |
-| `Cancat()` |public static string Cancat(string str1, int i) |
-| `Cancat()` |public static string Cancat(string str1, string str2) |
-| `ClearEventListener()` |public static void ClearEventListener(GameObject obj) |
-| `CopyArray()` |public static bool CopyArray(T[] toList, T[] fromList) |
-| `CopyList()` |public static bool CopyList(List toList, List fromList) |
-| `DestoryGameObject()` |public static void DestoryGameObject(GameObject go) |
-| `DestoryGameObject()` |public static void DestoryGameObject(Transform parent, string childName) |
-| `DestoryGameObjectByMatch()` |public static void DestoryGameObjectByMatch(Transform parent, string match) |
-| `DestroyAllChildren()` |public static void DestroyAllChildren(Transform parent) |
-| `GetActualValue()` |public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f) |
-| `GetAngle360()` |public static float GetAngle360(Vector2 from, Vector2 to)获得0-360的角度(12点钟方向为0度) |
-| `GetBlurColor()` |public static Color32 GetBlurColor(Color32 color, float a = 0.3f) |
-| `GetColor()` |public static Color32 GetColor(string hexColorStr) |
-| `GetDire()` |public static Vector3 GetDire(float angle, bool isDegree = false) |
-| `GetFloatAccuracy()` |public static int GetFloatAccuracy(double value) |
-| `GetFullName()` |public static string GetFullName(Transform transform) |
-| `GetHighlightColor()` |public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f) |
-| `GetLastValue()` |public static Vector3 GetLastValue(List list) |
-| `GetMaxDivisibleValue()` |public static double GetMaxDivisibleValue(double max, double ceilRate) |
-| `GetMaxLogValue()` |public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber) |
-| `GetMinDivisibleValue()` |public static double GetMinDivisibleValue(double min, double ceilRate) |
-| `GetMinLogValue()` |public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber) |
-| `GetOrAddComponent()` |public static T GetOrAddComponent(GameObject gameObject) where T : Component |
-| `GetOrAddComponent()` |public static T GetOrAddComponent(Transform transform) where T : Component |
-| `GetPointList()` |public static void GetPointList(ref List posList, Vector3 sp, Vector3 ep, float k = 30f) |
-| `GetPos()` |public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false) |
-| `GetPosition()` |public static Vector3 GetPosition(Vector3 center, float angle, float radius) |
-| `GetSelectColor()` |public static Color32 GetSelectColor(Color32 color, float rate = 0.8f) |
-| `GetVertialDire()` |public static Vector3 GetVertialDire(Vector3 dire) |
-| `HideAllObject()` |public static void HideAllObject(GameObject obj, string match = null) |
-| `HideAllObject()` |public static void HideAllObject(Transform parent, string match = null) |
-| `IsClearColor()` |public static bool IsClearColor(Color color) |
-| `IsClearColor()` |public static bool IsClearColor(Color32 color) |
-| `IsColorAlphaZero()` |public static bool IsColorAlphaZero(Color color) |
-| `IsEquals()` |public static bool IsEquals(double d1, double d2) |
-| `IsEquals()` |public static bool IsEquals(float d1, float d2) |
-| `IsIngore()` |public static bool IsIngore(Vector3 pos) |
-| `IsInRect()` |public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax) |
-| `IsPointInQuadrilateral()` |public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D) |
-| `IsValueEqualsColor()` |public static bool IsValueEqualsColor(Color color1, Color color2) |
-| `IsValueEqualsColor()` |public static bool IsValueEqualsColor(Color32 color1, Color32 color2) |
-| `IsValueEqualsList()` |public static bool IsValueEqualsList(List list1, List list2) |
-| `IsValueEqualsString()` |public static bool IsValueEqualsString(string str1, string str2) |
-| `IsValueEqualsVector2()` |public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2) |
-| `IsValueEqualsVector3()` |public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2) |
-| `IsZeroVector()` |public static bool IsZeroVector(Vector3 pos) |
-| `ParseFloatFromString()` |public static List ParseFloatFromString(string jsonData) |
-| `ParseStringFromString()` |public static List ParseStringFromString(string jsonData) |
-| `RemoveComponent()` |public static void RemoveComponent(GameObject gameObject) |
-| `RotateRound()` |public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle) |
-| `SaveAsImage()` |public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "") |
-| `SetActive()` |public static void SetActive(GameObject gameObject, bool active) |
-| `SetActive()` |public static void SetActive(Image image, bool active) |
-| `SetActive()` |public static void SetActive(Text text, bool active) |
-| `SetActive()` |public static void SetActive(Transform transform, bool active)通过设置scale实现是否显示,优化性能,减少GC |
-| `SetBackground()` |public static void SetBackground(Image background, ImageStyle imageStyle) |
-| `SetColorOpacity()` |public static void SetColorOpacity(ref Color32 color, float opacity) |
+| ActiveAllObject() |public static void ActiveAllObject(Transform parent, bool active, string match = null)|
+| AddIcon() |public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)|
+| Cancat() |public static string Cancat(string str1, int i)|
+| Cancat() |public static string Cancat(string str1, string str2)|
+| ClearEventListener() |public static void ClearEventListener(GameObject obj)|
+| CopyArray<T>() |public static bool CopyArray<T>(T[] toList, T[] fromList)|
+| CopyList<T>() |public static bool CopyList<T>(List<T> toList, List<T> fromList)|
+| DestoryGameObject() |public static void DestoryGameObject(GameObject go)|
+| DestoryGameObject() |public static void DestoryGameObject(Transform parent, string childName)|
+| DestoryGameObjectByMatch() |public static void DestoryGameObjectByMatch(Transform parent, string match)|
+| DestroyAllChildren() |public static void DestroyAllChildren(Transform parent)|
+| GetActualValue() |public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)|
+| GetAngle360() |public static float GetAngle360(Vector2 from, Vector2 to)
获得0-360的角度(12点钟方向为0度) |
+| GetBlurColor() |public static Color32 GetBlurColor(Color32 color, float a = 0.3f)|
+| GetColor() |public static Color32 GetColor(string hexColorStr)|
+| GetDire() |public static Vector3 GetDire(float angle, bool isDegree = false)|
+| GetFloatAccuracy() |public static int GetFloatAccuracy(double value)|
+| GetFullName() |public static string GetFullName(Transform transform)|
+| GetHighlightColor() |public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)|
+| GetLastValue() |public static Vector3 GetLastValue(List<Vector3> list)|
+| GetMaxDivisibleValue() |public static double GetMaxDivisibleValue(double max, double ceilRate)|
+| GetMaxLogValue() |public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)|
+| GetMinDivisibleValue() |public static double GetMinDivisibleValue(double min, double ceilRate)|
+| GetMinLogValue() |public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)|
+| GetOrAddComponent<T>() |public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component|
+| GetOrAddComponent<T>() |public static T GetOrAddComponent<T>(Transform transform) where T : Component|
+| GetPointList() |public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)|
+| GetPos() |public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)|
+| GetPosition() |public static Vector3 GetPosition(Vector3 center, float angle, float radius)|
+| GetSelectColor() |public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)|
+| GetVertialDire() |public static Vector3 GetVertialDire(Vector3 dire)|
+| HideAllObject() |public static void HideAllObject(GameObject obj, string match = null)|
+| HideAllObject() |public static void HideAllObject(Transform parent, string match = null)|
+| IsClearColor() |public static bool IsClearColor(Color color)|
+| IsClearColor() |public static bool IsClearColor(Color32 color)|
+| IsColorAlphaZero() |public static bool IsColorAlphaZero(Color color)|
+| IsEquals() |public static bool IsEquals(double d1, double d2)|
+| IsEquals() |public static bool IsEquals(float d1, float d2)|
+| IsIngore() |public static bool IsIngore(Vector3 pos)|
+| IsInRect() |public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)|
+| IsPointInQuadrilateral() |public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)|
+| IsValueEqualsColor() |public static bool IsValueEqualsColor(Color color1, Color color2)|
+| IsValueEqualsColor() |public static bool IsValueEqualsColor(Color32 color1, Color32 color2)|
+| IsValueEqualsList<T>() |public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)|
+| IsValueEqualsString() |public static bool IsValueEqualsString(string str1, string str2)|
+| IsValueEqualsVector2() |public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)|
+| IsValueEqualsVector3() |public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)|
+| IsZeroVector() |public static bool IsZeroVector(Vector3 pos)|
+| ParseFloatFromString() |public static List<float> ParseFloatFromString(string jsonData)|
+| ParseStringFromString() |public static List<string> ParseStringFromString(string jsonData)|
+| RemoveComponent<T>() |public static void RemoveComponent<T>(GameObject gameObject)|
+| RotateRound() |public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)|
+| SaveAsImage() |public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")|
+| SetActive() |public static void SetActive(GameObject gameObject, bool active)|
+| SetActive() |public static void SetActive(Image image, bool active)|
+| SetActive() |public static void SetActive(Text text, bool active)|
+| SetActive() |public static void SetActive(Transform transform, bool active)
通过设置scale实现是否显示,优化性能,减少GC |
+| SetBackground() |public static void SetBackground(Image background, ImageStyle imageStyle)|
+| SetColorOpacity() |public static void SetColorOpacity(ref Color32 color, float opacity)|
-## `ChartLabel`
+## ChartLabel
Inherits or Implemented: [Image](#Image)
|public method|description|
|--|--|
-| `GetHeight()` |public float GetHeight() |
-| `GetPosition()` |public Vector3 GetPosition() |
-| `GetTextHeight()` |public float GetTextHeight() |
-| `GetTextWidth()` |public float GetTextWidth() |
-| `GetWidth()` |public float GetWidth() |
-| `SetActive()` |public void SetActive(bool flag) |
-| `SetIcon()` |public void SetIcon(Image image) |
-| `SetIconActive()` |public void SetIconActive(bool flag) |
-| `SetIconSize()` |public void SetIconSize(float width, float height) |
-| `SetIconSprite()` |public void SetIconSprite(Sprite sprite) |
-| `SetPadding()` |public void SetPadding(float[] padding) |
-| `SetPosition()` |public void SetPosition(Vector3 position) |
-| `SetRectPosition()` |public void SetRectPosition(Vector3 position) |
-| `SetSize()` |public void SetSize(float width, float height) |
-| `SetText()` |public bool SetText(string text) |
-| `SetTextActive()` |public void SetTextActive(bool flag) |
-| `SetTextColor()` |public void SetTextColor(Color color) |
-| `SetTextPadding()` |public void SetTextPadding(TextPadding padding) |
-| `SetTextRotate()` |public void SetTextRotate(float rotate) |
-| `UpdateIcon()` |public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null) |
+| GetHeight() |public float GetHeight()|
+| GetPosition() |public Vector3 GetPosition()|
+| GetTextHeight() |public float GetTextHeight()|
+| GetTextWidth() |public float GetTextWidth()|
+| GetWidth() |public float GetWidth()|
+| SetActive() |public void SetActive(bool flag)|
+| SetIcon() |public void SetIcon(Image image)|
+| SetIconActive() |public void SetIconActive(bool flag)|
+| SetIconSize() |public void SetIconSize(float width, float height)|
+| SetIconSprite() |public void SetIconSprite(Sprite sprite)|
+| SetPadding() |public void SetPadding(float[] padding)|
+| SetPosition() |public void SetPosition(Vector3 position)|
+| SetRectPosition() |public void SetRectPosition(Vector3 position)|
+| SetSize() |public void SetSize(float width, float height)|
+| SetText() |public bool SetText(string text)|
+| SetTextActive() |public void SetTextActive(bool flag)|
+| SetTextColor() |public void SetTextColor(Color color)|
+| SetTextPadding() |public void SetTextPadding(TextPadding padding)|
+| SetTextRotate() |public void SetTextRotate(float rotate)|
+| UpdateIcon() |public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null)|
-## `ChartObject`
+## ChartObject
|public method|description|
|--|--|
-| `Destroy()` |public virtual void Destroy() |
+| Destroy() |public virtual void Destroy()|
-## `CheckHelper`
+## CheckHelper
|public method|description|
|--|--|
-| `CheckChart()` |public static string CheckChart(BaseChart chart) |
-| `CheckChart()` |public static string CheckChart(BaseGraph chart) |
+| CheckChart() |public static string CheckChart(BaseChart chart)|
+| CheckChart() |public static string CheckChart(BaseGraph chart)|
-## `ColorUtil`
+## ColorUtil
|public method|description|
|--|--|
-| `GetColor()` |public static Color32 GetColor(string hexColorStr)将字符串颜色值转成Color。 |
+| GetColor() |public static Color32 GetColor(string hexColorStr)
将字符串颜色值转成Color。 |
-## `ComponentHandlerAttribute`
+## ComponentHandlerAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `ComponentHandlerAttribute()` |public ComponentHandlerAttribute(Type handler) |
-| `ComponentHandlerAttribute()` |public ComponentHandlerAttribute(Type handler, bool allowMultiple) |
+| ComponentHandlerAttribute() |public ComponentHandlerAttribute(Type handler)|
+| ComponentHandlerAttribute() |public ComponentHandlerAttribute(Type handler, bool allowMultiple)|
-## `ComponentHelper`
+## ComponentHelper
|public method|description|
|--|--|
-| `GetAngleAxis()` |public static AngleAxis GetAngleAxis(List components, int polarIndex) |
-| `GetRadiusAxis()` |public static RadiusAxis GetRadiusAxis(List components, int polarIndex) |
-| `GetXAxisOnZeroOffset()` |public static float GetXAxisOnZeroOffset(List components, XAxis axis) |
-| `GetYAxisOnZeroOffset()` |public static float GetYAxisOnZeroOffset(List components, YAxis axis) |
-| `IsAnyCategoryOfYAxis()` |public static bool IsAnyCategoryOfYAxis(List components) |
+| GetAngleAxis() |public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)|
+| GetRadiusAxis() |public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)|
+| GetXAxisOnZeroOffset() |public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)|
+| GetYAxisOnZeroOffset() |public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)|
+| IsAnyCategoryOfYAxis() |public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)|
-## `CoordOptionsAttribute`
+## CoordOptionsAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `Contains()` |public bool Contains() where T : CoordSystem |
-| `CoordOptionsAttribute()` |public CoordOptionsAttribute(Type coord) |
-| `CoordOptionsAttribute()` |public CoordOptionsAttribute(Type coord, Type coord2) |
-| `CoordOptionsAttribute()` |public CoordOptionsAttribute(Type coord, Type coord2, Type coord3) |
-| `CoordOptionsAttribute()` |public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4) |
+| Contains<T>() |public bool Contains<T>() where T : CoordSystem|
+| CoordOptionsAttribute() |public CoordOptionsAttribute(Type coord)|
+| CoordOptionsAttribute() |public CoordOptionsAttribute(Type coord, Type coord2)|
+| CoordOptionsAttribute() |public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)|
+| CoordOptionsAttribute() |public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)|
-## `DataZoomContext`
+## DataZoomContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `DataZoomHelper`
+## DataZoomHelper
|public method|description|
|--|--|
-| `UpdateDataZoomRuntimeStartEndValue()` |public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie) |
-| `UpdateDataZoomRuntimeStartEndValue()` |public static void UpdateDataZoomRuntimeStartEndValue(BaseChart chart) where T : Serie |
+| UpdateDataZoomRuntimeStartEndValue() |public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)|
+| UpdateDataZoomRuntimeStartEndValue<T>() |public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie|
-## `DateTimeUtil`
+## DateTimeUtil
|public method|description|
|--|--|
-| `GetDateTime()` |public static DateTime GetDateTime(int timestamp) |
-| `GetTimestamp()` |public static int GetTimestamp() |
-| `GetTimestamp()` |public static int GetTimestamp(DateTime time) |
+| GetDateTime() |public static DateTime GetDateTime(int timestamp)|
+| GetTimestamp() |public static int GetTimestamp()|
+| GetTimestamp() |public static int GetTimestamp(DateTime time)|
-## `DefaultAnimationAttribute`
+## DefaultAnimationAttribute
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `DefaultAnimationAttribute()` |public DefaultAnimationAttribute(AnimationType handler) |
+| DefaultAnimationAttribute() |public DefaultAnimationAttribute(AnimationType handler)|
-## `DefineSymbolsUtil`
+## DefineSymbolsUtil
|public method|description|
|--|--|
-| `AddGlobalDefine()` |public static void AddGlobalDefine(string symbol) |
-| `RemoveGlobalDefine()` |public static void RemoveGlobalDefine(string symbol) |
+| AddGlobalDefine() |public static void AddGlobalDefine(string symbol)|
+| RemoveGlobalDefine() |public static void RemoveGlobalDefine(string symbol)|
-## `FormatterHelper`
+## FormatterHelper
|public method|description|
|--|--|
-| `NeedFormat()` |public static bool NeedFormat(string content) |
-| `ReplaceAxisLabelContent()` |public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value) |
-| `ReplaceAxisLabelContent()` |public static void ReplaceAxisLabelContent(ref string content, string value) |
-| `TrimAndReplaceLine()` |public static string TrimAndReplaceLine(string content) |
-| `TrimAndReplaceLine()` |public static string TrimAndReplaceLine(StringBuilder sb) |
+| NeedFormat() |public static bool NeedFormat(string content)|
+| ReplaceAxisLabelContent() |public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)|
+| ReplaceAxisLabelContent() |public static void ReplaceAxisLabelContent(ref string content, string value)|
+| TrimAndReplaceLine() |public static string TrimAndReplaceLine(string content)|
+| TrimAndReplaceLine() |public static string TrimAndReplaceLine(StringBuilder sb)|
-## `GridCoordContext`
+## GridCoordContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `HeatmapChart`
+## HeatmapChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `IgnoreDoc`
+## IgnoreDoc
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `IgnoreDoc()` |public IgnoreDoc() |
+| IgnoreDoc() |public IgnoreDoc()|
-## `InteractData`
+## InteractData
|public method|description|
|--|--|
-| `Reset()` |public void Reset() |
-| `SetColor()` |public void SetColor(ref bool needInteract, Color32 color) |
-| `SetColor()` |public void SetColor(ref bool needInteract, Color32 color, Color32 toColor) |
-| `SetValue()` |public void SetValue(ref bool needInteract, float size) |
-| `SetValue()` |public void SetValue(ref bool needInteract, float size, bool highlight, float rate = 1.3f) |
-| `SetValueAndColor()` |public void SetValueAndColor(ref bool needInteract, float value, Color32 color) |
-| `SetValueAndColor()` |public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor) |
-| `TryGetColor()` |public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250) |
-| `TryGetColor()` |public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250) |
-| `TryGetValue()` |public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250) |
-| `TryGetValueAndColor()` |public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250) |
+| Reset() |public void Reset()|
+| SetColor() |public void SetColor(ref bool needInteract, Color32 color)|
+| SetColor() |public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)|
+| SetValue() |public void SetValue(ref bool needInteract, float size)|
+| SetValue() |public void SetValue(ref bool needInteract, float size, bool highlight, float rate = 1.3f)|
+| SetValueAndColor() |public void SetValueAndColor(ref bool needInteract, float value, Color32 color)|
+| SetValueAndColor() |public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)|
+| TryGetColor() |public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)|
+| TryGetColor() |public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)|
+| TryGetValue() |public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)|
+| TryGetValueAndColor() |public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)|
-## `LayerHelper`
+## LayerHelper
|public method|description|
|--|--|
-| `IsFixedWidthHeight()` |public static bool IsFixedWidthHeight(RectTransform rt) |
-| `IsStretchPivot()` |public static bool IsStretchPivot(RectTransform rt) |
+| IsFixedWidthHeight() |public static bool IsFixedWidthHeight(RectTransform rt)|
+| IsStretchPivot() |public static bool IsStretchPivot(RectTransform rt)|
-## `LegendContext`
+## LegendContext
Inherits or Implemented: [MainComponentContext](#MainComponentContext)
-## `LegendHelper`
+## LegendHelper
|public method|description|
|--|--|
-| `CheckDataHighlighted()` |public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight) |
-| `CheckDataShow()` |public static bool CheckDataShow(Serie serie, string legendName, bool show) |
-| `GetContentColor()` |public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active) |
-| `GetIconColor()` |public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active) |
-| `ResetItemPosition()` |public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight) |
-| `SetLegendBackground()` |public static void SetLegendBackground(Legend legend, ImageStyle style) |
+| CheckDataHighlighted() |public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)|
+| CheckDataShow() |public static bool CheckDataShow(Serie serie, string legendName, bool show)|
+| GetContentColor() |public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)|
+| GetIconColor() |public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)|
+| ResetItemPosition() |public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)|
+| SetLegendBackground() |public static void SetLegendBackground(Legend legend, ImageStyle style)|
-## `LegendItem`
+## LegendItem
|public method|description|
|--|--|
-| `GetIconColor()` |public Color GetIconColor() |
-| `GetIconRect()` |public Rect GetIconRect() |
-| `SetActive()` |public void SetActive(bool active) |
-| `SetBackground()` |public void SetBackground(ImageStyle imageStyle) |
-| `SetButton()` |public void SetButton(Button button) |
-| `SetContent()` |public bool SetContent(string content) |
-| `SetContentBackgroundColor()` |public void SetContentBackgroundColor(Color color) |
-| `SetContentColor()` |public void SetContentColor(Color color) |
-| `SetContentPosition()` |public void SetContentPosition(Vector3 offset) |
-| `SetIcon()` |public void SetIcon(Image icon) |
-| `SetIconActive()` |public void SetIconActive(bool active) |
-| `SetIconColor()` |public void SetIconColor(Color color) |
-| `SetIconImage()` |public void SetIconImage(Sprite image) |
-| `SetIconSize()` |public void SetIconSize(float width, float height) |
-| `SetObject()` |public void SetObject(GameObject obj) |
-| `SetPosition()` |public void SetPosition(Vector3 position) |
-| `SetText()` |public void SetText(ChartText text) |
-| `SetTextBackground()` |public void SetTextBackground(Image image) |
+| GetIconColor() |public Color GetIconColor()|
+| GetIconRect() |public Rect GetIconRect()|
+| SetActive() |public void SetActive(bool active)|
+| SetBackground() |public void SetBackground(ImageStyle imageStyle)|
+| SetButton() |public void SetButton(Button button)|
+| SetContent() |public bool SetContent(string content)|
+| SetContentBackgroundColor() |public void SetContentBackgroundColor(Color color)|
+| SetContentColor() |public void SetContentColor(Color color)|
+| SetContentPosition() |public void SetContentPosition(Vector3 offset)|
+| SetIcon() |public void SetIcon(Image icon)|
+| SetIconActive() |public void SetIconActive(bool active)|
+| SetIconColor() |public void SetIconColor(Color color)|
+| SetIconImage() |public void SetIconImage(Sprite image)|
+| SetIconSize() |public void SetIconSize(float width, float height)|
+| SetObject() |public void SetObject(GameObject obj)|
+| SetPosition() |public void SetPosition(Vector3 position)|
+| SetText() |public void SetText(ChartText text)|
+| SetTextBackground() |public void SetTextBackground(Image image)|
-## `LineChart`
+## LineChart
Inherits or Implemented: [BaseChart](#BaseChart)
-## `ListFor`
+## ListFor
Inherits or Implemented: [Attribute](#Attribute)
|public method|description|
|--|--|
-| `ListFor()` |public ListFor(Type type) |
+| ListFor() |public ListFor(Type type)|
-## `ListForComponent`
+## ListForComponent
Inherits or Implemented: [ListFor](#ListFor)
|public method|description|
|--|--|
-| `ListForComponent()` |public ListForComponent(Type type) : base(type) |
+| ListForComponent() |public ListForComponent(Type type) : base(type)|
-## `ListForSerie`
+## ListForSerie
Inherits or Implemented: [ListFor](#ListFor)
|public method|description|
|--|--|
-| `ListForSerie()` |public ListForSerie(Type type) : base(type) |
+| ListForSerie() |public ListForSerie(Type type) : base(type)|
-## `MainComponentContext`
+## MainComponentContext
-## `MainComponentHandler`
+## MainComponentHandler
|public method|description|
|--|--|
-| `CheckComponent()` |public virtual void CheckComponent(StringBuilder sb) { } |
-| `DrawBase()` |public virtual void DrawBase(VertexHelper vh) { } |
-| `DrawTop()` |public virtual void DrawTop(VertexHelper vh) { } |
-| `DrawUpper()` |public virtual void DrawUpper(VertexHelper vh) { } |
-| `InitComponent()` |public virtual void InitComponent() { } |
-| `OnBeginDrag()` |public virtual void OnBeginDrag(PointerEventData eventData) { } |
-| `OnDrag()` |public virtual void OnDrag(PointerEventData eventData) { } |
-| `OnEndDrag()` |public virtual void OnEndDrag(PointerEventData eventData) { } |
-| `OnPointerClick()` |public virtual void OnPointerClick(PointerEventData eventData) { } |
-| `OnPointerDown()` |public virtual void OnPointerDown(PointerEventData eventData) { } |
-| `OnPointerEnter()` |public virtual void OnPointerEnter(PointerEventData eventData) { } |
-| `OnPointerExit()` |public virtual void OnPointerExit(PointerEventData eventData) { } |
-| `OnPointerUp()` |public virtual void OnPointerUp(PointerEventData eventData) { } |
-| `OnScroll()` |public virtual void OnScroll(PointerEventData eventData) { } |
-| `OnSerieDataUpdate()` |public virtual void OnSerieDataUpdate(int serieIndex) { } |
-| `RemoveComponent()` |public virtual void RemoveComponent() { } |
-| `Update()` |public virtual void Update() { } |
+| CheckComponent() |public virtual void CheckComponent(StringBuilder sb) { }|
+| DrawBase() |public virtual void DrawBase(VertexHelper vh) { }|
+| DrawTop() |public virtual void DrawTop(VertexHelper vh) { }|
+| DrawUpper() |public virtual void DrawUpper(VertexHelper vh) { }|
+| InitComponent() |public virtual void InitComponent() { }|
+| OnBeginDrag() |public virtual void OnBeginDrag(PointerEventData eventData) { }|
+| OnDrag() |public virtual void OnDrag(PointerEventData eventData) { }|
+| OnEndDrag() |public virtual void OnEndDrag(PointerEventData eventData) { }|
+| OnPointerClick() |public virtual void OnPointerClick(PointerEventData eventData) { }|
+| OnPointerDown() |public virtual void OnPointerDown(PointerEventData eventData) { }|
+| OnPointerEnter() |public virtual void OnPointerEnter(PointerEventData eventData) { }|
+| OnPointerExit() |public virtual void OnPointerExit(PointerEventData eventData) { }|
+| OnPointerUp() |public virtual void OnPointerUp(PointerEventData eventData) { }|
+| OnScroll() |public virtual void OnScroll(PointerEventData eventData) { }|
+| OnSerieDataUpdate() |public virtual void OnSerieDataUpdate(int serieIndex) { }|
+| RemoveComponent() |public virtual void RemoveComponent() { }|
+| Update() |public virtual void Update() { }|
-## `MainComponentHandler