chartjs / Chart.js

Simple HTML5 Charts using the <canvas> tag
https://www.chartjs.org/
MIT License
63.92k stars 11.89k forks source link

Add more styles for legends #11725

Open VardgesK opened 3 months ago

VardgesK commented 3 months ago

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