Search found 11 matches

by theAnonymous
Fri Oct 05, 2012 4:43 am
Forum: JFreeChart
Topic: drawing on chart with mouse is super inaccurate!
Replies: 0
Views: 2503

drawing on chart with mouse is super inaccurate!

how do i fix it? i understand that it's due to the inaccuracies when converting from double to int...

so, how do i get the range value and corresponding pixel position of each XYPlot in a CombinedDomainXYPlot?

thanks.
by theAnonymous
Wed May 11, 2011 5:50 pm
Forum: JFreeChart
Topic: how to colour area between 2 lines?
Replies: 3
Views: 5829

how to colour area between 2 lines?

hello, im trying to draw an ichimoku cloud.

http://www.swing-trade-stocks.com/image ... charts.png

so, how do i colour an area between 2 lines? thanks.
by theAnonymous
Fri May 06, 2011 12:09 am
Forum: JFreeChart
Topic: refresh / redraw problems
Replies: 4
Views: 6966

refresh / redraw problems

i am charting something that needs to continually take in new data without discarding old data. 1) is there a way to do this without drawing a new chart altogether? is there a way to append to an already existing XYPlot? 2) at the moment, i am redrawing the whole chart, but the chart disappears unle...
by theAnonymous
Fri Apr 29, 2011 12:23 pm
Forum: JFreeChart
Topic: TimeSeries & CandleStick
Replies: 1
Views: 2807

TimeSeries & CandleStick

hello, i need a time series chart (so that when i zoom it, all charts are zoomed in and are at the correct date). problem is, how do i draw the candlestick chart and the other charts under a combined plot like how one would combined many XYPlots in CombinedDomainXYPlot? im trying to do something lik...
by theAnonymous
Fri Apr 29, 2011 10:01 am
Forum: JFreeChart - Stockmarket
Topic: TimeSeries & CandleStick?
Replies: 1
Views: 10306

Re: TimeSeries & CandleStick?

im trying to do something like that.

http://stockcharts.com/school/doku.php? ... rage_conve

pls help.
by theAnonymous
Thu Apr 28, 2011 4:16 pm
Forum: JFreeChart - Stockmarket
Topic: TimeSeries & CandleStick?
Replies: 1
Views: 10306

TimeSeries & CandleStick?

hello, i need a time series chart (so that when i zoom it, all charts are zoomed in and are at the correct date).

problem is, how do i draw the candlestick chart and the other charts under a combined plot like how one would combined many XYPlots in CombinedDomainXYPlot?

thanks.
by theAnonymous
Mon Apr 25, 2011 7:31 pm
Forum: JFreeChart
Topic: how to put JFreeChart INSIDE a JFrame?
Replies: 2
Views: 9275

Re: how to put JFreeChart INSIDE a JFrame?

import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collections; import java...
by theAnonymous
Sat Apr 23, 2011 9:44 pm
Forum: JFreeChart
Topic: XYTextAnnotation... how to get Y value?
Replies: 0
Views: 3061

XYTextAnnotation... how to get Y value?

hello, i have a TimeSeries data set and am plotting on a XYPlot. it is possible for me to get the x value by using the day.getMiddileMillisecond() method. how do i get the y value, so that i can put the annotation on the line? plus, how do i draw a point to mark a specific point on the chart (follow...
by theAnonymous
Sat Apr 23, 2011 8:41 am
Forum: JFreeChart
Topic: how to put JFreeChart INSIDE a JFrame?
Replies: 2
Views: 9275

how to put JFreeChart INSIDE a JFrame?

right now, i only know how to the JFreeChart uses the whole JFrame to display the chart(s). is there a way to put it inside a JFrame (or JPanel, or whatever) so that my controls for the JFrame will still be there? to clarify, i have a few controllers for the chart... JTextField, JCheckBox, etc.. but...
by theAnonymous
Mon Apr 11, 2011 6:20 pm
Forum: JFreeChart - Stockmarket
Topic: Combine Candlestick and Line Charts
Replies: 6
Views: 26385

Re: Combine Candlestick and Line Charts

it is not working. when i ran the code, it only showed a JFrame, but no charts.

a System.out.println() told me that the whole code ran successfully.
by theAnonymous
Tue Feb 22, 2011 8:26 pm
Forum: JFreeChart - Stockmarket
Topic: how to draw...
Replies: 4
Views: 49033

how to draw...

hi, i successfully drew the candlestick chart for stocks, but i have a few problems and need help. 1) if i close the window of the chart, the whole program closes. how do i prevent this? 2) how do i add additional lines to the candlestick chart? eg. EMA, SMA, etc etc. can i add points (coordinates) ...