调整Covert重命名为Convert

This commit is contained in:
monitor1394
2022-12-22 22:26:10 +08:00
parent d9053db2e3
commit bc6c387db3
14 changed files with 37 additions and 34 deletions

View File

@@ -129,9 +129,9 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
| ClearData() |public virtual void ClearData()<br/>Clear all components and series data. Note: serie only empties the data and does not remove serie. |
| ClearSerieData() |public virtual void ClearSerieData()<br/>Clear the data of all series. |
| ClickLegendButton() |public void ClickLegendButton(int legendIndex, string legendName, bool show)<br/>点击图例按钮 |
| CovertSerie() |public bool CovertSerie(Serie serie, Type type)|
| CovertSerie&lt;T&gt;() |public bool CovertSerie&lt;T&gt;(Serie serie) where T : Serie|
| CovertXYAxis() |public void CovertXYAxis(int index)<br/>转换X轴和Y轴的配置 |
| ConvertSerie() |public bool ConvertSerie(Serie serie, Type type)|
| ConvertSerie&lt;T&gt;() |public bool ConvertSerie&lt;T&gt;(Serie serie) where T : Serie|
| ConvertXYAxis() |public void ConvertXYAxis(int index)<br/>转换X轴和Y轴的配置 |
| GenerateDefaultSerieName() |public string GenerateDefaultSerieName()|
| GetAllSerieDataCount() |public int GetAllSerieDataCount()|
| GetChartBackgroundColor() |public Color32 GetChartBackgroundColor()|
@@ -227,7 +227,6 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
| RemoveSerie&lt;T&gt;() |public void RemoveSerie&lt;T&gt;() where T : Serie|
| ReplaceSerie() |public bool ReplaceSerie(Serie oldSerie, Serie newSerie)|
| ResetDataIndex() |public bool ResetDataIndex(int serieIndex)<br/>重置serie的数据项索引。避免数据项索引异常。 |
| SaveAsImage() |public void SaveAsImage(string imageType = "png", string savePath = "")<br/>保存图表为图片。 |
| SetBasePainterMaterial() |public void SetBasePainterMaterial(Material material)<br/>设置Base Painter的材质球 |
| SetMaxCache() |public void SetMaxCache(int maxCache)<br/>设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。 |
| SetPainterActive() |public void SetPainterActive(int index, bool flag)|
@@ -276,6 +275,7 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic),[IPointerDownHandle
| RebuildChartObject() |public void RebuildChartObject()<br/>移除并重新创建所有图表的Object。 |
| RefreshAllComponent() |public void RefreshAllComponent()|
| RefreshGraph() |public virtual void RefreshGraph()<br/>Redraw graph in next frame. |
| SaveAsImage() |public void SaveAsImage(string imageType = "png", string savePath = "")<br/>保存图表为图片。 |
| ScreenPointToChartPoint() |public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)|
| SetPainterDirty() |public void SetPainterDirty()<br/>重新初始化Painter |
| SetSize() |public virtual void SetSize(float width, float height)<br/>设置图形的宽高在非stretch pivot下才有效其他情况需要自己调整RectTransform |
@@ -312,7 +312,7 @@ Inherits or Implemented: [BaseChart](#basechart)
| CopyList&lt;T&gt;() |public static bool CopyList&lt;T&gt;(List&lt;T&gt; toList, List&lt;T&gt; 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)|
| DestoryGameObjectByMatch() |public static void DestoryGameObjectByMatch(Transform parent, string containString)|
| 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)<br/>获得0-360的角度12点钟方向为0度 |
@@ -645,6 +645,7 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
|public method|description|
|--|--|
| CheckRefresh() |public void CheckRefresh()|
| Init() |public void Init()|
| Refresh() |public void Refresh()|
| SetActive() |public void SetActive(bool flag, bool isDebugMode = false)|

View File

@@ -610,7 +610,7 @@ Details:
* (2020.04.19) 优化`LineChart`折线图的区域填充渐变效果
* (2020.04.19) 增加`AxisLabel``onZero`参数可将`Label`显示在`0`刻度上
* (2020.04.19) 增加`Serie``AxisLabel``showAsPositiveNumber`参数将负数数值显示为正数
* (2020.04.18) 增加`Covert XY Axis`互换XY轴配置
* (2020.04.18) 增加`Convert XY Axis`互换XY轴配置
* (2020.04.17) 增加`Axis`可通过`inverse`参数设置坐标轴反转
* (2020.04.16) 修复`Check warning``Unity2019.3`上的显示问题
* (2020.04.16) 修复`PieChart`在设置`Space`参数后动画绘制异常的问题

View File

