File tree 1 file changed +18
-5
lines changed
src/routes/team/[team]/[env]/app/[app]/utilization
1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change 118
118
name: ' Requested' ,
119
119
showSymbol: false ,
120
120
color: requestColor ,
121
- lineStyle: { color: requestColor },
121
+ lineStyle: {
122
+ color: requestColor ,
123
+ type: request === limit ? ' solid' : ' dashed'
124
+ },
122
125
markLine: {
123
126
symbol: ' none' ,
124
127
data: [
125
128
{
126
129
yAxis: request ,
127
- label: { formatter: ' Requested' , position: ' end' , color: requestColor },
130
+ label: {
131
+ formatter: ' Requested' ,
132
+ position: ' end' ,
133
+ color: requestColor ,
134
+ offset: request === limit ? [0 , 8 ] : [0 , 0 ]
135
+ },
128
136
lineStyle: { type: ' solid' , color: ' transparent' }
129
137
}
130
138
]
137
145
name: ' Limit' ,
138
146
showSymbol: false ,
139
147
color: limitColor ,
140
- lineStyle: { color: limitColor },
148
+ lineStyle: { color: limitColor , type: ' dashed ' },
141
149
markLine: {
142
150
symbol: ' none' ,
143
151
data: [
144
152
{
145
153
yAxis: limit ,
146
- label: { formatter: ' Limit' , position: ' end' , color: limitColor },
154
+ label: {
155
+ formatter: ' Limit' ,
156
+ position: ' end' ,
157
+ color: limitColor ,
158
+ offset: request === limit ? [0 , - 8 ] : [0 , 0 ]
159
+ },
147
160
lineStyle: { type: ' solid' , color: ' transparent' }
148
161
}
149
162
]
157
170
}
158
171
159
172
const limitColor = ' #DE2E2E' ;
160
- const requestColor = ' #3386E0 ' ;
173
+ const requestColor = ' #838C9A ' ;
161
174
</script >
162
175
163
176
<GraphErrors errors ={$ResourceUtilizationForApp .errors } />
You can’t perform that action at this time.
0 commit comments