Compare commits

...

1 Commits

Author SHA1 Message Date
4fd8b2c6ac Fixes for Izmir demo 2022-02-28 10:16:14 -08:00
3 changed files with 9 additions and 64 deletions

View File

@ -20,18 +20,9 @@ define([
domain: 1
}
},
{
key: "yesterday",
name: "Yesterday",
format: "utc",
hints: {
domain: 2
}
},
{
key: "cos",
name: "Cosine",
unit: "deg",
name: "Value",
formatString: '%0.2f',
hints: {
domain: 3
@ -49,8 +40,7 @@ define([
// },
{
key: "sin",
name: "Sine",
unit: "Hz",
name: "Value",
formatString: '%0.2f',
hints: {
range: 1
@ -58,8 +48,7 @@ define([
},
{
key: "cos",
name: "Cosine",
unit: "deg",
name: "Value",
formatString: '%0.2f',
hints: {
range: 2

View File

@ -26,25 +26,13 @@ define([
) {
var PURPLE = {
sin: 2.2,
cos: 2.2
},
RED = {
sin: 0.9,
cos: 0.9
},
ORANGE = {
sin: 0.7,
cos: 0.7
var RED = {
sin: 12,
cos: 12
},
YELLOW = {
sin: 0.5,
cos: 0.5
},
CYAN = {
sin: 0.45,
cos: 0.45
sin: 10,
cos: 10
},
LIMITS = {
rh: {
@ -110,17 +98,6 @@ define([
return {
limits: function () {
return Promise.resolve({
WATCH: {
low: {
color: "cyan",
sin: -CYAN.sin,
cos: -CYAN.cos
},
high: {
color: "cyan",
...CYAN
}
},
WARNING: {
low: {
color: "yellow",
@ -132,17 +109,6 @@ define([
...YELLOW
}
},
DISTRESS: {
low: {
color: "orange",
sin: -ORANGE.sin,
cos: -ORANGE.cos
},
high: {
color: "orange",
...ORANGE
}
},
CRITICAL: {
low: {
color: "red",
@ -153,17 +119,6 @@ define([
color: "red",
...RED
}
},
SEVERE: {
low: {
color: "purple",
sin: -PURPLE.sin,
cos: -PURPLE.cos
},
high: {
color: "purple",
...PURPLE
}
}
});
}

View File

@ -68,6 +68,7 @@ mct-plot {
flex-direction: column;
overflow: hidden;
min-height: $plotMinH;
bottom: 30px;
.c-control-bar {
flex: 0 0 auto;