IntervalMaker covers Gridlines

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Reinhard
Posts: 6
Joined: Fri May 26, 2006 1:27 pm

IntervalMaker covers Gridlines

Post by Reinhard » Tue Aug 22, 2006 4:55 pm

Hi,

first of all, thank you for this software and for this forum :-)


I am using an IntervalMarker in a CombinedDomainXYPlot:

Code: Select all

IntervalMarker markierung = new IntervalMarker(start, ende);
subplotOben.addDomainMarker(markierung, org.jfree.ui.Layer.BACKGROUND);
Everything works fine, despite the gridlines which are always behind the marker. I cannot work with alpha transparency, which would solve the problem, because I have to export it to eps.

org.jfree.ui.Layer.BACKGROUND puts the marker behind the series, but not behind the gridlines. My dream would be the follwoing order: Marker, gridlines, dataSeries.

Is there a possibility?

Best

Reinhard

chulerias
Posts: 7
Joined: Mon Aug 28, 2006 3:19 pm

Post by chulerias » Mon Aug 28, 2006 3:57 pm

Sorry, I don't have a solution for your problem... cause I've had the same problem too!

Anyway, may you can help me, cause I was trying to find a way to use markers with the CombinedDomainXYPlot and I've reach your post...

I've used markers dynamically in a Time Series Chart and everything worked fine. But I've tried to do the same with the previous plot with the idea of showing several charts at the same time and I can't see the markers!

Can you show me a piece of code? My subplots are XYPlot and I'm applying the markers in just one of them... without success.

Thanks in advance

Locked