| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.LEGEND_INFER_STRATEGIES = void 0;
- /**
- * @examples
- * ✅
- * color - `discrete`, shape - `constant`
- * legendCategory.rule[27] is matched
- *
- * ❎
- * shape - `discrete`, size - `constant`
- * There are no rules to match
- *
- */
- exports.LEGEND_INFER_STRATEGIES = [
- [
- 'legendCategory',
- [
- [
- ['color', 'discrete'],
- ['opacity', 'discrete'],
- ['shape', 'discrete'],
- ['size', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['opacity', 'constant'],
- ['shape', 'discrete'],
- ['size', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['opacity', 'discrete'],
- ['shape', 'constant'],
- ['size', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['opacity', 'constant'],
- ['shape', 'constant'],
- ['size', 'constant'],
- ],
- [
- ['color', 'constant'],
- ['opacity', 'discrete'],
- ['shape', 'discrete'],
- ['size', 'constant'],
- ],
- [
- ['color', 'constant'],
- ['opacity', 'constant'],
- ['shape', 'discrete'],
- ['size', 'constant'],
- ],
- [
- ['color', 'constant'],
- ['opacity', 'discrete'],
- ['shape', 'constant'],
- ['size', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['shape', 'discrete'],
- ['size', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['opacity', 'discrete'],
- ['shape', 'discrete'],
- ],
- [
- ['color', 'discrete'],
- ['opacity', 'discrete'],
- ['size', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['opacity', 'constant'],
- ['shape', 'discrete'],
- ],
- [
- ['color', 'discrete'],
- ['opacity', 'constant'],
- ['size', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['shape', 'constant'],
- ['size', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['opacity', 'discrete'],
- ['shape', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['opacity', 'constant'],
- ['shape', 'constant'],
- ],
- [
- ['color', 'constant'],
- ['shape', 'discrete'],
- ['size', 'constant'],
- ],
- [
- ['color', 'constant'],
- ['opacity', 'discrete'],
- ['shape', 'discrete'],
- ],
- [
- ['color', 'constant'],
- ['opacity', 'discrete'],
- ['size', 'constant'],
- ],
- [
- ['color', 'constant'],
- ['opacity', 'constant'],
- ['shape', 'discrete'],
- ],
- // [
- // ['color', 'constant'],
- // ['opacity', 'constant'],
- // ['size', 'constant'],
- // ],
- // [
- // ['color', 'constant'],
- // ['shape', 'constant'],
- // ['size', 'constant'],
- // ],
- [
- ['color', 'constant'],
- ['opacity', 'discrete'],
- ['shape', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['shape', 'discrete'],
- ],
- [
- ['color', 'discrete'],
- ['size', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['opacity', 'discrete'],
- ],
- [
- ['color', 'discrete'],
- ['opacity', 'constant'],
- ],
- [
- ['color', 'discrete'],
- ['shape', 'constant'],
- ],
- [
- ['color', 'constant'],
- ['shape', 'discrete'],
- ],
- [
- ['color', 'constant'],
- ['size', 'constant'],
- ],
- [
- ['color', 'constant'],
- ['opacity', 'discrete'],
- ],
- // [
- // ['color', 'constant'],
- // ['opacity', 'constant'],
- // ],
- // [
- // ['color', 'constant'],
- // ['shape', 'constant'],
- // ],
- [['color', 'discrete']],
- // [['color', 'constant']],
- ],
- ],
- [
- 'legendContinuousSize',
- [
- [
- ['color', 'continuous'],
- ['opacity', 'continuous'],
- ['size', 'continuous'],
- ],
- [
- ['color', 'constant'],
- ['opacity', 'continuous'],
- ['size', 'continuous'],
- ],
- [
- ['color', 'continuous'],
- ['size', 'continuous'],
- ],
- [
- ['color', 'constant'],
- ['size', 'continuous'],
- ],
- [
- ['size', 'continuous'],
- ['opacity', 'continuous'],
- ],
- [['size', 'continuous']],
- ],
- ],
- [
- 'legendContinuousBlockSize',
- [
- [
- ['color', 'distribution'],
- ['opacity', 'distribution'],
- ['size', 'distribution'],
- ],
- [
- ['color', 'distribution'],
- ['size', 'distribution'],
- ],
- ],
- ],
- [
- 'legendContinuousBlock',
- [
- [
- ['color', 'distribution'],
- ['opacity', 'continuous'],
- ],
- [['color', 'distribution']],
- ],
- ],
- [
- 'legendContinuous',
- [
- [
- ['color', 'continuous'],
- ['opacity', 'continuous'],
- ],
- [['color', 'continuous']],
- [['opacity', 'continuous']],
- ],
- ],
- ];
- //# sourceMappingURL=constant.js.map
|