3.0 - radar chart

This commit is contained in:
monitor1394
2022-01-22 21:08:26 +08:00
parent a8b2068029
commit d9840bef52
29 changed files with 471 additions and 249 deletions

View File

@@ -792,6 +792,7 @@ namespace XCharts
var handler = (SerieHandler)Activator.CreateInstance(attribute.handler);
handler.attribute = attribute;
handler.chart = this;
handler.defaultDimension = 1;
handler.SetSerie(serie);
serie.handler = handler;
m_SerieHandlers.Add(handler);
@@ -841,5 +842,17 @@ namespace XCharts
{
return "serie" + m_Series.Count;
}
public bool IsSerieName(string name)
{
if (string.IsNullOrEmpty(name))
return false;
foreach (var serie in m_Series)
{
if (name.Equals(serie.serieName))
return true;
}
return false;
}
}
}