重构Title相关代码

This commit is contained in:
monitor1394
2025-04-17 22:10:47 +08:00
parent e124d38d3e
commit a0dba26318
7 changed files with 160 additions and 50 deletions

View File

@@ -588,11 +588,6 @@ namespace XCharts.Runtime
}
}
public Vector3 GetTitlePosition(Title title)
{
return chartPosition + title.location.GetPosition(chartWidth, chartHeight);
}
public int GetLegendRealShowNameIndex(string name)
{
return m_LegendRealShowName.IndexOf(name);