chartjs / chartjs/Chart.js

chartjs: hide x-axis labels for which the dataset is all zeros in stacked bar chart

Open
#10,419 2 comments 0 reactions 0 assignees View on GitHub
type: support
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

I am trying to hide the dates below where the the dataset is all zero's for a particular label. Tried it with different things but unable to get my mind through it. Can anyone help?
From the screenshot I want just to display the Wed, Fri and Monday in the chart and remove the rest which have all zeros.

![image](https://user-images.githubusercontent.com/13597993/167855687-4a0f2b10-6e65-4c08-9842-ae8250299e62.png)

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.