Open zosnap opened 6 years ago
That's too bad. I'll keep an eye on that pull request. Thanks for the really useful library!
@vasturiano This issue still exists, and in that case, it can't adjust the tooltip style inner the chart element. Or should we provide some props for the tooltip style ?
This isn't obvious from the example since you pass in document.body to the constructor anyway, but the divs created for the tooltips are created directly on the document body regardless of what element is passed to the constructor. This makes the chart more difficult to modify or dispose of and caused rendering problems with our view framework. It would be better if the tooltip divs were created under the passed in el, or if there was a method to dispose of them.