瀏覽代碼

fix(minor): Use colors passed to `render_graph` on form dashboards (#18132) (#18134)

(cherry picked from commit 529e8ebde1)

Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
version-14
mergify[bot] 2 年之前
committed by GitHub
父節點
當前提交
1073ca3ca1
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      frappe/public/js/frappe/form/dashboard.js

+ 1
- 1
frappe/public/js/frappe/form/dashboard.js 查看文件

@@ -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…
取消
儲存