MCPcopy Index your code
hub / github.com/microsoft/SandDance / LegendEntries

Function LegendEntries

docs/app/js/sanddance-app.js:129669–129671  ·  view source on GitHub ↗

* Generates legend entries for visualizing a scale. * @constructor * @param {object} params - The parameters for this operator. * @param {Scale} params.scale - The scale to generate items for. * @param {*} [params.count=5] - The approximate number of items, or * desired tick interval, to use.

(params)

Source from the content-addressed store, hash-verified

129667 * @param {function(*):string} [params.format] - The format function to use.
129668 * If provided, the formatSpecifier argument is ignored.
129669 */ function LegendEntries(params) {
129670 (0, _vegaDataflow.Transform).call(this, [], params);
129671}
129672(0, _vegaUtil.inherits)(LegendEntries, (0, _vegaDataflow.Transform), {
129673 transform (_, pulse) {
129674 if (this.value != null && !_.modified()) return pulse.StopPropagation;

Callers 1

parseLegendFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected