mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-26 10:50:08 +00:00
3.0
This commit is contained in:
@@ -458,6 +458,14 @@ namespace XCharts.Runtime
|
||||
return temp;
|
||||
}
|
||||
|
||||
public double GetTotalData()
|
||||
{
|
||||
var total = 0d;
|
||||
foreach (var value in m_Data)
|
||||
total += value;
|
||||
return total;
|
||||
}
|
||||
|
||||
public bool UpdateData(int dimension, double value, bool updateAnimation, float animationDuration = 500f)
|
||||
{
|
||||
if (dimension >= 0 && dimension < data.Count)
|
||||
|
||||
Reference in New Issue
Block a user