重构接口

This commit is contained in:
monitor1394
2019-09-29 09:16:15 +08:00
parent 0493a2ebfe
commit 83deb5e103
10 changed files with 51 additions and 45 deletions

View File

@@ -18,7 +18,7 @@ namespace XCharts
m_Title.text = "BarChart";
m_Tooltip.type = Tooltip.Type.Shadow;
RemoveData();
AddSerie("serie1", SerieType.Bar);
AddSerie(SerieType.Bar, "serie1");
for (int i = 0; i < 5; i++)
{
AddXAxisData("x" + (i + 1));