(axis)
| 279 | } |
| 280 | |
| 281 | function syncFontSize(axis) { |
| 282 | if (axis.show) { |
| 283 | [axis.font, axis.labelFont].forEach(f => { |
| 284 | let size = roundDec(f[2] * pxRatio, 1); |
| 285 | f[0] = f[0].replace(/[0-9.]+px/, size + 'px'); |
| 286 | f[1] = size; |
| 287 | }); |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | export default function uPlot(opts, data, then) { |
| 292 | const self = { |
nothing calls this directly
no test coverage detected
searching dependent graphs…