优化RadarChart在设置max0时可自动刷新最大值

This commit is contained in:
monitor1394
2020-05-30 09:41:46 +08:00
parent dfbec5408b
commit a53a06e738
8 changed files with 157 additions and 40 deletions

View File

@@ -205,11 +205,11 @@ namespace XCharts
m_SplitNumber = 5,
m_Indicator = true,
m_IndicatorList = new List<Indicator>(5){
new Indicator(){name="indicator1",max = 100},
new Indicator(){name="indicator2",max = 100},
new Indicator(){name="indicator3",max = 100},
new Indicator(){name="indicator4",max = 100},
new Indicator(){name="indicator5",max = 100},
new Indicator(){name="indicator1",max = 0},
new Indicator(){name="indicator2",max = 0},
new Indicator(){name="indicator3",max = 0},
new Indicator(){name="indicator4",max = 0},
new Indicator(){name="indicator5",max = 0},
}
};
radar.center[0] = 0.5f;