MindFusion.Charting for JavaScript Programmer's Guide
GeometryFactory.createRadialGeometry Method
See Also
 






Generates a radial bar geometry with the specified parameters.

Namespace: MindFusion.Gauges
File: GeometryFactory.js

 Syntax

JavaScript  Copy Code

function createRadialGeometry (centerX, centerY, startInnerRadius, startOuterRadius, endInnerRadius, endOuterRadius, startAngle, endAngle, capStart, capEnd, strokeInner, strokeOuter)

 Parameters

centerX

Type: Number
Number. The x-coordinate of the generated geometry.

centerY

Type: Number
Number. The y-coordinate of the generated geometry.

startInnerRadius

Type: Number
Number. The radius of the start point of the inner outline of the bar.

startOuterRadius

Type: Number
Number. The radius of the start point of the outer outline of the bar.

endInnerRadius

Type: Number
Number. The radius of the end point of the inner outline of the bar.

endOuterRadius

Type: Number
Number. The radius of the end point of the outer outline of the bar.

startAngle

Type: Number
Number. The start angle of the radial bar.

endAngle

Type: Number
Number. The end angle of the radial bar.

capStart

Type: Boolean
Boolean. A flag indicating whether to draw a stroke at the start of the bar.

capEnd

Type: Boolean
Boolean. A flag indicating whether to draw a stroke at the end of the bar.

strokeInner

Type: Boolean
Boolean. A flag indicating whether to draw a stroke at the inner curve of the bar.

strokeOuter

Type: Boolean
Boolean. A flag indicating whether to draw a stroke at the outer curve of the bar.

 Return Value

A PathFigure representing a radial bar with the specified parameters.

 See Also

GeometryFactory Members
GeometryFactory Class
MindFusion.Gauges Namespace