Browse Source

enabled bar style in legend

flowchartTest
Alex de Mulder 9 years ago
parent
commit
67cf954ad1
2 changed files with 5925 additions and 5926 deletions
  1. +5923
    -5924
      dist/vis.js
  2. +2
    -2
      lib/timeline/component/GraphGroup.js

+ 5923
- 5924
dist/vis.js
File diff suppressed because it is too large
View File


+ 2
- 2
lib/timeline/component/GraphGroup.js View File

@ -168,8 +168,8 @@ GraphGroup.prototype.drawIcon = function(x, y, JSONcontainer, SVGcontainer, icon
var offset = Math.round((iconWidth - (2 * barWidth))/3); var offset = Math.round((iconWidth - (2 * barWidth))/3);
DOMutil.drawBar(x + 0.5*barWidth + offset , y + fillHeight - bar1Height - 1, barWidth, bar1Height, this.className + ' vis-bar', JSONcontainer, SVGcontainer);
DOMutil.drawBar(x + 1.5*barWidth + offset + 2, y + fillHeight - bar2Height - 1, barWidth, bar2Height, this.className + ' vis-bar', JSONcontainer, SVGcontainer);
DOMutil.drawBar(x + 0.5*barWidth + offset , y + fillHeight - bar1Height - 1, barWidth, bar1Height, this.className + ' vis-bar', JSONcontainer, SVGcontainer, this.style);
DOMutil.drawBar(x + 1.5*barWidth + offset + 2, y + fillHeight - bar2Height - 1, barWidth, bar2Height, this.className + ' vis-bar', JSONcontainer, SVGcontainer, this.style);
} }
}; };

Loading…
Cancel
Save