소스 검색

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
No known key found for this signature in database 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,


불러오는 중...
취소
저장