String format of tooltips of a candle chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Martin
Posts: 23
Joined: Thu Apr 24, 2003 10:25 am
Location: Germany-Essen

String format of tooltips of a candle chart

Post by Martin » Tue Nov 22, 2005 3:30 pm

I want to display tooltips within my candlestick chart.
Therefore I created a CandlestickRenderer by the following code

Code: Select all

CandlestickRenderer candle = new CandlestickRenderer(4,false,new HighLowItemLabelGenerator(new SimpleDateFormat("dd-MM-yyyy"),new DecimalFormat("0.00")));
But the price components of a candle always appears in the tooltip in the following sequence:
Date=, High=, Low=, Open=, Close=

Is it possible to change that sequence to a more standard one like Date=, Open=, High=, Low=, Close=?

Regards
Martin

Guest23

Post by Guest23 » Sat Dec 03, 2005 2:45 am


Locked