Merge pull request #32361 from frappe/mergify/bp/version-14-hotfix/pr-32146

fix: report chart fieldtype (backport #32146)
This commit is contained in:
Deepesh Garg
2022-09-26 18:36:33 +05:30
committed by GitHub
3 changed files with 3 additions and 0 deletions

View File

@@ -53,4 +53,5 @@ def get_chart_data(data, conditions, filters):
},
"type": "line",
"lineOptions": {"regionFill": 1},
"fieldtype": "Currency",
}

View File

@@ -45,4 +45,5 @@ def get_chart_data(data, filters):
"datasets": [{"name": _("Total Delivered Amount"), "values": datapoints}],
},
"type": "bar",
"fieldtype": "Currency",
}

View File

@@ -46,4 +46,5 @@ def get_chart_data(data, filters):
},
"type": "bar",
"colors": ["#5e64ff"],
"fieldtype": "Currency",
}