Skip to content

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

@anilkasam2

Description

@anilkasam2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions