Search found 16 matches

by vrsarav
Wed Nov 09, 2011 4:24 pm
Forum: JFreeChart
Topic: XYSeries and out of memory issue
Replies: 2
Views: 3466

Re: XYSeries and out of memory issue

Thanks Paradoxoff. You've always been a tremendous help to this group. I have to look into defaultXYDataset yet. Let me try that and let u know. As far as SamplingXYLineAndShapeRenderer i did have a quick later earlier. My requirement is to have have all the data points visible, but with SamplingXYL...
by vrsarav
Tue Nov 01, 2011 10:31 pm
Forum: JFreeChart
Topic: XYSeries and out of memory issue
Replies: 2
Views: 3466

XYSeries and out of memory issue

Hi All, I'm trying to add huge data more than a million to XYSeries[]. Means i need multiple XYSeries with each having millions of data. The data comes from a file. Whenever the file size is about 40 MB it fails with a out of memory error. I just came up with a test code to verify this. double time ...
by vrsarav
Thu Dec 17, 2009 4:14 pm
Forum: JFreeChart
Topic: Issue with Legends display with 2 chart panels
Replies: 0
Views: 1697

Issue with Legends display with 2 chart panels

I have two different chartPanel displayed using the split pane, one on the top and the other on the bottom. I have ensured the alignment of the both. Though not perfect it looks good. I have the requirement of displaying the legend for just one of the chart. Hence the alignment is good as long as th...
by vrsarav
Wed Dec 16, 2009 11:22 pm
Forum: JFreeChart
Topic: Issue in Alignment of 2 charts - Legends
Replies: 7
Views: 6938

Re: Issue in Alignment of 2 charts - Legends

New issue regarding the alignment. When the LegendItem is displayed on the left side, the indentation of the chart doesn't seem easy to predict. My issue, as i have stated earlier, I need combinedDomainXY chart with legends displayed on the left side in the top panel. Normal XYPLot without legend in...
by vrsarav
Tue Dec 01, 2009 8:45 pm
Forum: JFreeChart
Topic: Issue in Alignment of 2 charts - Legends
Replies: 7
Views: 6938

Re: Issue in Alignment of 2 charts - Resolved

After analysis, incalculateAxisSpace() method CombinedDomainXYPlot.java doesn't seem to set the fixedRangeAxisSpace from CombinedDomainXYPlot to its subPlots, after having set them to null. So before calling calculateRangeAxisSpace for each of its subPlots i have set the following plot.setFixedRange...
by vrsarav
Mon Nov 30, 2009 11:22 pm
Forum: JFreeChart
Topic: Issue in Alignment of 2 charts - Legends
Replies: 7
Views: 6938

Re: Issue in Alignment of 2 charts

Thanks for the suggestion remiohead.
I'm looking into the source code right now. Let me see if i can come up with something.

Anyway thanks for the help.

In the mean time if anyone has any idea, pls let me know. Thanks.
by vrsarav
Mon Nov 30, 2009 6:12 pm
Forum: JFreeChart
Topic: Issue in Alignment of 2 charts - Legends
Replies: 7
Views: 6938

Re: Issue in Alignment of 2 charts

To add more info, I'm displaying both charts using a split pane, using vertical split. I'm trying to control the alignment of the both charts in the following scenario As for the tickMarkLabels, it can be dynamic for me. I have an option based on a selection, to display abbreviated labels or descrip...
by vrsarav
Mon Nov 30, 2009 5:57 pm
Forum: JFreeChart
Topic: Issue in Alignment of 2 charts - Legends
Replies: 7
Views: 6938

Re: Issue in Alignment of 2 charts

Thanks remiohead for the reply. I have tried both possible combinations. I tried calling setFixedRangeAxisSpace for the CombinedDomainXYPlot after adding all subplots. I tried calling setFixedRangeAxisSpace for the individual subplots and added to CombinedDomainXYPlot In either case it didn't have a...
by vrsarav
Mon Nov 30, 2009 5:15 pm
Forum: JFreeChart
Topic: Issue in Alignment of 2 charts - Legends
Replies: 7
Views: 6938

Issue in Alignment of 2 charts - Legends

Hi, I have following 2 charts in 2 different chartPanel 1) CombinedDomainXYPlot on the first panel 2)XYPlot on the second panel I'm displaying both panels combined in a vertical manner, so that it looks like it shares their X Axis. Now I would like to align both charts based on their Y Axis. I'm try...
by vrsarav
Mon Nov 23, 2009 3:47 pm
Forum: JFreeChart
Topic: Re: New Approach to show LegendTitle
Replies: 2
Views: 3009

Re: New Approach to show LegendTitle

Thanks paradoxoff.
I have used the return value to add it to the entity collection of the chartRenderingInfo object and now i get the LegendItemEntity objects during the mouse click events.

Thanks for the resolution.
by vrsarav
Fri Nov 20, 2009 8:59 pm
Forum: JFreeChart
Topic: Re: New Approach to show LegendTitle
Replies: 2
Views: 3009

Re: New Approach to show LegendTitle

This topic was started by celso in Jfreechart - stock Market forum. I thought this is relevant to general forum as well. http://www.jfree.org/phpBB2/viewtopic.php?f=10&t=27546 My latest query regarding that post was Nice approach. I just did try using it. THough not perfect it works fine. At the mom...
by vrsarav
Fri Nov 20, 2009 8:43 pm
Forum: JFreeChart - Stockmarket
Topic: New Approach to show LegendTitle
Replies: 6
Views: 19020

Re: New Approach to show LegendTitle

Nice approach. I just did try using it. THough not perfect it works fine. At the moment, just adding to Top and Bottom works fine. Left and Right doesn't look that good. I have one question. When we add LegendTitle with this new approach, I expect mouse click on it to return LegendItemEntity object....
by vrsarav
Tue Nov 10, 2009 3:01 pm
Forum: JFreeChart
Topic: chart for data like ["0", "1", "0", "1", "1", "0".....]
Replies: 4
Views: 4002

Re: chart for data like ["0", "1", "0", "1", "1", "0".....]

I think i'm going to use symbol axis with a XYPlot for this. Thanks for the help guys.
by vrsarav
Mon Nov 09, 2009 8:42 pm
Forum: JFreeChart
Topic: chart for data like ["0", "1", "0", "1", "1", "0".....]
Replies: 4
Views: 4002

Re: chart for data like ["0", "1", "0", "1", "1", "0".....] img

Actually I'm not sure i have explained my self pretty clear. I have attached an image that would explain what i'm looking for. http://img69.imageshack.us/img69/7016/sample.png I cannot use dateAxis as the data i have is nothing to do with time. Any suggestions as to what kind of chart should i go fo...
by vrsarav
Mon Nov 09, 2009 7:44 pm
Forum: JFreeChart
Topic: chart for data like ["0", "1", "0", "1", "1", "0".....]
Replies: 4
Views: 4002

Re: chart for data like ["0", "1", "0", "1", "1", "0".....]

Thanks remiohead. But i'm not sure as to what type of chart should i use and how do i represent Domain axis and Range axis. Because i have only these values of 0s and 1s. I'm not sure what do i plot against? This data is not based on any timeline too. These are just available samples. SO i don't thi...