Reputation: 7055
I have jfreechart
with two datasets: OHLCSeries
& TimeSeries Line
.
I need the line chart to be on top (above the OHLC Series).
How is it possible to set overlapping of the dataset?
Short question: How to get the white line to the top (above OHLC series) ?
Complete source of demo on github.
Upvotes: 1
Views: 429
Reputation: 7055
This does the magic:
chart.getXYPlot().setDatasetRenderingOrder(DatasetRenderingOrder.FORWARD);
And result: while line is on top.
Upvotes: 1