CPF/CPF.ReoGrid/Chart/DoughnutPlotView.cs
2024-06-24 10:15:59 +08:00

24 lines
424 B
C#

using System;
using CPF.Drawing;
using CPF.ReoGrid.Drawing.Shapes;
using CPF.ReoGrid.Drawing.Shapes.SmartShapes;
namespace CPF.ReoGrid.Chart
{
public class DoughnutPlotView : PiePlotView
{
public DoughnutPlotView(DoughnutChart chart) : base(chart)
{
}
protected override PieShape CreatePieShape(Rect bounds)
{
return new BlockArcShape
{
Bounds = bounds,
LineColor = Color.White
};
}
}
}