Search found 24 matches

by arwelbath
Fri Jun 04, 2010 3:13 pm
Forum: JFreeChart
Topic: log axis auto scaling problem
Replies: 1
Views: 2336

log axis auto scaling problem

Hi, I am plotting a number of series on a log-log XY plot, and I have a problem with autoscaling. If I zoom in, the data looks fine. However, if I zoom out, the y-axis automatically scales so that its lowest value is 10e-101. This problem is iontermittent and only occurs with some datasets. Any idea...
by arwelbath
Tue Feb 17, 2009 4:01 pm
Forum: JFreeChart
Topic: Change to the 'right-click' menu
Replies: 3
Views: 8216

Change to the 'right-click' menu

Hi,
I want to modify the menu that appears when I right click on a chart. Specifically, I want to keep the 'Save As', 'Print' and zooming options, but I want to remove the first 'properties' option.

Could someone suggest how I could do this?
Cheers,
Arwel
by arwelbath
Tue Feb 03, 2009 3:38 pm
Forum: JFreeChart
Topic: Updating a Histogram?
Replies: 2
Views: 2907

Thanks David. I'll give it a go...
by arwelbath
Mon Feb 02, 2009 4:12 pm
Forum: JFreeChart
Topic: How to get progress of a task in horizontal bar chart.
Replies: 3
Views: 3485

As regards to (1), why not just use a normal JProgressBar?
by arwelbath
Mon Feb 02, 2009 1:13 pm
Forum: JFreeChart
Topic: Updating a Histogram?
Replies: 2
Views: 2907

Updating a Histogram?

Hi, I am plotting a simple Histogram, and what I would like to do is to update the graph as new data is obtained. The updates are never frequent, and so there's no need for any flashy, super-fast dynamic stuff. At the moment I'm creating a dataset.... public IntervalXYDataset makeIntervalXYDataset()...
by arwelbath
Fri Jan 23, 2009 2:52 pm
Forum: JFreeChart
Topic: ChartPanel not resizing with JPanel
Replies: 8
Views: 14897

"I suspect that NetBeans is doing something that you're not expecting" Yup, sounds about right. :wink: Anyway, it eventually worked (but just dropping it in at CENTRE didn't quite do it... it went in at dimensions[0,0], and I had to re-size manually to the panel size... thePanel.setLayout(BorderLayo...
by arwelbath
Fri Jan 23, 2009 2:19 pm
Forum: JFreeChart
Topic: ChartPanel not resizing with JPanel
Replies: 8
Views: 14897

Thanks David. I'm not completely ignorant of layout manages, and I have read up on 'Layout Managers 101' back in the bad old days beore I discovered Netbeans GUI editor, and used to code everything in GridBag by hand *shudder* Now, just changing to BorderLayout on its own isn't fixing it unfortunate...
by arwelbath
Fri Jan 23, 2009 1:56 pm
Forum: JFreeChart
Topic: ChartPanel not resizing with JPanel
Replies: 8
Views: 14897

Hi David, The panel is being created in NetBeans gui editor. It's layout is by default set to 'FreeDesign', which sounds like a Netbeans gui designer specific thing. It does of course have the options of being set to the usual suspects (Border, Flow, Gridbag etc...) Any hint as to what is the correc...
by arwelbath
Fri Jan 23, 2009 1:38 pm
Forum: JFreeChart
Topic: ChartPanel not resizing with JPanel
Replies: 8
Views: 14897

ChartPanel not resizing with JPanel

Hi, I'm making a chart panel in this way.... public ChartPanel mkCutThroughsChart(XYSeriesCollection data, XYSeriesCollection point) { NumberAxis xAxis = new NumberAxis("Value"); NumberAxis yAxis = new NumberAxis("Chi Squared"); xAxis.setAutoRangeIncludesZero(false); yAxis.setAutoRangeIncludesZero(f...
by arwelbath
Fri Mar 07, 2008 4:15 pm
Forum: JFreeChart
Topic: JFreechart and thread safety
Replies: 2
Views: 4847

JFreechart and thread safety

Hi, I have a chart which gets updated periodically. Occasionally, these updates can happen very quickly (i.e. some values can be changed using a JSlider which can result in some very fast updates). When this happens, I periodically get the folowing... Exception in thread "AWT-EventQueue-0" java.lang...
by arwelbath
Wed Feb 06, 2008 9:01 am
Forum: JFreeChart
Topic: Plotting two XYSeriesCollection not working.
Replies: 5
Views: 5251

Hi Priya,
Yes! that seems to have worked very well. Many thanks!
Cheers,
arwel
by arwelbath
Mon Dec 10, 2007 3:07 pm
Forum: JFreeChart
Topic: Clearing XYInterval series
Replies: 4
Views: 4891

Hi David, Er, I was just about to post that I think I figured it out! I tried 'ant compile' from the command line, and this just gives an error message saying that 'ant' is not recognised or somesuch (I'm doing this under windows XP). So, I had a look at the ant homepage, and decided not to try to r...
by arwelbath
Mon Dec 10, 2007 1:12 pm
Forum: JFreeChart
Topic: Clearing XYInterval series
Replies: 4
Views: 4891

Made the changes - now how to recompile?

Hi, Okay, I've made the necessary changes to ComparableObjectSeries, but I can't quite work out how to recompile the jars properly. I'm using NetBeans, and am quite new to Java. Ive followed what i think should be the right steps to re-compiling using the ant script, and this seems to compile with n...
by arwelbath
Tue Nov 27, 2007 1:38 pm
Forum: JFreeChart
Topic: Clearing XYInterval series
Replies: 4
Views: 4891

Clearing XYInterval series

Hi, I have two charts in my project, one has error bars and the other does not. To update the plot without errorbars, I clear the series then re-do it, as in 'updateLines' below. But, this doesn't work for the XYIntervalSeries, since it tells me that 'clear() has protected access in org.jfree.data.C...
by arwelbath
Wed Nov 14, 2007 1:00 pm
Forum: JFreeChart
Topic: Plotting two XYSeriesCollection not working.
Replies: 5
Views: 5251

Yes, I've worked out that much now, and it works fine with XYPlot. However, I have a problem which is suffering from a performance issue (i.e. a few hundred points updating several times every second), hence my interest in FastXYPlot. Now that I've realised that's the issue, I've added a question to...