Files
aistudio-wpf-diagram/Live-Charts-master/Examples/Wpf/PieChart/DropDowns/DataProvider.cs
2021-07-23 09:42:22 +08:00

22 lines
426 B
C#

using System;
using System.Collections.Generic;
namespace Wpf.PieChart.DropDowns
{
public static class DataProvider
{
public static IEnumerable<double> Values
{
get
{
var r = new Random();
for (var i = 0; i < 30; i++)
{
yield return r.NextDouble() * 100;
}
}
}
}
}