Search found 8 matches

by s2tsefanie
Thu Aug 21, 2008 7:30 pm
Forum: JFreeChart
Topic: Array in XYLineChart with Own ToolTip
Replies: 12
Views: 12025

an other Problem

Hi, once again its me. thank you all for your help. and once again, i have problems with my Tooltip: The example you give me RichardWest worked, I didnt do anything special, i only tested it many times and it works. My Problem now is: the tooltip isnt 100% correct: it shows false tooltips for a poin...
by s2tsefanie
Tue Aug 19, 2008 9:40 am
Forum: JFreeChart
Topic: Line Overlapping
Replies: 3
Views: 4605

hi, i think as a Solution (if you dont find one yet) is to draw the pionts of th lines with different bigness or dimensions. I mean the red one is smal, the blue one is middle, the yellow one is large, ... But dont ask me how to do it :cry: And if someone knows, please write the answer here so every...
by s2tsefanie
Thu Jun 12, 2008 10:59 am
Forum: JFreeChart
Topic: Array in XYLineChart with Own ToolTip
Replies: 12
Views: 12025

the full exception

sorry, hier is the Exception with the message:

Code: Select all

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: org.jfree.data.xy.XYSeriesCollection
	at myDatasetTest$myToolTips.generateToolTip(myDatasetTest.java:703

by s2tsefanie
Thu Jun 12, 2008 10:55 am
Forum: JFreeChart
Topic: Array in XYLineChart with Own ToolTip
Replies: 12
Views: 12025

java.lang.ClassCastException

Hi, thank you for your help. i did you do, and tested ma code with my own dataset, it works with the drawing of the data, but not with the tolltips. i get the error java.lang.ClassCastException at the line myDataset l_dataset = (myDataset)x_dataset; from the Tooltipgenerator Method. do you know how ...
by s2tsefanie
Tue Jun 10, 2008 6:09 pm
Forum: JFreeChart
Topic: Array in XYLineChart with Own ToolTip
Replies: 12
Views: 12025

(maybe) its not easy as you said

n the first example i used a Contant string witch i display as a tooltip. it has nothing to do with the values x and y. I just wanted to tell you that i found where to manipulate the tooltips. By the second Exercise: the Tooltip depends on the Point (x,y). here is the Code for the tooltip class: cla...
by s2tsefanie
Tue Jun 10, 2008 3:47 pm
Forum: JFreeChart
Topic: Array in XYLineChart with Own ToolTip
Replies: 12
Views: 12025

own Tooltip doesnt work 100%

Hello again. THanks Richardwest for your help. I programmed my own tooltip and worked. It was a constant tooltip (constant string) I have now an other similar Challenge, and always with Tooltip. now I have the folowing exercise: have an 2 dim. Array with 3 columns ( x | y | d ) my XYLineChart has th...
by s2tsefanie
Tue May 27, 2008 10:06 pm
Forum: JFreeChart
Topic: Array in XYLineChart with Own ToolTip
Replies: 12
Views: 12025

thanks

Thanks Richard for your Help. I looked at the StandardXYToolTipGenerator class. the class implements the interface XYToolTipGenerator and oder interfaces. i should use the method generateToolTip(XYDataset dataset, int series, int item) But i dont know how. If you or someone else can give me an examp...
by s2tsefanie
Mon May 26, 2008 10:01 pm
Forum: JFreeChart
Topic: Array in XYLineChart with Own ToolTip
Replies: 12
Views: 12025

Array in XYLineChart with Own ToolTip

Hello, i am new to JFreeChart, i already tested some examples of it (PieChart and XYLineChart). these examples works very good and includes also the standard Tooltip (it means: it shows the Dataname, xvalue and yValue in the Tooltip). My question is: I have an 2 dim. Array with 4 columns ( x | y | d...