In my production_analytics.js i found code like this,
this.chart = new Chart({
parent: ".chart",
data: chart_data,
type: 'line'
});
So i did this in my chart,
const graph = new Chart({
parent: "#chart",
data: chart_data,
type: 'line'
});
And its start working, but there is no file with name chart.js in apps/frappe/frappe/public/js/frappe/ui/charts.js, is there any problem?