Menu

#37 White space when setting Tick invisible

v0.9.0
closed-fixed
None
5
2016-02-12
2014-03-28
eselmeister
No

Hi Yoshi,

the new release seems to show an unwanted behavior when setting the tick invisible:

getAxisSet().getYAxis(0).getTick().setVisible(false);

There is a big white space when showing large values. The tick is invisible but space for displaying the values seems to be reserved. I resolved the issue by setting a "dirty-hack" decimal formatter:

DecimalFormat decimalFormat = new DecimalFormat();
decimalFormat.setMaximumFractionDigits(0);
decimalFormat.setMaximumIntegerDigits(0);
getAxisSet().getYAxis(0).getTick().setFormat(decimalFormat);

Best
Philip

Discussion

  • yoshitaka

    yoshitaka - 2016-02-12
    • status: open --> closed-fixed
     
  • yoshitaka

    yoshitaka - 2016-02-12

    fixed in 0.10.0