Merge pull request #1049 from nasa/update-plot-squish-margin

[Plot] Set min height
This commit is contained in:
Charles Hacskaylo 2016-06-22 11:36:19 -07:00 committed by GitHub
commit 5485950130

View File

@ -97,9 +97,8 @@ $plotLegendH: 20px;
$plotSwatchD: 8px; $plotSwatchD: 8px;
// 1: Top, 2: right, 3: bottom, 4: left // 1: Top, 2: right, 3: bottom, 4: left
$plotDisplayArea: ($plotLegendH + $interiorMargin, 0, $plotXBarH + $interiorMargin, $plotYBarW); $plotDisplayArea: ($plotLegendH + $interiorMargin, 0, $plotXBarH + $interiorMargin, $plotYBarW);
/* Based on current implementation of ~ 5 ticks per plot element; /* min plot height is based on user testing to find minimum useful height */
Include legend, plot-display-area and X ticks */ $plotMinH: 95px;
$plotMinH: $plotLegendH + ($interiorMargin * 2) + ($plotYLabelMinH * 5) + nth($plotDisplayArea,3);
/*************** Bubbles */ /*************** Bubbles */
$bubbleArwSize: 10px; $bubbleArwSize: 10px;
$bubblePad: $interiorMargin; $bubblePad: $interiorMargin;