mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 05:37:53 +00:00
Merge pull request #2492 from nasa/y-axis-label-fix
[Plot] Y axis label is not displayed when editing #2487
This commit is contained in:
commit
fcf3c76aa1
@ -117,7 +117,7 @@
|
||||
|
||||
<div class="gl-plot-label gl-plot-y-label"
|
||||
ng-class="{'icon-gear': (yKeyOptions.length > 1 && series.length === 1)}"
|
||||
ng-bind="yAxisLabel">
|
||||
>{{yAxis.get('label')}}
|
||||
</div>
|
||||
|
||||
<select class="gl-plot-y-label__select local-controls--hidden"
|
||||
|
@ -526,6 +526,7 @@ define([
|
||||
|
||||
if (yAxisObject) {
|
||||
series.emit('change:yKey', yAxisObject.key);
|
||||
this.config.yAxis.set('label', label);
|
||||
this.$scope.yAxisLabel = label;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user