I have a bar graph that displays a maximum value of 4, an integer. But the Y-axis values displayed are 开发者_如何学JAVAfrom 0.0 to 4.0.
I want the y-axis to display integer values, not in decimal form.
Can I explicitly do this in the JPGraph library?
Thanks in advance. :D
Set the scale to integer, e.g. $graph->SetScale('textint')
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论