update js dependencies
This commit is contained in:
parent
a090c98a08
commit
677897e2bb
@ -32,12 +32,14 @@ export const htmlLegendPlugin = {
|
||||
legendItems.forEach((item: LegendItem) => {
|
||||
const li = document.createElement('li')
|
||||
li.onclick = () => {
|
||||
if (item.datasetIndex) {
|
||||
chart.setDatasetVisibility(
|
||||
item.datasetIndex,
|
||||
!chart.isDatasetVisible(item.datasetIndex)
|
||||
)
|
||||
chart.update()
|
||||
}
|
||||
}
|
||||
|
||||
const checkBox = document.createElement('input')
|
||||
if (checkBox) {
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user