Unit Scale of Histogram Y axis chart

I fixed using:

chart.getValueAxis().setMajorUnit(50);

Hi,

I try to set unit scale of a axis chart with :

chart.getValueAxis().setMajorUnitScale(50);

but when I open Axis Format Window in produced excel document I can see only major unit scale set to fixed but I can't see value 50.

How do I do?

Maybe it 's a bug?

Thanks

Hi,


I think you may use setMajorUnit() method instead:

chart.getValueAxis().setMajorUnit(50);

Thanks, I had resolved.Your suggestion is correct!