Soy nuevo en Plotly.js. Estoy tratando de descubrir cómo aumentar el ancho del indicador angular.
. He revisado esta documentación en detalle. Pero no puedo encontrar el parámetro que alterará ese ancho. También revisé otras preguntas de StackOverflow, pero desafortunadamente no pude encontrar lo que estaba buscando. Adjuntando el código a continuación.
var data = [ { type: "indicator", mode: "gauge+number+delta", value: 420, title: { text: "Speed", font: { size: 24 } }, delta: { reference: 400, increasing: { color: "RebeccaPurple" } }, gauge: { axis: { range: [null, 500],showticklabels:"true",angle: "auto",tickwidth: 1, tickcolor: "darkblue" }, bar: { color: "darkblue",line:{color:"#FFC0CB", width:"5"},thickness:"0.7" }, shape:"angular", bgcolor: "black", borderwidth: 2, bordercolor: "gray", steps: [ { range: [0, 250], color: "cyan" }, { range: [250, 400], color: "royalblue" } ], //red arrow at the end threshold: { line: { color: "red", width: 4 }, thickness: 0.6, value: 490 } } } ]; var layout = { width: 500, height: 400, margin: { t: 25, r: 25, l: 25, b: 25 }, paper_bgcolor: "lavender", font: { color: "darkblue", family: "Arial" } }; Plotly.newPlot('myDiv', data, layout); <head> <!-- Load plotly.js into the DOM --> <script src='https://cdn.plot.ly/plotly-2.4.2.min.js'></script> </head> <body> <div id='myDiv'><!-- Plotly chart will be drawn inside this DIV --></div> </body>