background « Image « JFreeChart Q&A





1. how to remove image outline and background transparancy    jfree.org

I don't have the answer for the image but to have a background transparent you have to do something like: back_color=new Color(255,255,255,0); /* the 0 means transparency (they call it alpha) it's a figure between 0 and 255 so you can make several levels of transparency */ chart.setBackgroundPaint(back_color); I hope this will help, Angel________________

2. background image size    jfree.org

3. How to set background image as a watermark ?    jfree.org

try { BufferedImage bi = ImageIO.read(new File("abi-watermark.JPG")); plot.setBackgroundAlpha(0.0f); plot.setBackgroundImage(bi); plot.setBackgroundImageAlignment(Align.NORTH_EAST); } catch (IOException e1) { ...

4. Background Image alignment not working    jfree.org

Hi, I'm using a combination of JFreeChart with Cewolf to display various graphs in my webapp. All of the graphs display and I have customised the graphs by using a PostProcessor, but I have one niggling problem that I cannot resolve. The background image (a logo smaller than the plot area) I display on a CategoryPlot always gets stretched to fit, ...

5. Proble setting background image    jfree.org

6. how to maintain a background image original aspect ratio?    jfree.org

Hi, i have to draw a chart with a background, the problem is that the background can vary and every background has its own size, for example a bg is 450x450 pixels, another one is 310x450 pixels. I must maintain the aspect ratio of the image in bg, because it acts like a reference image for the coordinates i display in ...

7. need multiple background images    jfree.org

need multiple background images by mayjune2004 Fri May 07, 2010 6:57 pm Hello, I read the documentation and could not find a way to get done what I need. I searched on "background image" and then on "multiple" in the forum and could not find any existing post on point. I want to use 2 background images on my chart ...

8. Background Image Position    jfree.org

Dear All, I have a company logo which i would like to show on the chart. This works fine but I would like to control the position of the image. I'm showing the legend on the bottom of the chart and I would like the logo to show above the legend and below the plot Is this at all possible? Kind ...