jfreechart icon indicating copy to clipboard operation
jfreechart copied to clipboard

axis setTickLabelFont ignored when using a setNumberFormatOverride

Open kolaval opened this issue 3 years ago • 1 comments

Range tick labels ignore the font setting when used with setNumberFormatOverride()

LogAxis yAxis = new LogAxis("Y"); yAxis.setBase(10); yAxis.setRange(0.001, 100); yAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits()); yAxis.setTickLabelFont(new Font("Arial Bold", Font.PLAIN, 6)); yAxis.setNumberFormatOverride(new DecimalFormat());

kolaval avatar Jan 11 '22 06:01 kolaval

See issue #98: setTickLabelFont is not respected for LogAxis if setNumberFormatOverride is used; more here.

trashgod avatar Jan 21 '22 23:01 trashgod