Search found 15 matches

by juhi
Tue Aug 10, 2004 8:45 pm
Forum: JFreeChart
Topic: org.jfree.demo.DrawStringDemo
Replies: 4
Views: 5392

Code error in DrawStringPanel.java (JCommon demo section)

Hi David, thanks for the source code1 I was able to see it. There is an error (maybe typo) in DrawStringPanel.java (line 180). existing code (wrong)- TextUtilities.drawAlignedString(...) correct code- RefineryUtilities.drawAlignedString(...) I wasn't sure where to report this, so decided to mention ...
by juhi
Mon Aug 09, 2004 9:06 pm
Forum: JFreeChart
Topic: org.jfree.demo.DrawStringDemo
Replies: 4
Views: 5392

org.jfree.demo.DrawStringDemo

hi, I have purchased the documentation for JFreeChart. In that it mentions about this demo DrawStringDemo being part of the JCommon distribution. But I couldn't find the "demo" folder anywhere in the jcommon distribution? Can anyone please tell me where to find it? I really need desperately! thanks,...
by juhi
Tue Aug 03, 2004 12:39 am
Forum: JFreeChart
Topic: category labels are huge - chart window size reduces
Replies: 0
Views: 1735

category labels are huge - chart window size reduces

Hi David, I'm plotting a scatter plot that has huge names for one axis (I'm using symbolic axes). As a result, the chart window decreases in size and looks compressed. Even if I try increasing the size of the panel and frame it does not help. any idea how I can make the chart window a normal size? I...
by juhi
Fri Jul 30, 2004 5:48 pm
Forum: JFreeChart
Topic: Scatter plot with x-axis having String labels
Replies: 2
Views: 2876

Hi David, Thanks for replying! I checked out those charts. It looks like the x-values are the actual data that needs to be plotted, and y-values are like 0,1,2,etc. based on the number of items (or symbols in my case) need to be plotted. Is that right? Also wanted to know that if my symbol names are...
by juhi
Fri Jul 30, 2004 2:15 am
Forum: JFreeChart
Topic: Scatter plot with x-axis having String labels
Replies: 2
Views: 2876

Scatter plot with x-axis having String labels

Hi,
Is it possible to have a scatter plot with x-axis showing string labels and y-axis as numeric data? For eg;, if i want a scatter plot for the following data -

X,Y
----
A,1
A,2
B,4
B,3
B,5
C,6
C,9

I think the TableXYDataset does something like having the same x-values right?

thanks,
Juhi
by juhi
Wed Jul 28, 2004 5:37 pm
Forum: JFreeChart
Topic: JFreeChart Developer Guide (0.9.20)
Replies: 8
Views: 11694

Hi David, thanks for that advice. the flag for allowing duplicates if set to false will take care of the duplicate values in XY-plots right? I was also asking if there was some way by which I could have a graph showing a grid with different cells colored differently based on some parameters. If I ne...
by juhi
Mon Jul 26, 2004 7:26 pm
Forum: JFreeChart
Topic: Shmoo plot ?
Replies: 0
Views: 1856

Shmoo plot ?

Hi, Does anyone know how I can use the JFree classes to plot something like a Shmoo plot? Basically I need to have a graph that shows different cells in the grid colored and with some code (described in the legend). something like a broken bar chart - each cell of the bar has some value - like the w...
by juhi
Mon Jul 26, 2004 6:25 pm
Forum: JFreeChart
Topic: sun.dc.pr.PRException: endPath: bad path - any solution?
Replies: 3
Views: 5316

sun.dc.pr.PRException: endPath: bad path - any solution?

Hi, I checked the forum and did find a thread on thiss, but that was an old one. As I'm having this problem for the same reason - large amount of data having the same value to be shown - is there some solution to this apart from getting the JVM 5.0+? i don't or rather can't update the JVM at this po...
by juhi
Fri Jul 23, 2004 10:21 pm
Forum: JFreeChart
Topic: Saving JFree charts
Replies: 2
Views: 5627

Saving JFree charts

Hi David, I've seen that the charts can be saved as .png files and this happens really great with good precision. the developer's guide has a section that talks about saving images to pdf documents. Is it possible to save the image directly into another application such as MS Word, Power Point, Exce...
by juhi
Fri Jul 23, 2004 1:50 am
Forum: JFreeChart
Topic: Histogram is coming wrong + urgent
Replies: 7
Views: 8622

here is the fix, go line 117 in the HistogramDataset class and find for (int i = 0; i < bins.length; i++) { HistogramBin bin = new HistogramBin(tmp, tmp + binWidth); tmp = tmp + binWidth; bins = bin; } replace it by for (int i = 0; i < bins.length; i++) { HistogramBin bin = null; // make sure bins[...
by juhi
Thu Jul 22, 2004 11:38 pm
Forum: JFreeChart
Topic: JFreeChart Developer Guide (0.9.20)
Replies: 8
Views: 11694

Re - Duplicate values

Hi David, Thanks for that update! I had a question regarding duplicate values which I have not been able to understand. I'm using the XYSeries to create an XYPlot. by using the default constructor, it allows duplicate values. But in my plot I can see only 1 point corresponding to that (x,y) pair. Th...
by juhi
Wed Jul 21, 2004 5:58 pm
Forum: JFreeChart
Topic: JFreeChart Developer Guide (0.9.20)
Replies: 8
Views: 11694

Re Developer Guide

Hi David, I've purchased the Developer Guide as it said that it would help in understanding how to create datasets. however, I haven't been able to find any section in it that really explains how to go about doing so. It just explains the classes and what they are used for. Is there some particular ...
by juhi
Mon Jul 19, 2004 7:08 pm
Forum: JFreeChart
Topic: Histogram using JFreeChart
Replies: 0
Views: 1925

Histogram using JFreeChart

Hi, I'm trying to draw a histogram from some tabular data that I have. I'm fairly new to using the JFreeChart library, so can someone please give me some pointers regarding how I can draw a histogram based on some data that I have? For example if my data is like this - 10, 12, 10, 12, 11, 13, 10, 11...
by juhi
Wed Jul 14, 2004 8:18 pm
Forum: JFreeChart
Topic: JFreeCharts as JInternalFrame
Replies: 1
Views: 2325

JFreeCharts as JInternalFrame

Hi, The existing ChartFrame class extends JFrame, so every new chart created opens as a separate frame. If I want all the charts to be contained whithin the same parentframe, then wouldn't the ChartFrame class extend JInternalFrame instead of JFrame? So, any ideas on how I could implement this? than...
by juhi
Wed Jul 14, 2004 7:36 pm
Forum: JFreeChart
Topic: JfreeChart v0.9.20 differnt from 0.9.18?
Replies: 1
Views: 2518

JfreeChart v0.9.20 differnt from 0.9.18?

Hi,

I had installed 0.9.18 earlier and started my project using that. where can i find a list of differences between 0.9.18 and 0.9.20 for JFreeChart? Also, for 0.9.18, it came with JCommon 0.9.3. Is this the same for 0.9.20? Clarifying this will really be appreciated.

thanks,
Juhi.