mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 18:00:26 +00:00
增加TextStyle的lineSpacing参数配置行间距
This commit is contained in:
@@ -531,7 +531,7 @@ namespace XCharts
|
||||
if (selected)
|
||||
{
|
||||
m_Tooltip.UpdateContentPos(new Vector2(local.x + 18, local.y - 25));
|
||||
RefreshTooltip();
|
||||
UpdateTooltip();
|
||||
}
|
||||
else if (m_Tooltip.IsActive())
|
||||
{
|
||||
@@ -570,9 +570,9 @@ namespace XCharts
|
||||
}
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
protected override void RefreshTooltip()
|
||||
protected override void UpdateTooltip()
|
||||
{
|
||||
base.RefreshTooltip();
|
||||
base.UpdateTooltip();
|
||||
bool showTooltip = false;
|
||||
foreach (var serie in m_Series.list)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user