|
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:
428 bytes
|
| Line | |
|---|
| 1 | import { isNan } from '../../../util/DataUtils';
|
|---|
| 2 | export var combineActiveLabel = (tooltipTicks, activeIndex) => {
|
|---|
| 3 | var _tooltipTicks$n;
|
|---|
| 4 | var n = Number(activeIndex);
|
|---|
| 5 | if (isNan(n) || activeIndex == null) {
|
|---|
| 6 | return undefined;
|
|---|
| 7 | }
|
|---|
| 8 | return n >= 0 ? tooltipTicks === null || tooltipTicks === void 0 || (_tooltipTicks$n = tooltipTicks[n]) === null || _tooltipTicks$n === void 0 ? void 0 : _tooltipTicks$n.value : undefined;
|
|---|
| 9 | }; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.