background « Plot « JFreeChart Q&A





1. Howto: Draw custom background in a plot?    jfree.org

My current way of drawing a night/day shading of a chart displaying a timeserie involves me examining the plot after initial rendering and then building a matching BufferedImage to set as the background. However, this is slow and there are issues (e.g. when the user zooms) so I was wondering what the easiest path is to incorporating my custom drawing at ...

2. XYPlot with zoomable background    jfree.org

XYPlot with zoomable background by derDoc Fri Jun 23, 2006 6:25 pm Folks, in my project I needed an XYPlot that draws its data in relation to the background Image, i.e. it has to zoom the background with the data. In my case it was a worldmap with some data points rendered on it by a bubble renderer and my ...

5. combinedDomainXYPlot and background color    jfree.org

is there any way to change the background color of CombinedDomainXYPlot? make sure this is plot's background color and not main background. if you right click on one of the subplots in combinedDomainXYPlot, then go to Plot--> Appearance. select the background color, change to any thing other than default, it does not change on chart. is there any way i can ...

6. Meterplot and background color    jfree.org

Dear all, First of all congratulations for this really nice tool that is JFreeChart ! It's really brilliant ! I have a question concerning the MeterPlot chart. I would like to change the default grey background color, but I can't find how to do it. I tried to change use setDialBackgroundPaint and setDialOutlinePaint methods to specify another color (Color.white) but nothing ...

7. XYPlot with Zoomable Chart Background    jfree.org

XYPlot with Zoomable Chart Background by roccomaglio Thu May 01, 2008 7:16 pm I extended XYPlot to support a zoomable chart background. This allows jFreechart to act as a simple GIS if you add a picture of the world in a mecator projection as the background. There are some issues with it. The getDataRange(yAxis) does not appear to return the ...

8. Changing background color for a portion of the plot    jfree.org

Changing background color for a portion of the plot by avanidhar Mon Nov 10, 2008 8:52 pm Hi All, I am using JFreeChart for a medical analysis toolkit and need to select a region to do some manipulations. Once i select it, I need to set the background color of the region to do something else ( this is plainly ...





10. How to create XYPlot with alternate background    jfree.org

Hello. I'm new to JFreeChart, so, may be my question is little bit stupid. I have graphic that uses XYPlot for displaying stock-exchange information. So, i have values and dates axises. And now i need to add something like that CategoryPlot produces -> every even year must be on white background, and every odd - on the gray. How do i ...

11. XYPlot Background Color    jfree.org

Hi, I am unable to set the background color to an XYPlot. I am using plot.setBackgroundPaint(Color.white), and I still get a gray background. (I have tried various colors). If I plot.setBackgroundPaint(null), the background becomes white, but then I do not get the gridlines. Is there something else I need to do? I have also tried modifying the demo XYShapeRendererDemo1.java to add ...

12. plot background change 8 to 13    jfree.org

I updated some of my software and included the newest JFreeChart library (from 8 to 13). Now the plots have that hideous excel-like gray background! I suppose I need to do this to make it go back to the right way: plotX.setBackgroundPaint(Color.white); plotX.setRangeGridlinePaint(Color.black); plotX.setDomainGridlinePaint(Color.black); for each place my plots that are plotted, but I cannot believe such a LARGE change was ...

13. JFreeChart background areas around plot are black when printed via Firefox    forums.oracle.com

I have jfreecharts which are displayed in HTML and can be printed via the browser's print button. The problem is in Mozilla Firefox, when a pie chart is printed, the key area below the chart plot prints with a black background which completely hides the key font. Similarly for bar charts, the x and y axis detail can't be seen in ...