MCPcopy Create free account
hub / github.com/microsoft/SandDance / Pie

Function Pie

docs/app/js/sanddance-app.js:129868–129870  ·  view source on GitHub ↗

* Pie and donut chart layout. * @constructor * @param {object} params - The parameters for this operator. * @param {function(object): *} params.field - The value field to size pie segments. * @param {number} [params.startAngle=0] - The start angle (in radians) of the layout. * @param {number} [

(params)

Source from the content-addressed store, hash-verified

129866 * @param {number} [params.endAngle=2π] - The end angle (in radians) of the layout.
129867 * @param {boolean} [params.sort] - Boolean flag for sorting sectors by value.
129868 */ function Pie(params) {
129869 (0, _vegaDataflow.Transform).call(this, null, params);
129870}
129871Pie.Definition = {
129872 "type": "Pie",
129873 "metadata": {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected