Search found 18 matches
- Tue Feb 05, 2008 6:56 am
- Forum: Eastwood Chart Servlet
- Topic: problem when when writing the graph as PNG
- Replies: 6
- Views: 105979
- Thu Aug 02, 2007 4:20 am
- Forum: JFreeChart
- Topic: mouse click not returning correct values
- Replies: 2
- Views: 7083
I have found part of the problem. The dataset was using a RegularTimePeriod of Month and I was creating a Day in the ChartMouseListener. When I changed the code and recompiled I noticed that the index that is returned is consistently 1 greater than what it should be. I guess I can deal with that. .....
- Thu Aug 02, 2007 12:37 am
- Forum: JFreeChart
- Topic: mouse click not returning correct values
- Replies: 2
- Views: 7083
mouse click not returning correct values
I have taken TimeSeriesDemo1 and modified by adding a ChartMouseListene to it. When I click on the chart and get the x axis value based on the technique shown in CrossHairDemo1 ( cast the double to a long and use the long to create a Date, use the Date to create a Day) I am not getting correct value...
- Sat Jul 28, 2007 10:34 pm
- Forum: JFreeChart
- Topic: click chart get DefaultOHLCDataset values
- Replies: 0
- Views: 3339
click chart get DefaultOHLCDataset values
I have a chart with a DefaultOHLCDataset. When I click on the chart, I get x and y coordinates from the click event. I am able to translate the click point to data space values by using translateScreenToJava2D. However that is not what I want to do. I want to be able to click on the chart and then d...
- Wed Jul 18, 2007 4:46 am
- Forum: JFreeChart
- Topic: MarkerChangeEvents
- Replies: 2
- Views: 5141
- Mon Jul 16, 2007 11:59 pm
- Forum: JFreeChart
- Topic: MarkerChangeEvents
- Replies: 2
- Views: 5141
MarkerChangeEvents
I am using JFreeCharts 1.0.6 I am trying to implement a MarkerChangeListener. However when I add the following import statements to the top of MarkerDemo2 and recompile the compiler complains that it can't resolve the symbol. import org.jfree.chart.event.MarkerChangeEvent; import org.jfree.chart.eve...
- Thu Jun 28, 2007 3:46 am
- Forum: JFreeChart
- Topic: Plot Height and Width
- Replies: 0
- Views: 3478
Plot Height and Width
I need to know the height and width of the plot drawing area in pixels. Could you please tell me how (which method) I can use to determine this? Thank you.
- Wed Jun 27, 2007 4:10 pm
- Forum: JFreeChart - Stockmarket
- Topic: rangeAxis.java2DToValue throwing null pointer exception
- Replies: 4
- Views: 21108
- Wed Jun 27, 2007 3:42 am
- Forum: JFreeChart - Stockmarket
- Topic: rangeAxis.java2DToValue throwing null pointer exception
- Replies: 4
- Views: 21108
There's still something I'm missing
I have been searching the forum for similar problems and have managed to make some changes that resolve the null pointer issue but I am still not able to get the annotations to show up. Here is the new code. If you can see what is wrong please tell me Thanks. /* ----------------------- * MouseListen...
- Tue Jun 26, 2007 7:50 pm
- Forum: JFreeChart - Stockmarket
- Topic: rangeAxis.java2DToValue throwing null pointer exception
- Replies: 4
- Views: 21108
rangeAxis.java2DToValue throwing null pointer exception
I am attempting to use a ChartMouseListener on a combined chart. However when I do I am getting a null pointer exception. I have combined 2 of the demos to illustrate the problem. Does anyone have any suggestions about how I can solve this. Thanks. /* ----------------------- * MouseListenerDemo4.jav...
- Fri Jun 22, 2007 8:35 pm
- Forum: JFreeChart
- Topic: removing listener from ChartPanel
- Replies: 1
- Views: 4625
removing listener from ChartPanel
Could you please give me example code for how to remove a listener.? I find your example code very helpful. I have read the api but I don't seem to be implementing what is required as I am getting errors. chartPanel.removeChartMouseListener(ChartMouseListener.class); //error ChartMouseListener canno...
- Thu Apr 05, 2007 3:04 am
- Forum: JFreeChart
- Topic: CandlestickRenderer
- Replies: 1
- Views: 4766
- Wed Apr 04, 2007 8:33 pm
- Forum: JFreeChart
- Topic: CandlestickRenderer
- Replies: 1
- Views: 4766
CandlestickRenderer
Hi, I need to set the outline paint for my candlestick chart. I am trying to use the commented out code in CandlestickChartDemo1 version 1.0.5. However I am getting a compile error at renderer.setUseOutlinePaint(true). (The api says that this method is available. )When I don't use it and go directly...
- Fri Mar 16, 2007 2:38 am
- Forum: JFreeChart
- Topic: attempting to understand charts
- Replies: 3
- Views: 6651
attempting to understand charts
I am trying to learn how to work with the charts by modifying the example code. I have changed the PriceVolumeDemo1 demo and I am trying to create a chart without using the ChartFactory method. I have created everything that I think a chart requires but when I run the code I get a null pointer excep...
- Sat Nov 25, 2006 5:18 pm
- Forum: JFreeChart
- Topic: setting backgroundImage in a Struts application
- Replies: 1
- Views: 4650