1function plotSaneamentoDadosAtuais(label,valor,cores,titulo,fonte) { 2 3 var fonte1 = 'Fonte: ' 4 var data = [{ 5 type: "pie", 6 values: valor, 7 labels: label, 8 name: "", 9 marker: { 10 colors: cores 11 }, 12 sort: false, 13 rotation: -30, 14 insidetextorientation: "horizontal", 15 hovertemplate: "<b>%{label}</b><br>%{value} domicÃlios<br>%{percent}", 16 hoverlabel: { font: { family: 'ZonaPro', size: 12 }} 17 }] 18 19 var layout = { 20 title: { 21 text: titulo, 22 font: {size: 11}, 23 xanchor: "center", 24 x: 0.5 25 }, 26 legend: { 27 x: 0, y: -0.6, 28 font: {size: 11} 29 }, 30 yaxis: { 31 fixedrange: true 32 }, 33 xaxis: { 34 fixedrange: true 35 }, 36 hovermode: 'closest', 37 margin: {r: 0, t: 110, l: 0, b: 0}, 38 paper_bgcolor: 'rgba(255,255,255,0)', 39 plot_bgcolor: 'rgba(255,255,255,0)', 40 separators: ",.", 41 autosize: true, height: 400, 42 annotations: [ 43 { 44 x: 0.5, 45 y: -0.15, 46 xref: 'paper', 47 yref: 'paper', 48 text: fonte1.concat(fonte), 49 showarrow: false, 50 font: { 51 size: 10, 52 color: '#666666' 53 } 54 55 } 56 ], 57 font: { family: 'ZonaPro'} 58 59 } 60 61 return { 62 'data': data, 63 'layout': layout 64 } 65}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.