-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from sgratzl/release/v4.2.6
Release v4.2.6
- Loading branch information
Showing
8 changed files
with
790 additions
and
559 deletions.
There are no files selected for viewing
262 changes: 131 additions & 131 deletions
262
.yarn/releases/yarn-3.6.3.cjs → .yarn/releases/yarn-3.6.4.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<script src=" https://cdn.jsdelivr.net/npm/chart.js@~4.3.0"></script> | ||
<script src="../build/index.umd.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div style="width: 75%"> | ||
<canvas id="canvas"></canvas> | ||
</div> | ||
<button id="destroy">Destroy</button> | ||
<script> | ||
const chart = new Chart(document.getElementById('canvas').getContext('2d'), { | ||
type: 'forceDirectedGraph', | ||
data: { | ||
labels: [], | ||
datasets: [ | ||
{ | ||
pointBackgroundColor: 'steelblue', | ||
pointRadius: 5, | ||
data: [], | ||
edges: [], | ||
}, | ||
], | ||
}, | ||
options: { | ||
legend: { | ||
display: false, | ||
}, | ||
}, | ||
}); | ||
const destroy = document.getElementById('destroy'); | ||
destroy.onclick = () => { | ||
chart.destroy(); | ||
console.log('ddd'); | ||
}; | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.