primefaces - LineChart values are automatically rounded -
i tried @ primefaces forum without success, post problem here.
i'm trying use line chart floating point values. here code:
<p:linechart value="#{bean.linearmodel}" miny="0.0" maxy="20.0" xaxisangle="-90" legendposition="e"/> the values linearmodel bigdecimal (y axis) between 15.0 , 18.0 , strings (x axis). bigdecimal values automatically rounded integer values. when set maxy value "20.1" works great , bigdecimal values correctly shown. grid looks strange.
i'm using pf 3.3. tried double values instead of bigdecimal, same problem.
thanks help!
Comments
Post a Comment