@@ -129,9 +129,9 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
| ClearData() |public virtual void ClearData()<br/>清空所有组件和Serie的数据。注意Serie只是清空数据不会移除Serie。 |
| ClearSerieData() |public virtual void ClearSerieData()<br/>清空所有serie的数据。 |
| ClickLegendButton() |public void ClickLegendButton(int legendIndex, string legendName, bool show)<br/>点击图例按钮 |
| CovertSerie() |public bool CovertSerie(Serie serie, Type type)|
| CovertSerie&lt;T&gt;() |public bool CovertSerie&lt;T&gt;(Serie serie) where T : Serie|
| CovertXYAxis() |public void CovertXYAxis(int index)<br/>转换X轴和Y轴的配置 |
| ConvertSerie() |public bool ConvertSerie(Serie serie, Type type)|
| ConvertSerie&lt;T&gt;() |public bool ConvertSerie&lt;T&gt;(Serie serie) where T : Serie|
| ConvertXYAxis() |public void ConvertXYAxis(int index)<br/>转换X轴和Y轴的配置 |
| GenerateDefaultSerieName() |public string GenerateDefaultSerieName()|
| GetAllSerieDataCount() |public int GetAllSerieDataCount()|
| GetChartBackgroundColor() |public Color32 GetChartBackgroundColor()|
@@ -227,7 +227,6 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
| RemoveSerie&lt;T&gt;() |public void RemoveSerie&lt;T&gt;() where T : Serie|
| ReplaceSerie() |public bool ReplaceSerie(Serie oldSerie, Serie newSerie)|
| ResetDataIndex() |public bool ResetDataIndex(int serieIndex)<br/>重置serie的数据项索引。避免数据项索引异常。 |
| SaveAsImage() |public void SaveAsImage(string imageType = "png", string savePath = "")<br/>保存图表为图片。 |
| SetBasePainterMaterial() |public void SetBasePainterMaterial(Material material)<br/>设置Base Painter的材质球 |
| SetMaxCache() |public void SetMaxCache(int maxCache)<br/>设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。 |
| SetPainterActive() |public void SetPainterActive(int index, bool flag)|
@@ -276,6 +275,7 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic),[IPointerDownHandle
| RebuildChartObject() |public void RebuildChartObject()<br/>移除并重新创建所有图表的Object。 |
| RefreshAllComponent() |public void RefreshAllComponent()|
| RefreshGraph() |public virtual void RefreshGraph()<br/>在下一帧刷新图形。 |
| SaveAsImage() |public void SaveAsImage(string imageType = "png", string savePath = "")<br/>保存图表为图片。 |
| ScreenPointToChartPoint() |public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)|
| SetPainterDirty() |public void SetPainterDirty()<br/>重新初始化Painter |
| SetSize() |public virtual void SetSize(float width, float height)<br/>设置图形的宽高在非stretch pivot下才有效其他情况需要自己调整RectTransform |
@@ -312,7 +312,7 @@ Inherits or Implemented: [BaseChart](#basechart)
| CopyList&lt;T&gt;() |public static bool CopyList&lt;T&gt;(List&lt;T&gt; toList, List&lt;T&gt; 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)|
| DestoryGameObjectByMatch() |public static void DestoryGameObjectByMatch(Transform parent, string containString)|
| 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)<br/>获得0-360的角度12点钟方向为0度 |
@@ -645,6 +645,7 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic)
|public method|description|
|--|--|
| CheckRefresh() |public void CheckRefresh()|
| Init() |public void Init()|
| Refresh() |public void Refresh()|
| SetActive() |public void SetActive(bool flag, bool isDebugMode = false)|

View File

@@ -65,7 +65,8 @@ slug: /changelog
## master
* (2022.12.22) 修复`Covert XY Axis`后Y轴的`Label`显示异常的问题
* (2022.12.22) 调整`Covert`重命名为`Convert`,涉及的接口有:`ConvertXYAxis()``CovertSerie()`
* (2022.12.22) 修复`Convert XY Axis`后Y轴的`Label`显示异常的问题
* (2022.12.12) 修复`Axis``Value`轴在某些情况下计算数值范围不准确的问题
* (2022.12.12) 优化`Legend``formatter`支持`{h}`通配符
* (2022.12.12) 修复`Legend``formatter`设置为固定值时显示不正常的问题
@@ -680,7 +681,7 @@ slug: /changelog
* (2020.04.19) 优化`LineChart`折线图的区域填充渐变效果
* (2020.04.19) 增加`AxisLabel``onZero`参数可将`Label`显示在`0`刻度上
* (2020.04.19) 增加`Serie``AxisLabel``showAsPositiveNumber`参数将负数数值显示为正数
* (2020.04.18) 增加`Covert XY Axis`互换XY轴配置
* (2020.04.18) 增加`Convert XY Axis`互换XY轴配置
* (2020.04.17) 增加`Axis`可通过`inverse`参数设置坐标轴反转
* (2020.04.16) 修复`Check warning``Unity2019.3`上的显示问题
* (2020.04.16) 修复`PieChart`在设置`Space`参数后动画绘制异常的问题