|
Last change
on this file since a762898 was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
471 bytes
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports.combineAxisRangeWithReverse = void 0;
|
|---|
| 7 | var combineAxisRangeWithReverse = (axisSettings, axisRange) => {
|
|---|
| 8 | if (!axisSettings || !axisRange) {
|
|---|
| 9 | return undefined;
|
|---|
| 10 | }
|
|---|
| 11 | if (axisSettings !== null && axisSettings !== void 0 && axisSettings.reversed) {
|
|---|
| 12 | return [axisRange[1], axisRange[0]];
|
|---|
| 13 | }
|
|---|
| 14 | return axisRange;
|
|---|
| 15 | };
|
|---|
| 16 | exports.combineAxisRangeWithReverse = combineAxisRangeWithReverse; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.