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

132
Views
how to input values at chartjs labels?
  1. i want to make it horizental at my value- lab(ex : 1, 2, 3, 4, 5, 6, 7...) and why print array vertical in chartjs?

  2. why don't print my value my value - op3? (360.4,360.4,360.4,360.4,360.4,360.4)

my graph enter image description here

that's my code enter image description here

in my console enter image description here

json data enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The problem is that in your code, lab is an array but it should be a string.

Either you create lab as a string from scratch or you convert the lab array into a string through Array.join() as follows:

data: {
  labels: [lab.join(', '), 9, 10],
  ...
about 4 years ago · Juan Pablo Isaza Report
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!