|
Last change
on this file since ba17441 was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
959 bytes
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports.selectPolarGridRadii = exports.selectPolarGridAngles = void 0;
|
|---|
| 7 | var _reselect = require("reselect");
|
|---|
| 8 | var _polarScaleSelectors = require("./polarScaleSelectors");
|
|---|
| 9 | var selectAngleAxisTicks = (state, anglexisId) => (0, _polarScaleSelectors.selectPolarAxisTicks)(state, 'angleAxis', anglexisId, false);
|
|---|
| 10 | var selectPolarGridAngles = exports.selectPolarGridAngles = (0, _reselect.createSelector)([selectAngleAxisTicks], ticks => {
|
|---|
| 11 | if (!ticks) {
|
|---|
| 12 | return undefined;
|
|---|
| 13 | }
|
|---|
| 14 | return ticks.map(tick => tick.coordinate);
|
|---|
| 15 | });
|
|---|
| 16 | var selectRadiusAxisTicks = (state, radiusAxisId) => (0, _polarScaleSelectors.selectPolarAxisTicks)(state, 'radiusAxis', radiusAxisId, false);
|
|---|
| 17 | var selectPolarGridRadii = exports.selectPolarGridRadii = (0, _reselect.createSelector)([selectRadiusAxisTicks], ticks => {
|
|---|
| 18 | if (!ticks) {
|
|---|
| 19 | return undefined;
|
|---|
| 20 | }
|
|---|
| 21 | return ticks.map(tick => tick.coordinate);
|
|---|
| 22 | }); |
|---|
Note:
See
TracBrowser
for help on using the repository browser.