File tree Expand file tree Collapse file tree
timeserieschart/schemas/migrate Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,7 +161,11 @@ spec: {
161161 visual : lineStyle : #lineStyleMapping [#lineStyle ]
162162 }
163163
164- #fillOpacity : * #panel .fieldConfig .defaults .custom .fillOpacity | null
164+ #fillOpacityRaw : * #panel .fieldConfig .defaults .custom .fillOpacity | null
165+ #fillOpacity : [
166+ if (#fillOpacityRaw & string ) != _|_ {strconv .Atoi (#fillOpacityRaw )},
167+ #fillOpacityRaw ,
168+ ][0 ]
165169 if #fillOpacity != null {
166170 visual : areaOpacity : #fillOpacity / 100
167171 }
@@ -202,7 +206,11 @@ spec: {
202206 lineStyle : #lineStyleMapping [property .value .fill ]
203207 }
204208 if property .id == " custom.fillOpacity " {
205- areaOpacity : property .value / 100
209+ #queryFillOpacity : [
210+ if (property .value & string ) != _|_ {strconv .Atoi (property .value )},
211+ property .value ,
212+ ][0 ]
213+ areaOpacity : #queryFillOpacity / 100
206214 }
207215 }
208216 },
Original file line number Diff line number Diff line change 1414 "barAlignment" : 0 ,
1515 "barWidthFactor" : 0.6 ,
1616 "drawStyle" : " line" ,
17- "fillOpacity" : 10 ,
17+ "fillOpacity" : " 10 " ,
1818 "gradientMode" : " none" ,
1919 "hideFrom" : {
2020 "legend" : false ,
Original file line number Diff line number Diff line change 6565 "properties" : [
6666 {
6767 "id" : " custom.fillOpacity" ,
68- "value" : 0
68+ "value" : " 0 "
6969 },
7070 {
7171 "id" : " custom.lineWidth" ,
You can’t perform that action at this time.
0 commit comments