0
I’m having a problem that my decimal delimiter on graph component of the primefaces is set to be .
, how do I change to ,
?
0
I’m having a problem that my decimal delimiter on graph component of the primefaces is set to be .
, how do I change to ,
?
0
To make the modification it is necessary to create a method in javascript that makes the decimal changes:
function formatChart() {
$.jqplot.sprintf.thousandsSeparator = '.';
$.jqplot.sprintf.decimalMark = ',';
}
Then associate this extension function to the chart created by java:
chartModel = new BarChartModel();
chartModel.setExtender("formatChart");
Browser other questions tagged java primefaces
You are not signed in. Login or sign up in order to post.
https://forum.primefaces.org/viewtopic.php?p=88846 suggested using a custom extender for this purpose
– gmsantos