mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-14 20:00:09 +00:00
修复Tooltip在类目轴无数据时异常报错的问题 (#279)
This commit is contained in:
@@ -68,6 +68,7 @@ slug: /changelog
|
||||
|
||||
## master
|
||||
|
||||
* (2023.09.16) 修复`Tooltip`在类目轴无数据时异常报错的问题 (#279)
|
||||
* (2023.09.16) 修复`Pie`无数据时绘制异常的问题
|
||||
* (2023.09.12) 增加`Pie`的`radiusGradient`可设置半径方向的渐变效果
|
||||
* (2023.09.05) 优化`LabelLine`的`lineEndX`在`Pie`中的表现
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace XCharts
|
||||
return;
|
||||
if (!grid.context.isPointerEnter)
|
||||
{
|
||||
axis.context.pointerValue = double.NaN;
|
||||
axis.context.pointerValue = double.PositiveInfinity;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace XCharts.Runtime
|
||||
|
||||
if (!polar.context.isPointerEnter)
|
||||
{
|
||||
axis.context.pointerValue = double.NaN;
|
||||
axis.context.pointerValue = double.PositiveInfinity;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user