How to change the border color of the candle?

Discussion about JFreeChart related to stockmarket charts.
Locked
Calio
Posts: 1
Joined: Sun Apr 03, 2005 7:29 am

How to change the border color of the candle?

Post by Calio » Sun Apr 03, 2005 7:47 am

Hi,

I am using JFreeCharts0.9.21 to develop a stock analysis application. In my candle stick chart, I have set the up paint and down paint in the following way.

candlestickRenderer.setCandleWidth(4.0);
candlestickRenderer.setUpPaint(Color.RED);
candlestickRenderer.setDownPaint(Color.BLUE);

In my candle stick chart, the body color displays the color as what I have set. However, it contains the orange border. How can I change it to the same color as its body?

Kindly help please.

Your's,
Calio

AugustoRocha

Post by AugustoRocha » Wed Aug 03, 2005 4:10 pm

jfreechart.getXYPlot().getRenderer().setSeriesPaint(0,Color.decode("#0066CC"));

Change Series Color
:P

Guest

Post by Guest » Tue Aug 09, 2005 3:42 am

Thanks a lot. Another question is:Can I draw the border as the same color as the candlestick's?

Locked