fix: Return fieldtype so that the client-side can format chart values (#18211)

This commit is contained in:
Suraj Shetty
2019-07-10 17:05:25 +05:30
committed by Nabin Hait
parent 058787d204
commit 61d8088be4

View File

@@ -93,4 +93,6 @@ def get_chart_data(filters, columns, income, expense, net_profit_loss):
else:
chart["type"] = "line"
chart["fieldtype"] = "Currency"
return chart