wire uPlot tooltips into the existing tooltip system

This commit is contained in:
Nick Krecklow
2020-05-11 00:37:22 -05:00
parent 8d211434df
commit 1ff9478988
3 changed files with 46 additions and 6 deletions

View File

@ -1,4 +1,4 @@
class RelativeScale {
export class RelativeScale {
static scale (data, tickCount) {
const [min, max] = RelativeScale.calculateBounds(data)
@ -49,5 +49,3 @@ class RelativeScale {
}
}
}
module.exports = RelativeScale