mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 10:20:10 +00:00
修复Tooltip在设置itemFormatter为-后整个不显示的问题
This commit is contained in:
@@ -530,7 +530,7 @@ namespace XCharts.Runtime
|
||||
ref tooltip.context.data.title);
|
||||
}
|
||||
TooltipHelper.ResetTooltipParamsByItemFormatter(tooltip, chart);
|
||||
if (tooltip.context.data.param.Count > 0)
|
||||
if (tooltip.context.data.param.Count > 0 || !string.IsNullOrEmpty(tooltip.context.data.title))
|
||||
{
|
||||
tooltip.SetActive(true);
|
||||
if (tooltip.view != null)
|
||||
|
||||
Reference in New Issue
Block a user