Documentation

@kanunilabs/pivotgrid-enterprise


@kanunilabs/pivotgrid-enterprise / sectorPath

Function: sectorPath()

sectorPath(cx, cy, outer, inner, startDeg, endDeg): string

A pie/donut sector. inner of 0 gives a wedge from the centre.

A slice covering the whole circle cannot be drawn as an arc — start and end coincide and the browser paints nothing — so it becomes two half arcs.

Parameters

cx

number

cy

number

outer

number

inner

number

startDeg

number

endDeg

number

Returns

string