Search found 13 matches
- Tue Mar 27, 2007 4:32 pm
- Forum: JFreeChart
- Topic: Need XY-Chart filled with arrays
- Replies: 3
- Views: 4313
Use XYSeries class, adding your x,y points, looping through your array: XYSeries something= new XYSeries("series title"); for(int i=0; i < array.length;i++) { something.add(x,y); // add your points here } XYSeriesCollection foo = new XYSeriesCollection(something); JFreeChart jfc = (JFreeChart)ChartF...
- Fri Mar 16, 2007 5:50 pm
- Forum: JFreeChart - Stockmarket
- Topic: Drawing Fibonacci lines on a OHLC chart
- Replies: 4
- Views: 21627
Hi, I did the same thing you want to do, and I did this: Created a mouseListener class that extended MouseAdapter class, and implemented MouseMotionListener interface. on mousePress method, you have to get the coords from mouseClick and translate the coords to axis values, using the java2DToValue me...
- Fri Mar 09, 2007 6:49 pm
- Forum: JFreeChart - Stockmarket
- Topic: Intraday XYchart
- Replies: 4
- Views: 20123
- Wed Mar 07, 2007 9:56 pm
- Forum: JFreeChart
- Topic: ZoomOut Range Problem
- Replies: 2
- Views: 4068
Uhn, I will try that. But I'm very suspicious about the volume bars the DefaultHighLowDataset or OHLCDataset have. Maybe, even thought I'm setting drawVolume to false, the range is still considering the data from the barchart to set the range? Can I remove it? I mean, can I remove the barchart? Than...
- Wed Mar 07, 2007 8:30 pm
- Forum: JFreeChart
- Topic: ZoomOut Range Problem
- Replies: 2
- Views: 4068
ZoomOut Range Problem
Hi, I'm having problems using the zoom in a xy chart. In fact, I'm using JFC to plot a candlestick graph, and it appears to be working. The range of my y axis is somewhere between [30000 ~ 40000], but the lower bound of my rangeaxis is showing zero. I tried to use setLowerBound, it worked, but after...
- Thu Mar 01, 2007 6:55 pm
- Forum: JFreeChart
- Topic: How to get the Y-Axis Value to use in XYLineAnnotation?
- Replies: 2
- Views: 3876
- Thu Mar 01, 2007 4:02 pm
- Forum: JFreeChart
- Topic: How to get the Y-Axis Value to use in XYLineAnnotation?
- Replies: 2
- Views: 3876
How to get the Y-Axis Value to use in XYLineAnnotation?
Hi, I am developing a chart application that needs to draw some lines in a plot (a fibonnaci series in a stock market chart tbh) based on the mousedrag start and finish points. Right now, to draw the lines in the plot I'm using XYLineAnnotation, because I think it is the best way to keep the info on...
- Thu Jan 04, 2007 2:09 pm
- Forum: JFreeChart
- Topic: Time series for intraday charts (mon-fri, 9.30 - 4.00pm)
- Replies: 41
- Views: 91807
- Tue Dec 26, 2006 5:28 pm
- Forum: JFreeChart
- Topic: Time series for intraday charts (mon-fri, 9.30 - 4.00pm)
- Replies: 41
- Views: 91807
- Tue Dec 26, 2006 5:26 pm
- Forum: JFreeChart - Stockmarket
- Topic: Intraday XYchart
- Replies: 4
- Views: 20123
- Fri Dec 15, 2006 2:08 pm
- Forum: JFreeChart - Stockmarket
- Topic: Intraday XYchart
- Replies: 4
- Views: 20123
- Thu Dec 14, 2006 4:43 pm
- Forum: JFreeChart
- Topic: Time series for intraday charts (mon-fri, 9.30 - 4.00pm)
- Replies: 41
- Views: 91807
- Thu Dec 14, 2006 1:37 pm
- Forum: JFreeChart - Stockmarket
- Topic: Intraday XYchart
- Replies: 4
- Views: 20123
Intraday XYchart
Hi folks, I'm having a trouble displaying intraday stock market info. I get the data from my data base, with the date and the value of the stock using a JDBCXYDataset, and it works fine. Here in Brazil, the market opens at 9:00AM and closes at 6:00PM, and I get the data each 15 minutes. When I plot ...