优化Line的默认配置效果

This commit is contained in:
monitor1394
2023-07-31 07:29:53 +08:00
parent ec89828c67
commit 0ffc6d7efe
6 changed files with 19 additions and 4 deletions

View File

@@ -31,6 +31,7 @@ namespace XCharts.Runtime
{
var serie = chart.AddSerie<Line>(serieName);
serie.symbol.show = true;
serie.animation.interaction.radius.value = 1.5f;
for (int i = 0; i < 5; i++)
{
chart.AddData(serie.index, UnityEngine.Random.Range(10, 90));