Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

108
Views
.getElementsAtEventForMode using chart id in chart.js

I'm trying to make a onClick handler function in chart.js which returns the label of the bar clicked in. I'm aware of the funciton .getElementsAtEventForMode but it requires for you to have the chart's name. This is a problem because I'm using components and am not calling the chart directly so all the graphs have the same name. I was wandering if there was a way to call this function using perhaps the component's vue.js id. Thank you in advance!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!