chartjs / chartjs/Chart.js

Add more styles for legends

Open
#11,725 0 comments 1 reaction 0 assignees View on GitHub
type: enhancement
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### Feature Proposal

The idea is to introduce an additional styling option for legends, specifically focusing on the selection indicator. Currently, Chart.js supports a strikethrough effect to indicate selection. However, I suggest providing developers with the choice to toggle this feature on or off.

By offering this option, developers can decide whether to apply the strikethrough effect to the legend when it's selected or opt for a different visual cue. This small addition would enhance flexibility and customization capabilities within Chart.js, aligning more closely with diverse design preferences and use cases.

### Possible Implementation

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.