[Plot] Set min height
Set the min height for the plot element based on user feedback for minimum plot size that they find useful. Plot ticks may overlap but that is expected to be fixed in a future release. Fixes https://github.com/nasa/openmct/issues/1048
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user