Skip to content

Create annotation boxes for each weekends making weekends visible on …#682

Closed
dominicgermain wants to merge 1 commit intojtblin:mainfrom
dominicgermain:master
Closed

Create annotation boxes for each weekends making weekends visible on …#682
dominicgermain wants to merge 1 commit intojtblin:mainfrom
dominicgermain:master

Conversation

@dominicgermain
Copy link
Copy Markdown

Description of change

Add the ability to show week ends on chart background by turning on a switch. Requires Annotation plugin (https://github.com/chartjs/chartjs-plugin-annotation) for chartjs and obviously dates on X axis.

simply add chart-show-weekends="1" into your parameters

@jtblin jtblin deleted the branch jtblin:main April 29, 2026 05:26
@jtblin jtblin closed this Apr 29, 2026
@jtblin jtblin reopened this Apr 29, 2026
@jtblin jtblin changed the base branch from master to main April 29, 2026 10:41
@jtblin
Copy link
Copy Markdown
Owner

jtblin commented Apr 29, 2026

Thank you for the proposal. While this is a useful feature for some use cases, it feels too specific to be included in the core library. This behavior can be achieved by using the chart-options attribute in combination with the chartjs-plugin-annotation plugin. We prefer to keep the core library focused on general-purpose charting.

@jtblin jtblin closed this Apr 29, 2026
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.

2 participants