const c = [0,10,20,30,40,50,60,70,80,90,100]; const d = [0.001,0.01,0.1,1,10];
const data = { labels:d, datasets:[ { label: 'Dataset 2', data: v, fill: false, borderColor: "green", backgroundColor: "blue", } ] }
const ctx = document.getElementById('seive').getContext("2d");
const chart = new Chart(ctx, {
type: 'line',
data:data,
options:{
plugins:{
responsive:true,
title:{
display:true,
text:'Title one'
},
title:{
display:true,
text:'Title two'
}
},
scales:{
x:{
type:'logarithmic',
ticks:{
min:0.001,
max:10,
}
},
y:{
type:'logarithmic',
}
}
}
})