mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-21 16:00:24 +00:00
优化代码,更好的支持自定义图表
This commit is contained in:
@@ -471,6 +471,7 @@ namespace XCharts
|
||||
/// <returns></returns>
|
||||
public bool IsDataIndexChanged()
|
||||
{
|
||||
if (runtimeDataIndex.Count < 2 || lastDataIndex.Count < 2) return false;
|
||||
return runtimeDataIndex[0] != lastDataIndex[0] ||
|
||||
runtimeDataIndex[1] != lastDataIndex[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user