Skip to content

Display Tooltip When Hovering Over Point in Dot Plot #37

@GeorgeBerdovskiy

Description

@GeorgeBerdovskiy

Background

Due to PR #34, PureChart finally supports dot plots and line graphs! However, they are too simple to be used practically. While other contributors work on rendering the axes (#35, #36) we want to simultaneously add some fancy effects and interactivity.

Goal

Add a tooltip that appears when hovering over a point on the plot. This tooltip should use the same animation and styling as the lollipop chart tooltips - check out the HTML and CSS for those in app/views. Use the picture below for guidance.

image

You will need to get creative! Intuitively, you'll want to draw a separate tooltip for every single point and generate some CSS to display each one when hovering over its respective point. While this isn't easy, it's 100% doable with some elbow grease. Good luck 🚀

Metadata

Metadata

Assignees

No one assigned

    Labels

    AdvancedFor programmers who want a challenge 🔥FeatureNew feature 💡StandaloneDoesn't depend on other issues 💪

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions