Problem about the color setting of CandleStick Chart.

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
caton

Problem about the color setting of CandleStick Chart.

Post by caton » Tue Dec 31, 2002 2:43 pm

Hi Sir,
I have two problems , would it be mind of you to give me some help.

1. Can I just use the CandlestickRanderer's setUpPaint(Color.red),
setDownPaint(Color.green) method to show only the two colors on the chart,and disable the outline color of every candlestick component(setting
by the setSeriesPaint() of the Plot Class).

2.After I let the cursor stop one place within the chart for a while , the Tooltip box was displayed , and then I move the mouse away ,The original
trace lines did not dispear and new trace lines shown.

PS:
HorizontalAxis trace line is enabled by setHorizontalAxisTrace(true)
VerticalAxis trace line is enabled by setVerticalAxisTrace(true)


How can I fix the two problems?

Thanks a lot.

Locked