You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chart.hide(datasetIndex, dataIndex) not hiding bar #11450
I may be missing the intent of this function (in which case this may be better as a feature request) but I would like to be able to (temporarily) toggle individual items in a dataset on/off (eg when showing a list of countries toggle to only show German speaking ones) without having to splice and restore the datapoints
Was this issue / fix covering the issue described in #11319 (the fact that the hidden bar still takes up space)? Or is this a different issue pertaining to chart.hide not hiding it at all? @LeeLenaleee
Activity
isafux commentedon Feb 13, 2024
This bug also exists exactly as described in newer chart.js version 4.4.1.
A fix would very much be appreciated.
EricWittrock commentedon Apr 28, 2024
If no one else is already, I will work on this issue.
#11450 hide bar by dataindex (#11755)
LecyQ commentedon May 14, 2024
I tried this but still does not hide the data. Am I missing something?
alex-statsig commentedon Nov 8, 2024
Was this issue / fix covering the issue described in #11319 (the fact that the hidden bar still takes up space)? Or is this a different issue pertaining to
chart.hidenot hiding it at all? @LeeLenaleeeLeeLenaleee commentedon Nov 8, 2024
This was a different issue that it did not hid at all.