fix(minor): Use colors passed to render_graph on form dashboards (#18132)
This commit is contained in:
parent
31a37ed671
commit
529e8ebde1
1 changed files with 1 additions and 1 deletions
|
|
@ -568,7 +568,7 @@ frappe.ui.form.Dashboard = class FormDashboard {
|
|||
this.chart_area.body.empty();
|
||||
$.extend(args, {
|
||||
type: "line",
|
||||
colors: ["green"],
|
||||
colors: args.colors || ["green"],
|
||||
truncateLegends: 1,
|
||||
axisOptions: {
|
||||
shortenYAxisNumbers: 1,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue