|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
285 bytes
|
| Rev | Line | |
|---|
| [a762898] | 1 | export var combineAxisRangeWithReverse = (axisSettings, axisRange) => {
|
|---|
| 2 | if (!axisSettings || !axisRange) {
|
|---|
| 3 | return undefined;
|
|---|
| 4 | }
|
|---|
| 5 | if (axisSettings !== null && axisSettings !== void 0 && axisSettings.reversed) {
|
|---|
| 6 | return [axisRange[1], axisRange[0]];
|
|---|
| 7 | }
|
|---|
| 8 | return axisRange;
|
|---|
| 9 | }; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.