Search found 14 matches

by prassoon
Mon Aug 11, 2008 11:49 pm
Forum: JFreeChart
Topic: Annotations - placement?
Replies: 1
Views: 2858

depends on what you have on the plot... I have only tried with XYBoxAnnotation and never had problem. What i gave is the bottom left corner and the upper right corner coordinates. In my case it is a date and value combination. Hope that helps!
by prassoon
Sun Jun 29, 2008 6:50 pm
Forum: JFreeChart
Topic: JFreeChart print job size.
Replies: 8
Views: 13004

that make sense, thanks for the info Taqua
by prassoon
Sun Jun 29, 2008 12:06 am
Forum: JFreeChart
Topic: JFreeChart print job size.
Replies: 8
Views: 13004

in my HP LaserJet (color) it takes about 15mb (right click on the chart and print)
I do have an SVG type chart generated out of JFreeChart and that one takes about 10-11mb.
by prassoon
Sat Jun 28, 2008 11:56 pm
Forum: JFreeChart
Topic: Color Ranges in Area Charts
Replies: 4
Views: 4974

jgcabs wrote:Thank you for the guidance. Roughly how long should it take a strong Java developer to implement your suggestion? Experience with JFreeChart is medium level.
3 minutes 47.5 seconds with a half developer (strong) :lol:
by prassoon
Fri Jun 27, 2008 12:41 am
Forum: JFreeChart
Topic: Adding chart into JPanel
Replies: 4
Views: 6049

Try adding like this GroupLayout layout = new GroupLayout(chartPanel); chartPanel.setLayout(layout); layout.setAutocreateGaps(true); layout.setAutocreateContainerGaps(true); layout.setHorizontalGroup((layout.createSequentialGroup()).add(jpanel)); layout.setVerticalGroup(layout.createSequentialGroup(...
by prassoon
Thu Jun 26, 2008 10:29 pm
Forum: JFreeChart
Topic: setEnabled(false)
Replies: 2
Views: 3491

If you want to block the user interaction with the chart I think you can capture the events (ChartPanel.mouseDragged etc) and do whatever you like...
by prassoon
Thu Jun 26, 2008 10:18 pm
Forum: JFreeChart
Topic: Colors for multiple series in TimeSeriesCollection
Replies: 4
Views: 7005

I'm not sure whether I understand you well...but I recently get through some coloring issues... you may check this thread, may be it helps

http://www.jfree.org/phpBB2/viewtopic.p ... ght=#70429
by prassoon
Thu Jun 26, 2008 8:59 pm
Forum: JFreeChart
Topic: Does XYBoxAnnotation tooltip hides other tooltips?
Replies: 5
Views: 5723

I could manage with

Code: Select all

renderer.setBaseToolTipGenerator(null);
by prassoon
Thu Jun 26, 2008 8:46 pm
Forum: JFreeChart
Topic: Does XYBoxAnnotation tooltip hides other tooltips?
Replies: 5
Views: 5723

I think it wouldnt be *impossible* to show both :roll: Now since the PNG shows both tool tips we decided to keep that and to switch off all the tooltips in Applet mode. It would've been nice to have a method to do that in JFreeChart, (switch on/off tooltips) now it seems it can be done only at the t...
by prassoon
Wed Jun 25, 2008 10:24 pm
Forum: JFreeChart
Topic: Does XYBoxAnnotation tooltip hides other tooltips?
Replies: 5
Views: 5723

thanks for the reply david. I dont have a ready-to-run independant example for this, (have to make one). But since only the last one is supposed to show up i will need to switch one off.
by prassoon
Wed Jun 25, 2008 1:14 am
Forum: JFreeChart
Topic: Does XYBoxAnnotation tooltip hides other tooltips?
Replies: 5
Views: 5723

Does XYBoxAnnotation tooltip hides other tooltips?

Hi there I have a timeseries chart with tooltips and on an applet the tooltip works only for those datapoints which are not within XYBoxAnnotation. It doesnt show the annotation tooltip too. I'm using XYLineAndShapeRenderer. On the PNG output annotation tooltips shows but not the tooltip of the data...
by prassoon
Fri Jun 13, 2008 9:05 pm
Forum: JFreeChart
Topic: How to set color of bars in CategoryDataset intact?
Replies: 2
Views: 4487

What i was looking for is how to get the series out of dataset and couldnt find any method for that. Apparently dataset.getRowCount() returns the number of series and dataset.getRowKey(0) will return the name of the series; renderer.setSeriesPaint(row, Paint); that solved the issue without subclassing
by prassoon
Fri Jun 13, 2008 5:14 pm
Forum: JFreeChart
Topic: How to set color of bars in CategoryDataset intact?
Replies: 2
Views: 4487

I found the example code in BarChart3DDemo4.java which works fine with the color in the chart but now the legend is showing different colors. :shock:

do I need to add legend manually?
by prassoon
Fri Jun 13, 2008 1:08 am
Forum: JFreeChart
Topic: How to set color of bars in CategoryDataset intact?
Replies: 2
Views: 4487

How to set color of bars in CategoryDataset intact?

I have searched this forum and got some clues how to do this but still i couldnt make it :roll: . Here is the issue; I'm creating the dataset like this DefaultCategoryDataset dataset = new DefaultCategoryDataset(); dataset.addValue(value, Name, "1 to 2 second bin"); //there will be several bins of v...