46
| <![CDATA[<script>
var tam = 15;
function mudaFonte(tipo, elemento) {
if (tipo == "mais") {
if (tam < 24)
tam += 1;
} else {
if (tam > 10)
tam -= 1;
}
document.getElementById("Noticia").style.fontSize = tam + "px";
document.getElementById("Descricao").style.fontSize = tam + "px";
}
function printDiv(id, pg, url) {
var oPrint, oJan;
oPrint = window.document.getElementById(id).innerHTML;
oJan = window.open(pg);
oJan.document.write(oPrint);
oJan.document.write(url);
oJan.window.print();
oJan.document.close();
oJan.focus();
}
// Função contraste INICIO
(function() {
var Contrast = {
storage: 'contrastState',
cssClass: 'contrast',
currentState: null,
check: checkContrast,
getState: getContrastState,
setState: setContrastState,
toogle: toogleContrast,
updateView: updateViewContrast
};
window.toggleContrast = function() {
Contrast.toogle();
};
Contrast.check();
function checkContrast() {
this.updateView();
}
function getContrastState() {
return localStorage.getItem(this.storage) === 'true';
}
function setContrastState(state) {
localStorage.setItem(this.storage, '' + state);
this.currentState = state;
this.updateView();
}
function updateViewContrast() {
var body = document.body;
if (this.currentState === null)
this.currentState = this.getState();
if (this.currentState)
body.classList.add(this.cssClass);
else
body.classList.remove(this.cssClass);
}
function toogleContrast() {
this.setState(!this.currentState);
}
})();
// Função contraste FIM
</script>]]>
|
1514
| <![CDATA[<script type="text/javascript">
google.charts.load('current', {
'packages': ['corechart']
});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Data', 'Empenhado', 'liquidado', 'pago'],
['JAN/2022', 101483205.36, 12301178.13, 8405724.27],
['FEV/2022', 12604458.13, 15851568.39, 11719371.93],
['MAR/2022', 20030446.56, 18983651.73, 18143238.50],
['ABR/2022', 22542376.47, 21298056.47, 20380329.62],
['MAIO/2022', 12351321.38, 17766508.76, 20985557.22],
['JUN/2022', 36311051.42, 29194172.49, 27588743.11],
['JUL/2022', 78190015.49, 50064410.14, 51944950.65],
['AGO/2022', 23875402.07, 29953578.13, 27360451.33],
['SET/2022', 38067650.58, 26449904.94, 25995125.52],
['OUT/2022', 21651421.81, 25609915.24, 24330689.63],
['NOV/2022', 35970230.28, 26816065.52, 30078689.48],
['DEZ/2022', 31785952.36, 43934963.94, 34266780.57],
]);
var formatter = new google.visualization.NumberFormat({
decimalSymbol: ',',
groupingSymbol: '.'
});
formatter.format(data, 1);
var options = {
title: '',
height: 400,
chartArea: {
width: '85%'
},
animation: {
"startup": true,
duration: 2000,
easing: 'out'
},
legend: {
position: 'top'
},
series: {
0: {
color: '#f39c12'
},
1: {
color: '#e67e22'
},
2: {
color: '#c0392b'
},
},
lineWidth: 5,
hAxis: {
title: 'Demonstrativo das despesas empenhadas, liquidadas e pagas por mês no exercício: 2022'
},
vAxis: {
minValue: 0
}
};
var chart = new google.visualization.LineChart(document.getElementById('chart_div2'));
chart.draw(data, options);
}
</script>]]>
|
2043
| <![CDATA[<script>
$(function() {
/* Custom buttons */
$('#font-setting').easyView({
container: 'body, .section, .container, .row, .col-md-6, .col-md-9, .col-md-12, #footer, #bottom',
step: 10,
bootstrap: true,
increaseSelector: '.increase-me',
decreaseSelector: '.decrease-me',
normalSelector: '.reset-me',
contrastSelector: '.change-me'
});
});
</script>]]>
|