Search found 43 matches

by lgarcia3
Tue Nov 20, 2007 8:01 am
Forum: JFreeChart
Topic: Line and XYBar
Replies: 0
Views: 2415

Line and XYBar

I have three timeseries being display on a plot. I want two of them to be displayed as lines and the other as bars. I have tried setting the renderers like this XYItemRenderer[] renderers = getRenderes(); xyPlot.setRenderers(renderers); where the method getRenderes() has this code public XYItemRende...
by lgarcia3
Mon Nov 19, 2007 10:53 pm
Forum: JFreeChart
Topic: Change color in a timeseries
Replies: 0
Views: 2312

Change color in a timeseries

I am plotting a time series line and would like to change its color depending on the value that I am plotting. For instance, if my values are negative I'd like it to be red, otherwise blue. How can I do that? With the renderer?
Thanks!
by lgarcia3
Mon Nov 12, 2007 8:21 pm
Forum: JFreeChart
Topic: Time series gap
Replies: 4
Views: 5730

Time series gap

I am plotting 5-minute intraday stock data. I am using a TimeSeries like this new TimeSeries("Close",Minute.class); I use the Minute class (if not a good idea, please, let me know). When I display several days of data it shows up with a gap (actually a straight line) in between the minutes for which...
by lgarcia3
Mon Nov 12, 2007 8:11 pm
Forum: JFreeChart
Topic: Error in timeseries
Replies: 1
Views: 3586

Never mind, I figured it out. There is a constructor to indicate the type of time data to pass to the class like this

Code: Select all

new TimeSeries("Price",Minute.class);
by lgarcia3
Sat Nov 10, 2007 9:10 am
Forum: JFreeChart
Topic: Error in timeseries
Replies: 1
Views: 3586

Error in timeseries

I am feeding a time series with data from intra-day, 5-minute futures. The data goes from 8:00 am to 3:10 pm. I pull the data from a database and try to add to the time series like this TimeSeries close = new TimeSeries("Close"); Connection conn = this.getConnection(); String sql = "SELECT * FROM fi...
by lgarcia3
Tue Oct 30, 2007 12:13 pm
Forum: JFreeChart
Topic: Time in Dynamic Chart
Replies: 0
Views: 2261

Time in Dynamic Chart

In the project we are working on, we use artificial intelligence to predict movements at time + 1. In other words, whatever data we have at 8:00 am will be used to predict what we will have at 9:00 am (people who works with stocks may be very familiar with this). Anyway, we have a dynamic chart disp...
by lgarcia3
Tue Oct 30, 2007 11:56 am
Forum: JFreeChart
Topic: Dynamic Chart question
Replies: 0
Views: 2168

Dynamic Chart question

Is there anyway to start adding values to a dynamic chart from left to right instead of right to left as it is in all the examples?
Thanks!
by lgarcia3
Tue Jul 17, 2007 5:38 am
Forum: JFreeChart - Stockmarket
Topic: Linear Regression Slope Graph
Replies: 1
Views: 11661

Linear Regression Slope Graph

I need to create a Linear Regression Slope plot. My client wants the line to change color (from green to red and vice versa) when it changes directions. How do I do that? Any ideas?
by lgarcia3
Fri Jan 19, 2007 8:12 pm
Forum: JFreeChart
Topic: Log plot Gridlines
Replies: 1
Views: 3264

I had asked this question before and no one replyed that time. Anyone knows?
Thanks!
by lgarcia3
Thu Jan 18, 2007 11:18 pm
Forum: JFreeChart
Topic: 1891928: PercentageAxis (1891921: Enhanced LogarithmicAxis)
Replies: 13
Views: 27249

This question is for blutfink. How did you make your x axis come out like that? With all the values less than 0 showing up on the tick labels and the vertical lines for those values also there? See, I have a log plot with values between 0.001 and 1 and I only get those two values on my plot and noth...
by lgarcia3
Thu Jan 18, 2007 10:43 pm
Forum: JFreeChart
Topic: Log plot scale
Replies: 7
Views: 8667

I got an out of memory error (heap error). I tried with less data and still the same. I have like 10,000 points. But with the other one it shows up very quickly and without problems.
Thanks!
by lgarcia3
Thu Jan 18, 2007 5:57 pm
Forum: JFreeChart
Topic: Log plot scale
Replies: 7
Views: 8667

Thanks David! I sure will try that. How do I get to that code/direcory? What is the url? Same for the source code?
Thanks!
by lgarcia3
Thu Jan 18, 2007 5:16 pm
Forum: JFreeChart
Topic: Log plot scale
Replies: 7
Views: 8667

So, any ideas on how to do this?
Thanks!
by lgarcia3
Wed Jan 17, 2007 11:35 pm
Forum: JFreeChart
Topic: Log plot scale
Replies: 7
Views: 8667

Log plot scale

I have a log-log plot and on my X axis I have a the scale set from 0.001 to 1. Now, I only see these two numbers and nothing else in between. My client would like to see some other markers (0.01, 0.1, etc). How can I make it do that?
Thanks!
by lgarcia3
Mon Feb 06, 2006 6:52 pm
Forum: JFreeChart
Topic: Legend problem
Replies: 1
Views: 3327

Never mind, I got it. I just cloned the object and manipulated it.
Thanks!