|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
607 bytes
|
| Rev | Line | |
|---|
| [a762898] | 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports.combineActiveLabel = void 0;
|
|---|
| 7 | var _DataUtils = require("../../../util/DataUtils");
|
|---|
| 8 | var combineActiveLabel = (tooltipTicks, activeIndex) => {
|
|---|
| 9 | var _tooltipTicks$n;
|
|---|
| 10 | var n = Number(activeIndex);
|
|---|
| 11 | if ((0, _DataUtils.isNan)(n) || activeIndex == null) {
|
|---|
| 12 | return undefined;
|
|---|
| 13 | }
|
|---|
| 14 | return n >= 0 ? tooltipTicks === null || tooltipTicks === void 0 || (_tooltipTicks$n = tooltipTicks[n]) === null || _tooltipTicks$n === void 0 ? void 0 : _tooltipTicks$n.value : undefined;
|
|---|
| 15 | };
|
|---|
| 16 | exports.combineActiveLabel = combineActiveLabel; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.