mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 08:50:10 +00:00
修复TMP开启时Axis运行报错
This commit is contained in:
@@ -80,6 +80,7 @@ slug: /changelog
|
|||||||
|
|
||||||
## master
|
## master
|
||||||
|
|
||||||
|
* (2025.05.19) 修复`TMP`开启时`Axis`运行报错
|
||||||
* (2025.04.25) 修复`MarkArea`指定`yValue`或`xValue`时绘制区域不准确的问题
|
* (2025.04.25) 修复`MarkArea`指定`yValue`或`xValue`时绘制区域不准确的问题
|
||||||
* (2025.04.17) 增加`UITable`的`Title`支持设置标题
|
* (2025.04.17) 增加`UITable`的`Title`支持设置标题
|
||||||
* (2025.04.17) 增加`UITable`的`Viewport`支持设置表格视口边距边框
|
* (2025.04.17) 增加`UITable`的`Viewport`支持设置表格视口边距边框
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ namespace XCharts
|
|||||||
if (label == null) continue;
|
if (label == null) continue;
|
||||||
if (label.InRect(chart.pointerPos))
|
if (label.InRect(chart.pointerPos))
|
||||||
{
|
{
|
||||||
component.onLabelClick.Invoke(i, label.text.text.text);
|
component.onLabelClick.Invoke(i, label.GetText());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -456,7 +456,7 @@ namespace XCharts
|
|||||||
}
|
}
|
||||||
if(content == null)
|
if(content == null)
|
||||||
{
|
{
|
||||||
content = label.text.text.text;
|
content = label.GetText();
|
||||||
}
|
}
|
||||||
if (axis.IsValue())
|
if (axis.IsValue())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user