I am now on version 9.2.18, please if anyone can help on this issue
I need to make a query report with chart, I was able to do it before in previous versions but I think new changes in frappe in the charts.
Please help.
I am now on version 9.2.18, please if anyone can help on this issue
I need to make a query report with chart, I was able to do it before in previous versions but I think new changes in frappe in the charts.
Please help.
Found it
It have been changed to this:
get_chart_data: function(columns, result) {
return {
data: {
labels: result.map(d => d[0]),
datasets: [{
title: 'Project Stock Status',
values: result.map(d => d[1])
}]
},
type: 'bar',
format_tooltip_x: d => (d + '').toUpperCase(),
format_tooltip_y: d => d + ' pts'
}
}
After changing it works fine but still the tooltip not working, don’t know why ??
Pull Request
Hope you will start sending them now
@rmehta This report is not standard, but soon we will be finishing some standard reports and will share them.
I am trying to learn the PR to share our things.