@@ -31,19 +31,19 @@ const SpeedChart = (props) => {
3131 type : 'indicator' ,
3232 value : yAxis [ yAxis . length - 1 ] ,
3333 title : { 'text' : "Speed Chart" } ,
34- delta : { 'reference' : 3.5 , 'increasing ' : { 'color' : " mistyrose" } } ,
34+ delta : { 'reference' : 3.5 , 'decreasing ' : { 'color' : ' mistyrose' } } ,
3535 mode : "gauge+number+delta" ,
3636 gauge : { axis : { range : [ null , 8 ] } ,
3737 'tickwidth' : 1 ,
38- 'tickcolor' : "#fce38a" ,
39- 'bar' : { 'color' : "#6eb6ff " } ,
40- 'bordercolor' : "#a3de83 " ,
38+ 'tickcolor' : 'mistyrose' ,
39+ 'bar' : { 'color' : "#e1315b " } ,
40+ 'bordercolor' : "#a1be95 " ,
4141 'steps' : [
42- { 'range' : [ 0 , 4 ] , 'color' : '#edf798 ' } ,
42+ { 'range' : [ 0 , 4 ] , 'color' : '#e2dfa2 ' } ,
4343 { 'range' : [ 4 , 6 ] , 'color' : '#fab57a' }
4444 ] ,
4545 'threshold' : {
46- 'line' : { 'color' : "red" , 'width' : 3.5 } ,
46+ 'line' : { 'color' : 'mistyrose' , 'width' : 3.5 } ,
4747 'thickness' : 0.75 ,
4848 'value' : 7.5
4949 }
@@ -52,7 +52,11 @@ const SpeedChart = (props) => {
5252 layout = { {
5353 height : 400 ,
5454 width : 400 ,
55- paper_bgcolor : '#fffbe0' ,
55+ font : {
56+ color : 'azure' ,
57+ size : 15
58+ } ,
59+ paper_bgcolor : '#8BA6B9' ,
5660 legend : {
5761 orientation : 'h' ,
5862 xanchor : 'center' ,
0 commit comments