fix: report chart field type

* fix: report chart field type

Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com>
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
This commit is contained in:
hendrik 2022-09-26 19:17:24 +07:00 committed by GitHub
parent a80e8726e7
commit f41d1500b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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",
}