Files

22 lines
426 B
C#
Raw Permalink Normal View History

2021-07-23 09:42:22 +08:00
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;
}
}
}
}
}