mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-21 16:00:24 +00:00
修复调用UpdateDataName()接口时不会自动刷新的问题
This commit is contained in:
@@ -31,6 +31,23 @@ namespace XCharts
|
||||
return false;
|
||||
}
|
||||
|
||||
public static bool IsNameDirty(Series series)
|
||||
{
|
||||
foreach (var serie in series.list)
|
||||
{
|
||||
if (serie.nameDirty) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static void ClearNameDirty(Series series)
|
||||
{
|
||||
foreach (var serie in series.list)
|
||||
{
|
||||
serie.ClearNameDirty();
|
||||
}
|
||||
}
|
||||
|
||||
public static bool IsLegalLegendName(string name)
|
||||
{
|
||||
int numName = -1;
|
||||
|
||||
Reference in New Issue
Block a user