Skip to content

[FEATURE] - onEnter & onLeave events in #legend scoped slot #326

@graphieros

Description

@graphieros

Add onEnter and onLeave events to the #legend scoped slots for all components concerned:

  • triggers the same behavior as hovering / focusing datapoints
  • edge cases for series containing multiple datapoints:
    • VueUiScatter, VueUiQuadrant, VueUiWorld: legends list clusters. onEnter should highlight all related datapoints. An additional optional param, provided by the user, would allow the event to act exactly like a datapoint hover, or without showing the datapoint values on x & y.
    • VueUiXy , VueUiStackbar, VueUiStackbar, etc.: onEnter would just trigger some opacity change (in this case, default configuration should feature new attributes to control opacity level).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions