0
I’m looking to change the font size and the square of the caption of a Primefaces chart via Javascript.
My code:
<script type="text/javascript">
function alterarGrafico() {
this.cfg.highlighter = {
tooltipAxes : 'y'
};
this.cfg.axes.yaxis.tickOptions = {
textColor : '#000000',
formatString : "%.0f"
};
this.cfg.axes.yaxis.labelOptions = {
textColor : '#000000'
};
this.cfg.axes.xaxis.labelOptions = {
textColor : '#000000'
};
}
</script>
But I still haven’t been able to enlarge the square size of the caption
– Leandro Kojima