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>]]>
|
789
| <![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/2023', 5517490.71, 1296598.34, 4220892.37],
['FEV/2023', 7273845.99, 1662243.73, 5611602.26],
['MAR/2023', 7126982.62, 1596760.59, 5530222.03],
['ABR/2023', 7226412.73, 1629652.25, 5596760.48],
['MAIO/2023', 7308123.66, 1646351.10, 5661772.56],
['JUN/2023', 8102481.62, 1831150.00, 6271331.62],
['JUL/2023', 5923372.90, 1431896.48, 4491476.42],
['AGO/2023', 7446989.40, 1649595.34, 5797394.06],
['SET/2023', 7558538.22, 1676662.14, 5881876.08],
]);
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: 2023'
},
vAxis: {
minValue: 0
}
};
var chart = new google.visualization.LineChart(document.getElementById('chart_div2'));
chart.draw(data, options);
}
</script>]]>
|