增加LabelLinelineEndX可设置引导线固定X位置的支持

This commit is contained in:
monitor1394
2023-08-04 08:39:05 +08:00
parent ea819bfa42
commit 9d3d8543a5
8 changed files with 26 additions and 3 deletions

View File

@@ -1047,6 +1047,8 @@ serie事件的数据。
|public method|since|description|
|--|--|--|
|AfterUpdate()||public virtual void AfterUpdate() { }|
|BeforeUpdate()||public virtual void BeforeUpdate() { }|
|CheckComponent()||public virtual void CheckComponent(StringBuilder sb) { }|
|DrawBase()||public virtual void DrawBase(VertexHelper vh) { }|
|DrawSerie()||public virtual void DrawSerie(VertexHelper vh) { }|
@@ -1082,6 +1084,8 @@ serie事件的数据。
|public method|since|description|
|--|--|--|
|AfterUpdate()||public override void AfterUpdate()|
|BeforeUpdate()||public override void BeforeUpdate()|
|DrawLabelLineSymbol()||public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)|
|ForceUpdateSerieContext()||public override void ForceUpdateSerieContext()|
|GetPointerItemDataDimension()||public override int GetPointerItemDataDimension()|

View File

@@ -76,6 +76,8 @@ slug: /changelog
日志详情:
* (2023.08.04) 增加`LabelLine``lineEndX`可设置引导线固定X位置的支持
* (2023.08.04) 增加`Ring``avoidLabelOverlap`避免文本堆叠的支持 (#247)
* (2023.08.03) 完善`Chart``onSerieEnter``onSerieExit``onSerieClick`回调
* (2023.08.02) 修复`BarChart``onSerieEnter``onSerieExit`回调无效的问题
* (2023.08.02) 增加`Symbol``Plus`加号和`Minus`减号的支持

View File

@@ -1165,6 +1165,7 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
|lineGap|1.0f||视觉引导线和容器的间距。
|lineLength1|25f||视觉引导线第一段的长度。
|lineLength2|15f||视觉引导线第二段的长度。
|lineEndX|0f|v3.8.0|视觉引导线结束点的固定x位置。当不为0时会代替lineLength2设定引导线的x位置。
|startSymbol|||起始点的图形标记。 [SymbolStyle](#symbolstyle)|
|endSymbol|||结束点的图形标记。 [SymbolStyle](#symbolstyle)|