Hi i got this renderer with my config on chart.js, i dont understand why i got
this is the version of chart.js
/*!
* Chart.js
* http://chartjs.org/
* Version: 2.7.1
*
* Copyright 2017 Nick Downie
* Released under the MIT license
* https://github.com/chartjs/Chart.js/blob/master/LICENSE.md
*/
i generate my chart with this function and i dont understand how to fix my problem
thanks for your help
new Chart(document.getElementById("line-chart"), {
type: 'line',
data: {
labels: datadate,
datasets: [{
data: datavalue,
label: "Value array",
borderColor: "#3e95cd",
pointRadius: 3,
pointHoverRadius: 3,
fill: false
}
]
},
options: {
title: {
display: true,
text: 'returned value'
},
scales: {
yAxes: [{
ticks: {
beginAtZero: false
}
}],
xAxes: [ {
type: 'time',
time: {
min: Math.min.apply(null, datadate),
max: Math.max.apply(null, datadate)
}
}],
},
responsive: true
}
});