40
| <![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>]]>
|
875
| <![CDATA[<script type="text/javascript">
google.charts.load('current', {
'packages': ['corechart']
});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Data', 'Proventos', 'Descontos', 'Líquido'],
['JAN/2022', 2570677.71, 430160.16, 2140517.55],
['FEV/2022', 2918198.37, 464574.71, 2453623.66],
['MAR/2022', 2965073.99, 466035.54, 2499038.45],
['ABR/2022', 2960042.36, 465440.64, 2494601.72],
['MAIO/2022', 3176663.46, 554065.42, 2622598.04],
['JUN/2022', 3534364.35, 648756.06, 2885608.29],
['JUL/2022', 2984488.29, 548648.85, 2435839.44],
['AGO/2022', 3349583.59, 582030.73, 2767552.86],
['SET/2022', 4145206.70, 537382.11, 3607824.59],
['OUT/2022', 3240373.46, 527086.59, 2713286.87],
['NOV/2022', 3134142.03, 567587.33, 2566554.7],
['DEZ/2022', 4689026.41, 1719368.19, 2969658.22],
]);
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: '#16a085'
},
1: {
color: '#8e44ad'
},
2: {
color: '#f39c12'
},
},
lineWidth: 5,
hAxis: {
title: 'Demonstrativo no exercício: 2022'
},
vAxis: {
minValue: 0
}
};
var chart = new google.visualization.LineChart(document.getElementById('chart_div2'));
chart.draw(data, options);
}
</script>]]>
|