mirror of
https://github.com/nasa/openmct.git
synced 2025-04-19 16:40:58 +00:00
[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:
parent
cefb40856b
commit
c8f4568bd0
@ -97,9 +97,8 @@ $plotLegendH: 20px;
|
||||
$plotSwatchD: 8px;
|
||||
// 1: Top, 2: right, 3: bottom, 4: left
|
||||
$plotDisplayArea: ($plotLegendH + $interiorMargin, 0, $plotXBarH + $interiorMargin, $plotYBarW);
|
||||
/* Based on current implementation of ~ 5 ticks per plot element;
|
||||
Include legend, plot-display-area and X ticks */
|
||||
$plotMinH: $plotLegendH + ($interiorMargin * 2) + ($plotYLabelMinH * 5) + nth($plotDisplayArea,3);
|
||||
/* min plot height is based on user testing to find minimum useful height */
|
||||
$plotMinH: 95px;
|
||||
/*************** Bubbles */
|
||||
$bubbleArwSize: 10px;
|
||||
$bubblePad: $interiorMargin;
|
||||
|
Loading…
x
Reference in New Issue
Block a user