MindFusion.Charting for JavaScript Programmer's Guide
Graphics.fillPie Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Fills a pie.

Namespace: MindFusion.Drawing
File: Graphics.js

## Syntax

JavaScript Copy Code
function fillPie (brush, rect, radius, startAngle, endAngle, [doughnut])

### Parameters

brush

  Type: Brush
  The brush to fill the pie with.

rect

  Type: Rect
  The bounds of the pie.

radius

  Type: Number
  The radius of the pie.

startAngle

  Type: Number
  The startAngle of the pie.

endAngle

  Type: Number
  The endAngle of the pie.

doughnut
  Optional.

  Type: Boolean
  True if the pie should be a doughnut, otherwise false.

## See Also

Graphics Members
Graphics Class
MindFusion.Drawing Namespace