Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const getAxisSet = multiLevel => {
if (multiLevel) {
return {
bottom: multiAxisBottom,
left: multiAxisLeft,
top: multiAxisTop,
right: multiAxisRight
};
} else {
return {
bottom: fc.axisOrdinalBottom,
left: fc.axisOrdinalLeft,
top: fc.axisOrdinalTop,
right: fc.axisOrdinalRight
};
}
};