Home > Net >  Chart line not appearing in a semi log chart using chart.js
Chart line not appearing in a semi log chart using chart.js

Time:08-22

I am using enter image description here

CodePudding user response:

You don't pass an option to the labels array, you pass the tm variable which means it will use that as a key, you need to pass it as:

const data = {
  labels: tm,
  datasets: []
}
  • Related