Search found 11213 matches

by david.gilbert
Mon Mar 17, 2003 10:21 am
Forum: JFreeChart
Topic: xyplot.AddRangeMarker() not showing on graph.
Replies: 3
Views: 4155

Hi James,

At present, the range markers are not incorporated into the auto-range calculation (they probably should be). The solution would be to set a manual range for the axis.

Regards,

Dave Gilbert
by david.gilbert
Mon Mar 17, 2003 10:18 am
Forum: JFreeChart
Topic: [i18ln] Internationalization
Replies: 3
Views: 4775

Hi Nate, It's exactly the same problem as with the number axis, but it's easier to see with dates. As you mention, the format applied is a function of the tick size - it might be 'YYYY' for a 1 year tick size, or 'HH:mm' for a 30 minute tick size. I think there are about 7 different format strings u...
by david.gilbert
Mon Mar 17, 2003 10:10 am
Forum: JFreeChart
Topic: Applet Demo - Database
Replies: 1
Views: 2307

You could create a dynamically updating chart using data read from a database table - you would need to write some code to read in the latest data and update the dataset. Obviously reading the updates will take time, so the refresh rate will drop.

Regards,

Dave Gilbert
by david.gilbert
Mon Mar 17, 2003 10:06 am
Forum: JFreeChart
Topic: Pie Chart Crashes Java VM
Replies: 16
Views: 45147

Any further information that anyone can supply on this would be helpful. I'd like to squash this bug...

Regards,

Dave Gilbert
by david.gilbert
Mon Mar 17, 2003 10:01 am
Forum: JFreeChart
Topic: maximum axis tick marks, setting colors, etc
Replies: 4
Views: 7763

Re: maximum axis tick marks, setting colors, etc

1. in the old version, if you wanted a Y-axis tickmark for the highest datapoint in your graph, you'd do just add a new tick unit with the maxValue, but in the new version, I can't get the following snippet of code to display the maxValue on my vertical axis (this is TimeSeries line graph): TickUni...
by david.gilbert
Mon Mar 17, 2003 9:54 am
Forum: JFreeChart
Topic: maximum axis tick marks, setting colors, etc
Replies: 4
Views: 7763

I've started a new thread 'API Changes' where I have added some notes on the API changes between 0.9.4 --> 0.9.6. I'll edit that post as questions come in, to try and keep it up to date. The methods for setting the series colors have changed with the introduction of secondary datasets, axes and rend...
by david.gilbert
Mon Mar 17, 2003 9:47 am
Forum: JFreeChart
Topic: API Changes
Replies: 5
Views: 7089

API Changes

Until JFreeChart 1.0.0 is released, the library API is subject to change. Up until now, time constraints have meant that I haven't carefully documented each change. However, I understand that this is causing difficulties, especially as JFreeChart becomes more widely used. So I have put together the ...
by david.gilbert
Mon Mar 17, 2003 9:37 am
Forum: JFreeChart
Topic: Possible to label vertical number axis 'value ticks'?
Replies: 1
Views: 2064

If you look at HorizontalBarChartDemo2 you will see that it adds a band to the range axis that you can add labelled ranges to. It only works for the HorizontalNumberAxis, and there are one or two things that need smoothing out, but you could implement something similar for the VerticalNumberAxis. Re...
by david.gilbert
Mon Mar 17, 2003 9:32 am
Forum: JFreeChart
Topic: Can JFreeChart multi-thread?
Replies: 3
Views: 4842

No, not yet. So you need to make sure datasets are not updated in one thread while the chart is redrawing in another thread. I intend to deal with this in either version 0.9.7 or 0.9.8, if all goes to plan...

Regards,

Dave Gilbert
by david.gilbert
Fri Mar 14, 2003 6:43 pm
Forum: JFreeChart
Topic: CompassPlot Range Question
Replies: 1
Views: 2246

I think that only the getValue() method from the MeterDataset is used...everything else is ignored. And the range is assumed to be 360 degrees. I plan to add a ValueDataset interface to JFreeChart in a future release, and the compass plot will probably be modified to use it. Regards, Dave Gilbert
by david.gilbert
Fri Mar 14, 2003 6:36 pm
Forum: JFreeChart
Topic: confusing charting problem
Replies: 3
Views: 5198

Could you put together a sample using a drawing program, and e-mail it to me? Or post it on the web somewhere accessible?

Regards,

Dave Gilbert
by david.gilbert
Fri Mar 14, 2003 6:32 pm
Forum: JFreeChart
Topic: XLabel on multiple lines
Replies: 1
Views: 2308

Re: XLabel on multiple lines

I want the label (XLabel) to print on multiple lines with little shapes representing each one. Is there a way to do this? I don't understand what you mean about the 'shapes representing each one'. Regards, Dave Gilbert P.S. The X axis label is currently a one line item, but you could modify the cod...
by david.gilbert
Fri Mar 14, 2003 6:26 pm
Forum: JFreeChart
Topic: How to remove right and top border border on the chart ?
Replies: 1
Views: 2345

You can try: myChart.getPlot().setOutlineStroke(null); But that will remove the whole border around the plot. You'll probably find that the axes don't actually draw lines at the left and bottom, so that plot border is necessary. Of course, that is a problem that should get fixed. Try it out, and fil...
by david.gilbert
Fri Mar 14, 2003 6:19 pm
Forum: JFreeChart
Topic: axis location in combined charts
Replies: 1
Views: 2547

It doesn't work currently. I've added a bug report on SourceForge:

http://sourceforge.net/tracker/index.ph ... tid=115494

Hopefully I will get a chance to fix it soon!

Regards,

Dave Gilbert
by david.gilbert
Fri Mar 14, 2003 6:03 pm
Forum: JFreeChart
Topic: Dataset-Values for MouseOver-Effect
Replies: 1
Views: 3149

Take a look at the way the getToolTipText(...) method in the ChartPanel class works to find the ChartEntity under the mouse pointer. In your own code, you could do the same thing, but check to see if the ChartEntity is an 'instanceof' XYItemEntity. If it is, you can query the series index and the it...