mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-22 01:16:35 +08:00
项目结构调整
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user