feat: update colors
This commit is contained in:
parent
e15dc052a2
commit
81f8fbb042
@ -90,14 +90,14 @@ def get_chart_data(data):
|
||||
"data": {
|
||||
'labels': labels,
|
||||
'datasets': [
|
||||
{
|
||||
"name": "Completed",
|
||||
"values": completed
|
||||
},
|
||||
{
|
||||
"name": "Overdue",
|
||||
"values": overdue
|
||||
},
|
||||
{
|
||||
"name": "Completed",
|
||||
"values": completed
|
||||
},
|
||||
{
|
||||
"name": "Total Tasks",
|
||||
"values": total
|
||||
@ -105,7 +105,7 @@ def get_chart_data(data):
|
||||
]
|
||||
},
|
||||
"type": "bar",
|
||||
"colors": ["#98d85b", "#fc4f51", "#7679fc"],
|
||||
"colors": ["#fc4f51", "#78d6ff", "#7575ff"],
|
||||
"barOptions": {
|
||||
"stacked": True
|
||||
}
|
||||
|
@ -125,7 +125,7 @@ def get_default_dashboards():
|
||||
'is_public': 1,
|
||||
'filters_json': json.dumps({"company": company.name, "status": "Open"}),
|
||||
'type': 'Bar',
|
||||
'custom_options': '{"type": "bar", "colors": ["#98d85b", "#fc4f51", "#7679fc"], "axisOptions": { "shortenYAxisNumbers": 1}, "barOptions": { "stacked": 1 }}',
|
||||
'custom_options': '{"type": "bar", "colors": ["#fc4f51", "#78d6ff", "#7575ff"], "axisOptions": { "shortenYAxisNumbers": 1}, "barOptions": { "stacked": 1 }}',
|
||||
},
|
||||
{
|
||||
"doctype": "Dashboard Chart",
|
||||
|
Loading…
x
Reference in New Issue
Block a user