增加双坐标轴支持

This commit is contained in:
monitor1394
2019-07-13 16:38:38 +08:00
parent d41c13ccd2
commit 40d7949588
43 changed files with 59473 additions and 1454 deletions

View File

@@ -230,7 +230,8 @@ namespace XCharts
}
m_Tooltip.SetActive(true);
string strColor = ColorUtility.ToHtmlStringRGBA(m_ThemeInfo.GetColor(index));
string key = m_Legend.data[index];
string key = m_Series.series[index].name;
if (string.IsNullOrEmpty(key)) key = m_Legend.GetData(index);
float value = m_Series.series[index].data[0];
string txt = "";
if (!string.IsNullOrEmpty(m_Pie.name))