X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-layout.js;h=fe831a6172a881cbfba7d9f70d2e83aebdd6f5ce;hb=f8540c66c5b87d5e88d31a800dc7af237bf01213;hp=c6d829726557b7d4e18a8ba704f7a3b2548209ed;hpb=2602a601056c72d9c6be1069b6fe14f5b8e28a52;p=dygraphs.git diff --git a/dygraph-layout.js b/dygraph-layout.js index c6d8297..fe831a6 100644 --- a/dygraph-layout.js +++ b/dygraph-layout.js @@ -63,9 +63,12 @@ DygraphLayout.prototype.computePlotArea_ = function() { x: 0, y: 0 }; + + /* if (this.attr_('drawYAxis')) { area.x = this.attr_('yAxisLabelWidth') + 2 * this.attr_('axisTickSize'); } + */ area.w = this.dygraph_.width_ - area.x - this.attr_('rightGap'); area.h = this.dygraph_.height_; @@ -121,6 +124,7 @@ DygraphLayout.prototype.computePlotArea_ = function() { }; this.dygraph_.cascadeEvents_('layout', e); + /* if (this.attr_('drawXAxis')) { if (this.attr_('xAxisHeight')) { area.h -= this.attr_('xAxisHeight'); @@ -128,6 +132,7 @@ DygraphLayout.prototype.computePlotArea_ = function() { area.h -= this.attr_('axisLabelFontSize') + 2 * this.attr_('axisTickSize'); } } + */ // Shrink the drawing area to accomodate additional y-axes. if (this.dygraph_.numAxes() == 2) {