* UIPieChart:增加一个函数
This commit is contained in:
parent
8bdf28366a
commit
01a043ffb9
BIN
Bin/SunnyUI.dll
BIN
Bin/SunnyUI.dll
Binary file not shown.
@ -159,6 +159,11 @@ namespace Sunny.UI
|
|||||||
Data.Add(new UIPieSeriesData(name, value));
|
Data.Add(new UIPieSeriesData(name, value));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void AddData(string name, double value, Color color)
|
||||||
|
{
|
||||||
|
Data.Add(new UIPieSeriesData(name, value, color));
|
||||||
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
Data.Clear();
|
Data.Clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user