Skip to content

Use centroid instead of center when positioning tooltips using tooltip.trigger: "selection" #9

@rarylson

Description

@rarylson

Use centroid (equivalent to center of mass) instead of center (geometrical center) when positioning tooltips using tooltip.trigger: "selection".

Google Charts uses this behavior, as showed in the images bellow, when centering the Slavbard country (its islands doesn't drastically change the tooltip position as using the geometrical center does).

screenshot from 2017-11-30 17-35-21

screenshot from 2017-11-30 17-35-27

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions