BarChart interaction with chart.js #11675
Closed
Latulipe22
started this conversation in
General
Replies: 1 comment 2 replies
-
@Latulipe22 quickly, you could add another dataset (type line, hiding lines by See codepen: https://codepen.io/stockinail/pen/poYBevM Otherwise you could create your own custom plugin to add circles to the top of the bar. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
New chart.js user, I'm trying to create an interactive barchart with chart.js. Here is my basic chart :
` const ctx = document.getElementById("barChart").getContext("2d");
I'd like to draw a black dot (or a black circle) on the middle of each top border.
Then, those dot will be clickable for the user to change the bar height.
Any idea how to do this ?
Beta Was this translation helpful? Give feedback.
All reactions