Commit 5ee8c132 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #2769 from hiroponz/fix-not-showing-tooltip

Fix not showing tooltip on network graph
parents 639b0a87 561a0e3a
...@@ -65,15 +65,15 @@ ...@@ -65,15 +65,15 @@
BranchGraph.prototype.buildGraph = function(){ BranchGraph.prototype.buildGraph = function(){
var graphWidth = $(this.element).width() var graphWidth = $(this.element).width()
, ch = this.mspace * 20 + 20 , ch = this.mspace * 20 + 100
, cw = Math.max(graphWidth, this.mtime * 20 + 20) , cw = Math.max(graphWidth, this.mtime * 20 + 260)
, r = Raphael(this.element.get(0), cw, ch) , r = Raphael(this.element.get(0), cw, ch)
, top = r.set() , top = r.set()
, cuday = 0 , cuday = 0
, cumonth = "" , cumonth = ""
, offsetX = 20 , offsetX = 20
, offsetY = 60 , offsetY = 60
, barWidth = Math.max(graphWidth, this.dayCount * 20 + 80); , barWidth = Math.max(graphWidth, this.dayCount * 20 + 320);
this.raphael = r; this.raphael = r;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment