24 lines
424 B
C#
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
|
|
};
|
|
}
|
|
}
|
|
}
|