소스 검색

allow graph to set bar width - looks nicer when less than enough data to fill canvas

Daniel Sheffield 2 년 전
부모
커밋
d61410de00
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/activities/TransactionEditor.py

+ 1 - 1
app/activities/TransactionEditor.py

@@ -157,7 +157,7 @@ class TransactionEditor(FocusWidget):
                 df['$/unit'].max()
             ])]
         )
-        self.graph.set_bar_width(1)
+        #self.graph.set_bar_width(1)
         # canvas_width = 10 + pad + pad + 10
         date_strlen = (self.graph.canvas_width - 20)
         ex = "─" if date_strlen % 2 else ""