优化Legend数量过多时自动换行显示

This commit is contained in:
monitor1394
2020-06-04 07:06:41 +08:00
parent db8dd43291
commit b0866b3900
3 changed files with 119 additions and 40 deletions

View File

@@ -450,7 +450,7 @@ namespace XCharts
OnLegendButtonClick(n, m_LegendRealShowName[n], n == 0 ? true : false);
}
}
LegendHelper.ResetItemPosition(m_Legend);
LegendHelper.ResetItemPosition(m_Legend, m_ChartWidth, m_ChartHeight);
}
private void InitSerieLabel()