react-vis
react-vis copied to clipboard
Unable to show separate tooltips for area series and custom svg series
I am rendering area series chart and customsvgseries. But I unable to show tooltips on hover over these two charts, at a time It is showing only one chart details. I have used onValuemouseOver for customsvgseries and onNearestXY for area series. But I can see only area series details on tool tip. Onvaluemouseover function is not calling it seems.
If I use onseriesmouseover for area I unable to get datapoint. Please find below code and help me to show tooltip for area and customsvg series on hover respectively. <CustomSVGSeries x: x, y:y, isLimit: true onValuemouseOver = {e=> handletooltip(e)} />
<AreaSeries x: x, y:y, isLimit: false onNearestXY={e=> handletooltip(e)} />
CustomSVG series details
):(
Area series
)}