Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anilkasam2 opened this issue Aug 18, 2022 · 0 comments
Open

Comments

@anilkasam2
Copy link

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
)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant