Results 1 to 4 of 4
  1. #1
    new2java2009 is offline Member
    Join Date
    Aug 2009
    Posts
    60
    Rep Power
    0

    Default JFreeChart - DialPlot - background image

    I am trying to create a JFreeChart using DialPlot. I am wondering if I can put a custom image (like an JPG file or something) on it's background? If yes, how?
    Thanks!!

  2. #2
    devasis is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default Re: JFreeChart - DialPlot - background image

    i found same problem ...plz any one help........

  3. #3
    Iron Lion is offline Senior Member
    Join Date
    Nov 2010
    Posts
    210
    Rep Power
    4

    Default Re: JFreeChart - DialPlot - background image

    Link to API

    A quick glance suggests that the setBackground() method might be of use, but I won't claim to be familiar with the class.

  4. #4
    devasis is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default Re: JFreeChart - DialPlot - background image

    dialPlot.setBackground(null)
    dialplot.setBackgroundImage(Image Object);

    but after that it also not working
    but if i write System.out.print(dialplot.getBackgroundImge()) then it print the imageobject

    plz any one help.......

Similar Threads

  1. use image for background
    By tony_stark in forum AWT / Swing
    Replies: 1
    Last Post: 05-31-2011, 08:20 PM
  2. [Help] W/ background image
    By gundum584 in forum New To Java
    Replies: 9
    Last Post: 01-10-2011, 05:48 AM
  3. JApplet background image
    By footballHunter in forum New To Java
    Replies: 1
    Last Post: 11-24-2010, 02:46 AM
  4. Background image
    By leiferouis in forum New To Java
    Replies: 9
    Last Post: 03-08-2009, 05:49 PM
  5. Image as background
    By Java.child in forum AWT / Swing
    Replies: 2
    Last Post: 10-02-2008, 11:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •