//CHART var $capteurChart = $('#temp-chart') //------------- //- MESURES CHART - //-------------- // eslint-disable-next-line no-unused-vars var capteurChart = new Chart($capteurChart, { data: { labels: null, datasets: [ ] }, options: { maintainAspectRatio: false, tooltips: { mode: mode, intersect: intersect }, hover: { mode: mode, intersect: intersect }, legend: { display: true, }, scales: { yAxes: [{ display: true, gridLines: { display: true, lineWidth: '4px', color: 'rgba(0, 0, 0, .2)' }, ticks: $.extend({ beginAtZero: true, suggestedMax: }, ticksStyle) }], xAxes: [{ display: true, gridLines: { display: true }, ticks: ticksStyle }] } } })