I have very thin data items that look bad (fuzzy) with antialiasing on. They look fine (1 pixel wide) with antialiasing off, but then all the axis text looks bad (since it is not antialias'ed).
How can I selectively turn off antialiasing for the data items only?
Thanks,
nathan
Turn off antialias for data items only?
Re: Turn off antialias for data items only?
This outta help:nje01 wrote:I have very thin data items that look bad (fuzzy) with antialiasing on. They look fine (1 pixel wide) with antialiasing off, but then all the axis text looks bad (since it is not antialias'ed).
How can I selectively turn off antialiasing for the data items only?
Thanks,
nathan
Code: Select all
RenderingHints renderhints=chart.getRenderingHints();
renderhints.add(new RenderingHints(RenderingHints.KEY_TEXT_ANTIALIASING,RenderingHints.VALUE_TEXT_ANTIALIAS_OFF));