tags:

views:

119

answers:

1

I have a bar graph that displays a maximum value of 4, an integer. But the Y-axis values displayed are from 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

A: 

Set the scale to integer, e.g. $graph->SetScale('textint')

Philip