You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
This could be considered a bug, but because it isn't clearly documented, I'll call it an enhancement.
I’ve been struggling with Gauge control min/max. The properties imply telemetry can provide it – “Use telemetry limits for minimum maximum ranges” property on the gauge. The API documentation states that a telemetry object’s value min/max can optionally be set for things such as gauges.
Examining the code for the Gauge component, neither "telemetry" nor min/max values affect the gauge. In order to auto-apply ranges to gauges, you must:
Have a limit provider,
Limit provider must provide "getLimits",
Can have any severity (CRITICAL, DISTRESS, SEVERE, WARNING, WATCH),
At least one must be defined, and defined in pairs, i.e. both high and low for the same severity,
It uses the most severe severity high/low as min/max (limitLow/limitHigh),
If all above is met, rangeLow/rangeHigh buffer 10% padding over limitLow/limitHigh.
The documentation also indicates there are 5 colors to indicate limit level severity.
Describe the solution you'd like
For maximum power/flexibility, it seems implied to me the following:
Min < Crit Low < Distress Low < Severe Low < Warning < Watch Low
Max > Crit High > Distress High > Severe High > Warning High > Watch High
To provide the most flexible control / options, I'd like it if it:
If min/max are provided, use them as rangeLow/rangeHigh, even if no limit provider. If no limit provider, they are also limitLow/LimitHigh.
If a limit provider is present, and min/max were not, limitLow becomes min, limitMax becomes max. Do not assume 10%. If they want to see that range, provide a Min/Max.
LimitLow = min(any provided severity, matching pairs not required).
LimitHigh = max(any provided severity, matching pairs not required).
So the preference would be provide a min/max in addition to any limits you'd like to see.
For maximum capability it could use the getLimits colors for the behind coloring.
Describe alternatives you've considered
Writing my own replacement?
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
This could be considered a bug, but because it isn't clearly documented, I'll call it an enhancement.
I’ve been struggling with Gauge control min/max. The properties imply telemetry can provide it – “Use telemetry limits for minimum maximum ranges” property on the gauge. The API documentation states that a telemetry object’s value min/max can optionally be set for things such as gauges.
https://github.com/nasa/openmct/blob/master/API.md#values
Examining the code for the Gauge component, neither "telemetry" nor min/max values affect the gauge. In order to auto-apply ranges to gauges, you must:
Code at play.
openmct/src/plugins/gauge/components/GaugeComponent.vue
Line 678 in b18aa48
The documentation also indicates there are 5 colors to indicate limit level severity.
Describe the solution you'd like
For maximum power/flexibility, it seems implied to me the following:
To provide the most flexible control / options, I'd like it if it:
So the preference would be provide a min/max in addition to any limits you'd like to see.
For maximum capability it could use the getLimits colors for the behind coloring.
Describe alternatives you've considered
Writing my own replacement?
Additional context
N/A
The text was updated successfully, but these errors were encountered: