Search found 7 matches

by JDJ
Tue Aug 29, 2006 10:58 pm
Forum: JFreeChart
Topic: Can ChartMouseEvent return the description of a TimeSeries
Replies: 2
Views: 4278

Since I'm the type that likes to see the code, I'll post what I did using David's tip. This works nicely for what I need. -----------start--------------------- public void chartMouseClicked(ChartMouseEvent event) { int mouseX = event.getTrigger().getX(); int mouseY = event.getTrigger().getY(); Point...
by JDJ
Mon Aug 28, 2006 9:53 pm
Forum: JFreeChart
Topic: Can ChartMouseEvent return the description of a TimeSeries
Replies: 2
Views: 4278

Can ChartMouseEvent return the description of a TimeSeries

Hi Friends, I have been searching the ChartMouseEvent. I haven't found any reference to this situation. Say you have a TimeSeries graph. You click on one of the lines in the chart. Can you get the desciption of that line? For example, you add a CharMouseEvent to TimeSeriesDemo3. You click on the lin...
by JDJ
Wed Aug 23, 2006 4:43 pm
Forum: JFreeChart
Topic: Renaming TimeSeries Dynamically
Replies: 2
Views: 3762

I got this answer from SeanMcCrohan in another post: The way to rename a TimeSeries is 1. remove all series from the dataset 2. add new TimeSeries with new name The code would look something like this (inside an event such as getActionCommand). In this example, you can re-draw the graph with new nam...
by JDJ
Mon Aug 21, 2006 9:14 pm
Forum: JFreeChart
Topic: Renaming TimeSeries Dynamically
Replies: 2
Views: 3762

Renaming TimeSeries Dynamically

Here's a question:

Once you create a TimeSeries with a name, can you change the name with a dynamic event such as a button click.

Or, do you have to redraw the whole graph?
by JDJ
Mon Aug 21, 2006 5:55 pm
Forum: JFreeChart
Topic: SuperDemo - displayDescription
Replies: 1
Views: 2599

SuperDemo - displayDescription

Hi all, I am trying to understand a part of the SuperDemo, displayDescription. I do not understand where the filename is located. That is, is this filename a real URL or a .html file on the local machine? If it is in the local machine, what is the path to this file? The code looks like this: -------...
by JDJ
Mon Aug 14, 2006 8:48 pm
Forum: JFreeChart
Topic: Newbie question on functionality
Replies: 2
Views: 5026

Thanks oacis!
by JDJ
Fri Aug 11, 2006 4:41 pm
Forum: JFreeChart
Topic: Newbie question on functionality
Replies: 2
Views: 5026

Newbie question on functionality

Hi, I've been searching for a charting tool and this looks perfect. Before I buy the guide and try to make it work, maybe someone knows if this is possible. Using Swing - I need to query an Oracle database to get a recordset. The bar graph will be based on the recordset. Very simple graph. Does JFre...