Search found 24 matches
- Fri Jun 04, 2010 3:13 pm
- Forum: JFreeChart
- Topic: log axis auto scaling problem
- Replies: 1
- Views: 3023
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...
- Tue Feb 17, 2009 4:01 pm
- Forum: JFreeChart
- Topic: Change to the 'right-click' menu
- Replies: 3
- Views: 11120
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
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
- Tue Feb 03, 2009 3:38 pm
- Forum: JFreeChart
- Topic: Updating a Histogram?
- Replies: 2
- Views: 4507
- Mon Feb 02, 2009 4:12 pm
- Forum: JFreeChart
- Topic: How to get progress of a task in horizontal bar chart.
- Replies: 3
- Views: 6021
- Mon Feb 02, 2009 1:13 pm
- Forum: JFreeChart
- Topic: Updating a Histogram?
- Replies: 2
- Views: 4507
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()...
- Fri Jan 23, 2009 2:52 pm
- Forum: JFreeChart
- Topic: ChartPanel not resizing with JPanel
- Replies: 8
- Views: 19244
"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...
- Fri Jan 23, 2009 2:19 pm
- Forum: JFreeChart
- Topic: ChartPanel not resizing with JPanel
- Replies: 8
- Views: 19244
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...
- Fri Jan 23, 2009 1:56 pm
- Forum: JFreeChart
- Topic: ChartPanel not resizing with JPanel
- Replies: 8
- Views: 19244
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...
- Fri Jan 23, 2009 1:38 pm
- Forum: JFreeChart
- Topic: ChartPanel not resizing with JPanel
- Replies: 8
- Views: 19244
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...
- Fri Mar 07, 2008 4:15 pm
- Forum: JFreeChart
- Topic: JFreechart and thread safety
- Replies: 2
- Views: 6469
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...
- Wed Feb 06, 2008 9:01 am
- Forum: JFreeChart
- Topic: Plotting two XYSeriesCollection not working.
- Replies: 5
- Views: 8900
- Mon Dec 10, 2007 3:07 pm
- Forum: JFreeChart
- Topic: Clearing XYInterval series
- Replies: 4
- Views: 7323
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...
- Mon Dec 10, 2007 1:12 pm
- Forum: JFreeChart
- Topic: Clearing XYInterval series
- Replies: 4
- Views: 7323
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...
- Tue Nov 27, 2007 1:38 pm
- Forum: JFreeChart
- Topic: Clearing XYInterval series
- Replies: 4
- Views: 7323
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...
- Wed Nov 14, 2007 1:00 pm
- Forum: JFreeChart
- Topic: Plotting two XYSeriesCollection not working.
- Replies: 5
- Views: 8900
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...