Perhaps you can give me a pointer in how to add the outliers to the tooltip. Much appreciated!
I now add them just to another element in the page, but adding them to the tooltip would be much better. What I do I 'compress' the outliers to a count of the different numbers (to prevent enormous lists). Something like this in the update function of the tooltipplugin.
outliersEl is document.getElementById("outliers"); set in the outerscope, where let legendEl; is positioned.
With your knowledge of uPlot, I think this can be done in a far more elegant way.
Perhaps you can give me a pointer in how to add the outliers to the tooltip. Much appreciated!
I now add them just to another element in the page, but adding them to the tooltip would be much better. What I do I 'compress' the outliers to a count of the different numbers (to prevent enormous lists). Something like this in the update function of the tooltipplugin. outliersEl is document.getElementById("outliers"); set in the outerscope, where let legendEl; is positioned.
With your knowledge of uPlot, I think this can be done in a far more elegant way.
Originally posted by @hugovoerman in https://github.com/leeoniya/uPlot/issues/852#issuecomment-1622607372