File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
chronos_npm_package/controllers Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ function createGrafanaPanelObject(
1818 "axisPlacement" : "auto" ,
1919 "barAlignment" : 0 ,
2020 "drawStyle" : "line" ,
21- "fillOpacity" : 30 ,
21+ "fillOpacity" : 40 ,
2222 "gradientMode" : "opacity" ,
2323 "hideFrom" : {
2424 "legend" : false ,
@@ -75,7 +75,11 @@ function createGrafanaPanelObject(
7575 "tooltip" : {
7676 "mode" : "single" ,
7777 "sort" : "none"
78- }
78+ } ,
79+ // "displayLabels": [
80+ // "percent"
81+ // ]
82+
7983 } ,
8084 "id" : 1 ,
8185 "targets" : [ {
@@ -113,15 +117,15 @@ function updateGrafanaPanelObject(
113117 "axisPlacement" : "auto" ,
114118 "barAlignment" : 0 ,
115119 "drawStyle" : "line" ,
116- "fillOpacity" : 0 ,
117- "gradientMode" : "none " ,
120+ "fillOpacity" : 40 ,
121+ "gradientMode" : "opacity " ,
118122 "hideFrom" : {
119123 "legend" : false ,
120124 "tooltip" : false ,
121125 "viz" : false
122126 } ,
123- "lineInterpolation" : "linear " ,
124- "lineWidth" : 1 ,
127+ "lineInterpolation" : "smooth " ,
128+ "lineWidth" : 2 ,
125129 "pointSize" : 5 ,
126130 "scaleDistribution" : {
127131 "type" : "linear"
@@ -170,7 +174,10 @@ function updateGrafanaPanelObject(
170174 "tooltip" : {
171175 "mode" : "single" ,
172176 "sort" : "none"
173- }
177+ } ,
178+ "displayLabels" : [
179+ "percent"
180+ ]
174181 } ,
175182 "id" : 1 ,
176183 "targets" : [ {
You can’t perform that action at this time.
0 commit comments