mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-21 07:50:16 +00:00
增加Tooltip的单个数据项和标题的字符串模版格式器
This commit is contained in:
@@ -579,7 +579,7 @@ namespace XCharts
|
||||
int index = m_Tooltip.runtimeDataIndex[serie.index];
|
||||
if (index < 0) continue;
|
||||
showTooltip = true;
|
||||
if (string.IsNullOrEmpty(tooltip.formatter))
|
||||
if (tooltip.IsNoFormatter())
|
||||
{
|
||||
string key = serie.data[index].name;
|
||||
if (string.IsNullOrEmpty(key)) key = m_Legend.GetData(index);
|
||||
|
||||
Reference in New Issue
Block a user