( kind: Kind, [xMin, xMax]: Bounds, [width]: Size, labelSize: number, tickCount?: number, )
| 208 | }; |
| 209 | |
| 210 | export const getXTicks = ( |
| 211 | kind: Kind, |
| 212 | [xMin, xMax]: Bounds, |
| 213 | [width]: Size, |
| 214 | labelSize: number, |
| 215 | tickCount?: number, |
| 216 | ): Ticks => |
| 217 | kind == LINE && isNumber(xMin) && isNumber(xMax) && xMin != xMax |
| 218 | ? getTicks( |
| 219 | xMin, |
| 220 | xMax, |
| 221 | getTickCount(tickCount), |
| 222 | labelSize, |
| 223 | width, |
| 224 | isInteger(xMin) && isInteger(xMax), |
| 225 | ) |
| 226 | : []; |
| 227 | |
| 228 | export const getResolvedXScale = ( |
| 229 | xAxisScale: 'auto' | XScale | undefined, |
no test coverage detected
searching dependent graphs…