瀏覽代碼

[minor] fix goal label position (#3755)

version-14
Prateeksha Singh 8 年之前
committed by Rushabh Mehta
父節點
當前提交
269c10ff12
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      frappe/public/js/frappe/ui/graph.js

+ 2
- 2
frappe/public/js/frappe/ui/graph.js 查看文件

@@ -142,10 +142,10 @@ frappe.ui.Graph = class Graph {
show_specific_values() {
this.specific_values.map(d => {
this.specific_y_lines.add(this.snap.g(
this.snap.line(0, 0, this.width - 50, 0).attr({
this.snap.line(0, 0, this.width - 70, 0).attr({
class: d.line_type === "dashed" ? "dashed": ""
}),
this.snap.text(this.width - 100, 0, d.name.toUpperCase()).attr({
this.snap.text(this.width - 95, 0, d.name.toUpperCase()).attr({
dy: ".32em",
class: "specific-value",
})


Loading…
取消
儲存