value = axis.java2DToValue(x, dataArea, rangeEdge);
returns the tick index wrt the point where the tick is drawn and not at the boundary.
ex. for the first tick, the value returned by the above API is ~-0.5 at the beginning of the graph and not 0. This would probably not qualify as a bug but can the above API be overloaded to get the tick index wrt the boundary of the tick and not at the point where the tick is drawn.