Skip to content

Conversation

@alexshoe
Copy link
Contributor

Description:

Adds the ability to click/double-click on legend titles to toggle legend visibility, making it easier to manage complex charts with multiple legends.

Example:

layout: {
  legend: {
    title: { text: 'My Legend' },
    titleclick: 'toggle',  // toggles the legend to which the clicked title belongs
    titledoubleclick: 'toggleothers' // toggles on/off all other legends
  }
}

@alexshoe alexshoe self-assigned this Jan 28, 2026
@alexshoe alexshoe changed the title Clickable legend titles Clickable Legend Titles Jan 28, 2026
@alexshoe alexshoe linked an issue Jan 28, 2026 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

[FEATURE]: Clickable Legend Titles

1 participant