mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 21:58:13 +00:00
Unset the displayRange when updating yAxis (#3504)
Co-authored-by: Deep Tailor <deep.j.tailor@nasa.gov>
This commit is contained in:
@ -171,6 +171,7 @@ define([
|
|||||||
* Update yAxis format, values, and label from known series.
|
* Update yAxis format, values, and label from known series.
|
||||||
*/
|
*/
|
||||||
updateFromSeries: function (series) {
|
updateFromSeries: function (series) {
|
||||||
|
this.unset('displayRange');
|
||||||
const plotModel = this.plot.get('domainObject');
|
const plotModel = this.plot.get('domainObject');
|
||||||
const label = _.get(plotModel, 'configuration.yAxis.label');
|
const label = _.get(plotModel, 'configuration.yAxis.label');
|
||||||
const sampleSeries = series.first();
|
const sampleSeries = series.first();
|
||||||
|
Reference in New Issue
Block a user