* 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)
| 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; |