RenderingHint in drawRangeLine() but notin drawRangeMarker()

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
olbrich
Posts: 19
Joined: Fri Dec 27, 2013 9:39 am
antibot: No, of course not.

RenderingHint in drawRangeLine() but notin drawRangeMarker()

Post by olbrich » Wed Jun 01, 2016 2:04 pm

Hi David,

it seems to me that using RenderingHint in AbstractCategoryItemRenderer.drawRangeLine() causes my problem.
A RangeMarker at y=0.0 and BasicStroke(0.5) and a GridLine at y=0.0 and BasicStroke(0.5) do not hide each other in all zoom status.

So if zoom scrolling, sometimes both appear.

Thats a difficult to handle aspect, as all coodinates in double are identcal.

I would suggest that optimization should be centralized.

Am i right. Overriding in all my renderers and comment out the usage of RenderingHint solves it.
But i would prefer a kind of bug fix.

best regards
markus

Locked