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

Function Label

docs/app/js/sanddance-app.js:139191–139193  ·  view source on GitHub ↗

* Compute text label layout to annotate marks. * @constructor * @param {object} params - The parameters for this operator. * @param {Array } params.size - The size of the layout, provided as a [width, height] array. * @param {function(*,*): number} [params.sort] - An optional * compara

(params)

Source from the content-addressed store, hash-verified

139189 * @param {Array<string>} [params.as] - The output fields written by the transform.
139190 * The default is ['x', 'y', 'opacity', 'align', 'baseline'].
139191 */ function Label(params) {
139192 (0, _vegaDataflow.Transform).call(this, null, params);
139193}
139194Label.Definition = {
139195 type: "Label",
139196 metadata: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected