fix: Old buying config update & bar chart on desk
- Line chart was inapprpriate as the values were not continuous.
This commit is contained in:
parent
631260b632
commit
4a73bc672b
@ -166,7 +166,7 @@ def get_data():
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Requested Items To Be Ordered",
|
||||
"name": "Requested Items To Order",
|
||||
"reference_doctype": "Material Request",
|
||||
"onboard": 1,
|
||||
},
|
||||
|
@ -154,10 +154,9 @@ def get_default_dashboards():
|
||||
"chart_name": "Purchase Analytics",
|
||||
"custom_options": json.dumps({
|
||||
"x_field": "entity",
|
||||
"chart_type": "Line",
|
||||
"chart_type": "Bar",
|
||||
"y_axis_fields": [{"idx": 1, "__islocal": "true", "y_field": "total"}],
|
||||
"y_fields": ["total"],
|
||||
"lineOptions": {"regionFill": 1}
|
||||
"y_fields": ["total"]
|
||||
})
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user