react-vis icon indicating copy to clipboard operation
react-vis copied to clipboard

Unable to show separate tooltips for area series and custom svg series

Open anilkasam2 opened this issue 3 years ago • 0 comments

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)} />

{showhint.datapoint.isLimit?(
CustomSVG series details
):(
Area series
)}

anilkasam2 avatar Aug 18 '22 04:08 anilkasam2