(ticksLength, maxTicksLimit)
| 9 | const reverseAlign = (align) => align === 'left' ? 'right' : align === 'right' ? 'left' : align; |
| 10 | const offsetFromEdge = (scale, edge, offset) => edge === 'top' || edge === 'left' ? scale[edge] + offset : scale[edge] - offset; |
| 11 | const getTicksLimit = (ticksLength, maxTicksLimit) => Math.min(maxTicksLimit || ticksLength, ticksLength); |
| 12 | |
| 13 | /** |
| 14 | * @typedef { import('../types/index.js').Chart } Chart |
no outgoing calls
no test coverage detected