How to create customized tooltip. PLease help

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

How to create customized tooltip. PLease help

Post by ptiwari123 » Wed Aug 03, 2005 5:36 am

How do i create my own tooltip using Jfreechart? I want to display more than one item for a particular plot in the graph. Currently, tooltip only shows one line information for a particular point.However, I want to display more than one than line.I want to display my own tool tip. Please suggest me which method to use?

Thank You

Pavan Tiwari
ptiwari@mahindrabt.com

dhchou
Posts: 138
Joined: Tue Jul 05, 2005 11:01 pm

Post by dhchou » Wed Aug 03, 2005 3:16 pm

You need to implement your own tool tip generator interface for the chart you are using.

Daniel

olli4u
Posts: 6
Joined: Fri Jun 10, 2005 4:04 pm

and how?

Post by olli4u » Thu Aug 18, 2005 9:33 am

I stuck on the same Problem.

CategoryToolTipGenerator ctg = new StandardCategoryToolTipGenerator()

only brings the standard (ok, the name already says it)

Is there a way to put my own stuff, like {0} - {1} bla bla ?

Locked