Search found 10 matches
- Tue Mar 03, 2009 5:30 pm
- Forum: JFreeChart - Stockmarket
- Topic: New Approach to show LegendTitle
- Replies: 6
- Views: 28449
Re: New Approach to show LegendTitle
Hi David, thank you for the answer. I changed to make it more generalised. package br.com.crmsoft.finstock.chart.plot; import static br.com.crmsoft.finstock.Constantes.FONT_LEGEND_TITLE; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics2D; import java.awt.geom.Point2D; imp...
- Tue Mar 03, 2009 4:39 pm
- Forum: JFreeChart - Stockmarket
- Topic: Correction to PeriodAxis and improve performance
- Replies: 2
- Views: 14560
Re: Correction to PeriodAxis and improve performance
Hi David, take a look at those screenshots: http://picasaweb.google.com.br/ricardo.celso/JFreeChart#5308981050976390434 http://picasaweb.google.com.br/ricardo.celso/JFreeChart#5308284425919896594 I´ve made the following code to correct the location of divisors of MONTH and YEAR, but now the Jan and ...
- Tue Mar 03, 2009 1:55 am
- Forum: JFreeChart - Stockmarket
- Topic: Add Drawing Figure Capability To JFreeChart
- Replies: 5
- Views: 22427
Re: Add Drawing Figure Capability To JFreeChart
Hi RoyW,
could you post a piece of your code?
I can draw trendlines, but i can´t move or edit with mouse!
Could you help me?
Thanks a lot,
Celso
could you post a piece of your code?
I can draw trendlines, but i can´t move or edit with mouse!
Could you help me?
Thanks a lot,
Celso
- Sun Mar 01, 2009 7:52 pm
- Forum: JFreeChart - Stockmarket
- Topic: Correction to PeriodAxis and improve performance
- Replies: 2
- Views: 14560
Correction to PeriodAxis and improve performance
I extended class PeriodAxis and I made some corrections in it. 1st: draw method: I put some verification before drawing somethings 2nd: using periods to calculate and put the divisors at correct position 3rd: improving performance using two class variables, firstMillisecond and lastMillisecond, call...
- Sun Mar 01, 2009 7:33 pm
- Forum: JFreeChart - Stockmarket
- Topic: New Approach to show LegendTitle
- Replies: 6
- Views: 28449
New Approach to show LegendTitle
I have created a class named FinStockXYPlot that extends XYPlot and has a member of type LegendTitle, so it can be drawn in any position relative to XYPlot (namely TOP, BOTTOM, LEFT, RIGHT), according to a parameter passed in a call to the method drawTitle. I think this is better than the default be...
- Fri Feb 27, 2009 12:21 am
- Forum: JFreeChart - Stockmarket
- Topic: Problem with CombinedDomainXYPlot and SegmentedTimeline
- Replies: 5
- Views: 19823
Re: Problem with CombinedDomainXYPlot and SegmentedTimeline
thank you skunk, it´s exactly that happens with me.....
- Tue Feb 17, 2009 1:47 am
- Forum: JFreeChart - Stockmarket
- Topic: Problem with CombinedDomainXYPlot and SegmentedTimeline
- Replies: 5
- Views: 19823
The problem is when you use so much data... Catch the example of RoyW at: http://www.jfree.org/phpBB2/viewtopic.php?t=25016 and change this line: String strUrl= "http://ichart.finance.yahoo.com/table.csv?s="+symbol+"&a=2&b=1&c=2005&d=6&e=22&f=2005&ignore=.csv"; for this one ( f=2006 ): String strUrl...
- Mon Feb 16, 2009 7:31 pm
- Forum: JFreeChart - Stockmarket
- Topic: Problem with CombinedDomainXYPlot and SegmentedTimeline
- Replies: 5
- Views: 19823
- Mon Feb 16, 2009 7:05 pm
- Forum: JFreeChart - Stockmarket
- Topic: Problem with CombinedDomainXYPlot and SegmentedTimeline
- Replies: 5
- Views: 19823
Problem with CombinedDomainXYPlot and SegmentedTimeline
Hi folks, I have a problem with this combination (SegmentedTimeline.newMondayThroughFridayTimeline() and CombinedDomainXYPlot). At the beginning I was using just XYPlot and it works perfectly, but now I changed to CombinedDomainXYPlot and my system became frozen! I don´t know what happened, because ...
- Mon Feb 16, 2009 6:56 pm
- Forum: JFreeChart - Stockmarket
- Topic: Profiling SegmentedTimeline
- Replies: 2
- Views: 14757
Profiling SegmentedTimeline
Hi folks, i created a candlestick chart and i use SegmentedTimeline, but my dataset has a lot of information (about 2500 bars). I am using NetBeans Profiler to view the performace of my application, and i saw a big problem with SegmentedTimeline, it consumes about 50MB!!! Problem has encountered at ...