JFreeChart Help:  Creating a Gradient Background for a CategoryPlot

I need a Gradient Background for my CategoryPlot Object and am having problems figuring out the best approach.
Does anyone have any suggestions on the best way to approach this problem?
Any help would be appreciated.

        BarRenderer barrenderer = (BarRenderer)categoryplot.getRenderer();
        barrenderer.setDrawBarOutline(false);
        GradientPaint gradientpaint = new GradientPaint(0.0F, 0.0F, Color.blue, 0.0F, 0.0F, new Color(0, 0, 64));
        GradientPaint gradientpaint1 = new GradientPaint(0.0F, 0.0F, Color.green, 0.0F, 0.0F, new Color(0, 64, 0));
        barrenderer.setSeriesPaint(0, gradientpaint);
        barrenderer.setSeriesPaint(1, gradientpaint1);

Similar Messages

  • How to create a transport background for an applet ?

    HI can any one tell me the solution for this ...
    How to create a transport background for an applet ?
    please help
    -seenu_ch

    what does it mean to have a transparent background to an applet? transparent means you can "look through" it.
    What do you want to "look thorough" an applet.
    Sorry, I am still not understanding :(
    Please let me know what this means.
    regards,
    Sangeetha

  • I am getting ready to sell a Mac app and I want to know what the specs are to create a custom background for my Mac App?

    I am getting ready to sell a Mac app and I want to know what the specs are to create a custom background for my Mac App?
    Here is a good example of what I am talking about: https://docs.google.com/file/d/0B28kNqQ8gmifRjRHam9wVnlrWG8/edit?usp=sharing

    You need to post your question in the Apple Developer Forums

  • Help with exporting gradient background as jpg

    Hi there! I'm totally new to this forum & very new to
    fireworks, so go easy on me!
    I am designing for QVGA smartphone/PPc screens & find
    that when I create a gradient in fireworks MX (version 6) &
    then export it as a jpg, on the phone/PPC screen the gradient is
    filled with big blocks of colour rather than smooth transitions
    between them, making the overall effect more like lines or blacks
    of colour than a smooth gradient. I am exporting the jpgs at the
    highest quality settings (100%).
    Can someone help? Is it just my lack of technique when
    blending colours? If so is there a tutorial somewhere? Or can I
    export in a different format? The screens I design are controlled
    by an xml layout file, & will accept .jpg, .gif & .bmp
    Thanks!

    Yes, as I mentioned earlier in this thread, the bit depth
    could be the
    issue. Try setting your monitor to 16 bit and experiment with
    gradients
    at that bit depth. Keep the color range and the tonal range
    less extreme
    (light blue to dark blue for example, rather than white to
    dark blue)
    similar an you might be able to get something a little more
    pleasing.
    Jim Babbage - .:CMX:. & .:ACE:.
    Extending Knowledge, Daily
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    news://forums.macromedia.com/macromedia.fireworks
    news://forums.macromedia.com/macromedia.dreamweaverdrblow
    wrote:
    > Thanks again for the replies y'all!
    >
    > As far as I can gather from web sources, the PPI of my
    smartphone QVGA screen
    > is 96ppi. Setting the canvas PPI does not seem to affect
    the quality of either
    > jpg, gif or bmp formats on export, once they are on my
    phone screen. It would
    > appear form web sources that the phone screen displays
    16 bit colour depth.
    >
    > I have tried to make the gradient as smooth as possible
    & on my laptop screen
    > it looks really good. Any more suggestions?
    >
    > Thanks.
    >

  • Help creating struct in c for jni

    Hi. I want to create a c-struct whose values are assigned by getting fields from java using jni.
    For example,
    in java: I have some variables, such as:
    string a;
    byte[] b;
    someClass s; // this is another class who has its own variables
    Now, I am able to get the values for each variable; however, I want to return those values to my functions so I can manipulate them. So, I need to create a c-struct for those vars. I can create a struct that will have a variable for string a as char *s.  Though, I am not sure how to assign or use byte in c so I can assign the value for byte array.  Finally, I wonder how you can include another class's variables in c-struct ( i.e., someClass s)
    Please help on this issue. Thanks in advance.

    Never mind....

  • Digital Publishing Suite Help | Creating custom viewer apps for the iPad and iPhone

    This question was posted in response to the following article: http://helpx.adobe.com/digital-publishing-suite/help/create-custom-viewer-app-ipad.html

    The Approval Status section is no longer in DPS App Builder, but this reference wasn't removed. You can submit your app to the gallery using this form:
    https://adobeformscentral.com/?f=ozjJFvlBionBofBtd-wjbQ#

  • Help creating this gradient pattern

    I'm kinda stumped. Basically I need to create a gradient pattern going from inside (green) to outside (brown) with a small white and yellow step in between. The problem I am having is that I need to follow the pattern of the logo in the middle, but end up with a rectangle on the outside and it needs to be a fluid transition between the colors, kinda like this:
    Any advice on how I can get what I am trying to achieve?
    Using C3.

    Userbak,
    Blends like matching Anchor Points.
    Presuming the logo pattern has 10 Anchor Points, namely 4 corner ones, 2 top/bottom ones, and 4 at the transition between circular and rectangular parts, you may add 3 matching Anchor Points to each of the horizontal sides of the rectangle, a) one in the middle and b) one on either side; you may move the b) Anchor Points to different (symmetrical) positions, maybe even to coincide with the corner Anchor Points. That may remove the choppiness as much as is possible.
    To have one or more colours in between, you may create a stepwise blend with stroke/no fill paths, expand, and create the final blend from that.

  • Creating a looping background for simple game

    hello
    I have been trying to create a simple looping background of a
    road - so a car will be placed on top and give the ilusion it is
    moving on it...
    The problem is: I was able to follow the instructions from
    http://www.jimmcneill.com/loopdemo2.html
    and it works fine, however, it only works as seen on the link if I
    publish to HTML... but I need to do the same and publish in
    Flash...
    What am I missing ?
    I am quite new to Flash, so I apologize if the question is
    silly...
    I have been struggling to make it work for a few days now and
    don't seem to find useful info on this problem anywhere...
    Any help is REALLY appreciated !
    Ariane

    yes, if I follow the instructions on the site I mentioned and
    then go to File > publish preview > html, it works as shown
    in the website...
    however, if i go to file > publish preview > flash, it
    does not...
    the animation is choppy and not continuous..
    does it make sense ?
    i was hoping it was just a matter of changing a setting...
    I also found another tutorial -
    http://www.actionscript.org/resources/articles/21/1/Continuously-Looping-Background/Page1. html
    but I think the version is different - the Goto Play is not
    the same in MX2004 ?
    Thanks much for your help !
    Ariane

  • Slicing a complex gradient background for web?

    Hi,
    I have designed a website in photoshop, but the background has a radial gradient on it in the middle which also has a pattern on it.
    The background also has some text on it in a non standard font for the browser.
    So, how can I slice this or manually use the background in a web page? I usually take a 1px wide slice and repeat this on the browsers background.
    However, this cannot be done as the gradient would be lost.
    If I take it as a whole image then this would be a large file for the browser to download and it wouldn't display correctly on different screen resolutions.
    Any advice would be great!
    Thanks,
    Nick

    Slicing wouldn't help. The total amount of bytes would be the same or higher.
    Since a radial gradient with text has no repeating pattern it has to be used as it is.
    If the content of your site is absolut fantastic, the visitors will stand the time for loading.
    Thereafter the image will be in the visitor's cache and load faster.
    :-) miss_marple

  • Help creating a boot disk for ailing powerbook (and journalist!)

    Hello, I'm a journalist with a desperate need to recover my Mac.
    My Powerbook G4 (operating 10.4.8 I believe) was working fine until I did the latest suggested Mac software upgrade of Safari. Immediately Safari stopped responding hanging up or quitting. So I tried the next recommended update, thinking perhaps the two went together: Security 2008-009 I believe. It required a restart, which I did. (Note: I didn't do the recommended Java or Quicktime update at the same time because I'm currently working in Sierra Leone with terribly slow internet and figured I'd get to it later).
    Now, however, the computer won't boot up. I hear the tone, I get the gray screen with the apple, I get the blue screen, I get the opening OS X screen and the blue progress bar, which then quits early on. Then I get a blue screen of alternating hues, which continues infinitely.
    I tried all the Apple and web-suggested fixes. I cannot enter safe mode and can only perform functions with the single user mode. I've tried fsck and it said my HD is fine. The problem, I suspect, would be easy enough to fix if I could just reinstall OS X with my CD. However I am currently 7000 miles from home and CD, and in desperate need of my laptop in order to continue my volunteer work.
    I do have access to a friend's MacBook Pro 10.4.9 and the internet. I have downloaded Carbon Copy Cloner... however I don't know which files I need to copy in order to create a boot disk. Nor do I know how to create a boot disk to actually put into my computer. I have also been scared by the CCC literature that says I need to erase the target volume... which in this case is my external hard drive containing all of our video footage from the last 8 months!
    I use my computer every day, however I am a newbie at using things like Terminal and higher order functions that these occasions seem to require. CCC's Help manual, for me, might as well have been written in hieroglyphs (which, come to think of it, would have been easier as I seem to understand pictures well enough).
    I would be eternally grateful for any simple or step-by-step advice which might help me get back to work. I'm training African journalists, and without my computer to edit, we cannot do a thing!
    Thanks,
    Kim

    Here's some trouble shooting methods that I've copied from Apple KB articles:
    Resetting PRAM and NVRAM
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time. Release the keys.
    If zapping the PRAM doesn't work, try resetting the PMU.
    Warning: Resetting the power manager also resets date and time settings. Performing a PMU reset returns the iBook and PowerBook hardware, including NVRAM, to default settings and forces the computer to shut down.
    PowerBook G4 (DVI) and PowerBook G4 (1 GHz/867 MHz)
    If the computer is on, turn it off.
    Disengage the two keyboard latches located between the Esc and F1 keys, and the F11 and
    F12 keys. (You may also need to disengage the keyboard locking screw located between the
    F5 and F6 keys.)
    Lift the keyboard. To ensure no harmful static electricity is transferred to the computer,
    properly ground yourself before performing this procedure.
    Press and release the reset button located on the upper right side of the logic board near the power button, shown here. Wait 5 seconds.
    Press the power button to restart the computer.
    PowerBook G4 and PowerBook G4 (Gigabit Ethernet)
    If the computer is on, turn it off.
    Press and release the reset button located on the rear panel of the computer between the
    external video and modem ports. Wait 5 seconds.
    Press the Power button to restart the computer.
    HTH!

  • Help creating an animated gif for a navbar!!

    Hey guys, I am very new to fireworks and dreamweave and am having a problem that is making my head spin! I have to create a simple animated .gif for a navigation bar (which will be made in dreamweaver). The navigation bar should function similar to this: http://www.eden.rutgers.edu/~baronson/ITI320/Exercise2/functionality.html. Essentially, all that is happening is I create this animated image and in dreamweaver, when I create the AP NavBar, I set the mouseover to that image. My problem is that in comparison to this website's mouseover image  ( http://www.eden.rutgers.edu/~baronson/ITI320/Exercise2/images/navi/audience_OVER.gif ) my animated gif has multiple layers and states, where as his only has one layer. I can't seem to figure out how to include both the text, and the gif image, and incorporate them under the same layer.
    A follow up question after having found how to incorporate both into the same state, would I have to lasso out each piece of my animated gif for the individual state I want to have it applied to?
    Any help/pointer to where the information can be found would be greatly appreciated. I've read through the manuals and watched many of Babbage's videos but haven't been able to figure this out. Thanks!

    Your gif doesn't need to have multiple layers, but it does need to have multiple states. To save yourself a lot of confusion, create the animated gifs first, and then export them. Create your navbar in the usual way, with simple rolloveres or swap images. Export the navbar.Rename the animated gifs with the names of the over state of the navbar images, and then delete (or mone to another folder) the over state images of the navbar. Move the renamed gif animations into the image folder of the navbar. Preview in browser. The animated gifs should have replaced the original over state of the buttons.

  • Help create systemd .service file for Teeworlds server

    Hi there.
    I maintain one package the provide server for the game Teeworlds (teeworlds-zcatch in AUR). I'd like to have a ".service" file to be able to run the server in background, maybe even in startup, and saving the log (it send some stuff to stdout that could be nice to keep). However I don't know how to make a ".service" script. Could somene create a script or point me out to informations about it?
    Thanks in advance

    Hi.
    https://bbs.archlinux.org/viewtopic.php … 9#p1363959
    There I explain a little a .service that I'm using. Maybe it be useful.
    And in this wikipage there are several examples
    https://wiki.archlinux.org/index.php/Systemd/Services

  • Creating a gradient background in the 'Dark room' template

    Hi All, having finished my website using the 'Dark room' template, everyone has told me that the background is too heavy.I have tried putting a much lighter gradient fill in instead but it won't go into the main body of the page. I was told at the Apple Mac store that it's probably a design fault, but I didn't have much confidence in them. Can ANYONE HELP PLEASE, as otherwise I've got to start from scratch so they tell me.

    Not in the template.
    It's an image with the IMG element. Remove the image from the folder and you will see a border.
    The only way to remove the image visibly from the page is to replace the spotlight image by an image with the same background as the page.
    You do so in the folder of your page.

  • Need help getting all white background for jewelry pics and resizing help for my website

    Can someone please help me?  I'm completely new to photoshop and I have elements 12 and I need to make the background all white for my jewelry photos.  I have googled instructions but a lot of my jewelry has chain in it so it's hard to select, erase etc.  I have no idea what I'm doing.  I also need to resize my photos to 400x400 but when I do they distort.  Someone told me I can collect the background color and then resize the canvas but again I'm a complete newbie and none of this makes any sense to me.
    Thank you

    no worries.
    you mentioned that you have tried a number of driver packs, to no avail.
    can you confirm if you've tried this: http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS012809
    ThinkPad 2x2 11a/b/g/n Wireless LAN PCI Express Half Mini Card Adapter for Windows 7 (32-bit, 64-bit), Vista (32-bit, 64-bit) and XP
    found in the X120e driver matrix, here: http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&DocID=HT072377
    cheers.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • Creating a gradient Background

    Hi,
    I would like to choose a light pink color (color really doesn't matter, I'm just choosing this color) at the top of my background and have a gradient vertically finishing as white. (Really blocking the light pink)
    This would be the background of my page so that the web-site will stand out a little bit.
    Can someone help?
    Thanks
    Steve

    Thank you. Your suggestion and the previous one were the same and very helpful
    Thanks
    Steve

Maybe you are looking for

  • How can I get rid of white bar at top of desktop? MacBook Pro 10.5.8

    Hello, There is a 4" blank (or white) bar at the top RIGHT of my desktop, to the left of the Spotlight magnifier icon. The bar blanks out all of these drop-downs:  Open Time Machine Preferences, Detect Displays/Display Preferences, Open Bluetooth Pre

  • 10.1.2.0.2 portal page not opening

    Hi, I have already 10.1.2.0.0 Infra on one m/c1 and installed 10.1.2.0.2 middletier on other m/c2 and using OID from m/c1. Installation was successful, but portal page is not opening, any ideas. Thanks in advance Mak

  • Name of database connected to this application server

    dears , i have Oracle Application Server 10g (10.1.2.0.2) i want to get database UNIQUE_name that is connect to this application server !!! i run this command SELECT sys_context('USERENV', 'DB_UNIQUE_NAME') FROM dual; it gave me name of application s

  • Is It Possible To Use NI cFP-CTR-50​2 as Quad Encoder?

    Instead of going the route of using a Quad Encoder (which requires additional cost and work to install for a project), I was wondering whether is it possible to configure the cFP-CTR-502 to count directionally using a Digital Input for direction and

  • Audit Vault Server Installation

    Hi, I downloaded Audit Vault setup for Linux -- for Linux x86-64 I have Oracle prebuilt VM. When I invoke ./runInstaller , it fails with error message " ./runInstaller: line 205: /usr/share/server.linux.x64/av/Disk1/install/.oui: cannot execute binar