mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-25 22:21:31 +01:00
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>
(cherry picked from commit f41d1500b0)
This commit is contained in:
@@ -53,4 +53,5 @@ def get_chart_data(data, conditions, filters):
|
|||||||
},
|
},
|
||||||
"type": "line",
|
"type": "line",
|
||||||
"lineOptions": {"regionFill": 1},
|
"lineOptions": {"regionFill": 1},
|
||||||
|
"fieldtype": "Currency",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,4 +45,5 @@ def get_chart_data(data, filters):
|
|||||||
"datasets": [{"name": _("Total Delivered Amount"), "values": datapoints}],
|
"datasets": [{"name": _("Total Delivered Amount"), "values": datapoints}],
|
||||||
},
|
},
|
||||||
"type": "bar",
|
"type": "bar",
|
||||||
|
"fieldtype": "Currency",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,4 +46,5 @@ def get_chart_data(data, filters):
|
|||||||
},
|
},
|
||||||
"type": "bar",
|
"type": "bar",
|
||||||
"colors": ["#5e64ff"],
|
"colors": ["#5e64ff"],
|
||||||
|
"fieldtype": "Currency",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user