final PlotOrientation orientation = plot.getOrientation();
final int v = (int) axis.valueToJava2D(value, dataArea, plot
.getDomainAxisEdge());
final Color color = plot.getDomainGridlinePaint();
final Stroke stroke = plot.getDomainGridlineStroke();
// g2.setPaint(paint != null ? paint : Plot.DEFAULT_OUTLINE_PAINT);
// g2.setStroke(stroke != null ? stroke : Plot.DEFAULT_OUTLINE_STROKE);
if (color != null) {
g2.setForeground(color);
}
if (stroke != null) {
stroke.set(g2);
}
if (orientation == PlotOrientation.HORIZONTAL) {
g2.drawLine(RectangleUtil.getMinX(dataArea), v, RectangleUtil
.getMaxX(dataArea), v);
} else if (orientation == PlotOrientation.VERTICAL) {