mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 12:08:46 +00:00
增加BaseChart的TriggerTooltip()接口尝试触发ToolTip
This commit is contained in:
@@ -204,6 +204,7 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
|
||||
|CanAddChartComponent()||public bool CanAddChartComponent(Type type)|
|
||||
|CanAddSerie()||public bool CanAddSerie(Type type)|
|
||||
|CanAddSerie<T>()||public bool CanAddSerie<T>() where T : Serie|
|
||||
|CancelTooltip()|v3.7.0|public void CancelTooltip()<br/>cancel tooltip. |
|
||||
|CanMultipleComponent()||public bool CanMultipleComponent(Type type)|
|
||||
|ClampInChart()||public void ClampInChart(ref Vector3 pos)|
|
||||
|ClampInGrid()||public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)|
|
||||
@@ -319,6 +320,8 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
|
||||
|SetSeriePainterMaterial()||public void SetSeriePainterMaterial(Material material)<br/>设置Serie Painter的材质球 |
|
||||
|SetTopPainterMaterial()||public void SetTopPainterMaterial(Material material)<br/>设置Top Painter的材质球 |
|
||||
|SetUpperPainterMaterial()||public void SetUpperPainterMaterial(Material material)<br/>设置Upper Painter的材质球 |
|
||||
|TriggerTooltip()|v3.7.0|public bool TriggerTooltip(int dataIndex)<br/>trigger tooltip by data index. |
|
||||
|TriggerTooltip()|v3.7.0|public bool TriggerTooltip(Vector3 localPosition)<br/>trigger tooltip by chart local position. |
|
||||
|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|
|
||||
@@ -355,6 +358,8 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic),[IPointerDownHandle
|
||||
|onPointerUp||public Action<PointerEventData, BaseGraph> onPointerUp<br/>鼠标弹起回调。 |
|
||||
|onScroll||public Action<PointerEventData, BaseGraph> onScroll<br/>鼠标滚动回调。 |
|
||||
|CheckWarning()||public string CheckWarning()<br/>检测警告信息。 |
|
||||
|LocalPointToScreenPoint()|v3.7.0|public Vector2 LocalPointToScreenPoint(Vector2 localPoint)<br/>chart local point to screen point. |
|
||||
|LocalPointToWorldPoint()|v3.7.0|public Vector2 LocalPointToWorldPoint(Vector2 localPoint)<br/>chart local point to world point. |
|
||||
|OnBeginDrag()||public virtual void OnBeginDrag(PointerEventData eventData)|
|
||||
|OnDrag()||public virtual void OnDrag(PointerEventData eventData)|
|
||||
|OnEndDrag()||public virtual void OnEndDrag(PointerEventData eventData)|
|
||||
|
||||
@@ -204,6 +204,7 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
|
||||
|CanAddChartComponent()||public bool CanAddChartComponent(Type type)|
|
||||
|CanAddSerie()||public bool CanAddSerie(Type type)|
|
||||
|CanAddSerie<T>()||public bool CanAddSerie<T>() where T : Serie|
|
||||
|CancelTooltip()|v3.7.0|public void CancelTooltip()<br/>取消Tooltip. |
|
||||
|CanMultipleComponent()||public bool CanMultipleComponent(Type type)|
|
||||
|ClampInChart()||public void ClampInChart(ref Vector3 pos)|
|
||||
|ClampInGrid()||public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)|
|
||||
@@ -319,6 +320,8 @@ Inherits or Implemented: [BaseGraph](#basegraph),[ISerializationCallbackReceiver
|
||||
|SetSeriePainterMaterial()||public void SetSeriePainterMaterial(Material material)<br/>设置Serie Painter的材质球 |
|
||||
|SetTopPainterMaterial()||public void SetTopPainterMaterial(Material material)<br/>设置Top Painter的材质球 |
|
||||
|SetUpperPainterMaterial()||public void SetUpperPainterMaterial(Material material)<br/>设置Upper Painter的材质球 |
|
||||
|TriggerTooltip()|v3.7.0|public bool TriggerTooltip(int dataIndex)<br/>尝试触发指定数据项的Tooltip. |
|
||||
|TriggerTooltip()|v3.7.0|public bool TriggerTooltip(Vector3 localPosition)<br/>在指定的位置尝试触发Tooltip. |
|
||||
|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|
|
||||
@@ -355,6 +358,8 @@ Inherits or Implemented: [MaskableGraphic](#maskablegraphic),[IPointerDownHandle
|
||||
|onPointerUp||public Action<PointerEventData, BaseGraph> onPointerUp<br/>鼠标弹起回调。 |
|
||||
|onScroll||public Action<PointerEventData, BaseGraph> onScroll<br/>鼠标滚动回调。 |
|
||||
|CheckWarning()||public string CheckWarning()<br/>检测警告信息。 |
|
||||
|LocalPointToScreenPoint()|v3.7.0|public Vector2 LocalPointToScreenPoint(Vector2 localPoint)<br/>图表内坐标转屏幕坐标。 |
|
||||
|LocalPointToWorldPoint()|v3.7.0|public Vector2 LocalPointToWorldPoint(Vector2 localPoint)<br/>图表内坐标转世界坐标。 |
|
||||
|OnBeginDrag()||public virtual void OnBeginDrag(PointerEventData eventData)|
|
||||
|OnDrag()||public virtual void OnDrag(PointerEventData eventData)|
|
||||
|OnEndDrag()||public virtual void OnEndDrag(PointerEventData eventData)|
|
||||
|
||||
@@ -66,6 +66,7 @@ slug: /changelog
|
||||
|
||||
## master
|
||||
|
||||
* (2023.04.14) 增加`BaseChart`的`TriggerTooltip()`接口尝试触发`ToolTip`
|
||||
* (2023.04.12) 优化`RadarCood`设置`startAngle`时文本也跟随调整位置
|
||||
* (2023.04.12) 增加`Radar`对通配符`{b}`的支持
|
||||
* (2023.04.11) 修复动态添加组件时`Inspector`可能异常的问题
|
||||
|
||||
Reference in New Issue
Block a user