Chartjs-Need to update tool tip value based on drop down filter after ajax call

0👍

Got Solution in “ChartJs” doc

function updateConfigAsNewObject(chart) {
chart.options = {
responsive: true,
title: {
display: true,
text: ‘Chart.js’
},
scales: {
xAxes: [{
display: true
}],
yAxes: [{
display: true
}]
}
};
chart.update();
}

Leave a comment