Displaying specified colors on the pie chart rather than default colors

Any ideas on how I can display my own colors on the pie charts rather than displaying default colors?

Hi,
You can specify your own colours by changing the default CSS styles.
Go to the Chart Attributes for the pie chart, and in the CSS section select Yes in the "Use Custom CSS" option. You can now edit the CSS for the chart.
At the bottom of the "Custom CSS, inline" setting, you need to add in two lines for each possible segment of the chart. Something like:
rect.data1{stroke:#FFFFFF;stroke-width:0.5;fill:green;}
path.data1{stroke:#FFFFFF;stroke-width:0.5;fill:green;}
rect.data2{stroke:#FFFFFF;stroke-width:0.5;fill:yellow;}
path.data2{stroke:#FFFFFF;stroke-width:0.5;fill:yellow;}
rect.data3{stroke:#FFFFFF;stroke-width:0.5;fill:red;}
path.data3{stroke:#FFFFFF;stroke-width:0.5;fill:red;}
This will set the colours of the first three segments to green, yellow and red respectively. Add in more rect.datan and path.datan entries until you have accounted for the maximum number of segments that your chart may contain.
Regards
Andy

Similar Messages

  • How to create a static colors to the pie chart based on condition

    Hi,
    I want to create a pie chart like to get the colors based on the values in the label column as defined.
    Is it possible to create such pie chart.

    Tulasi 1243 wrote:
    Hi,
    I want to create a pie chart like to get the colors based on the values in the label column as defined.
    Is it possible to create such pie chart.I don't think so because that will be too dynamic, only thing you need is populate a hidden item on the page with comma delimited list of colors. and use it with the combination of Custom Color scheme and specify the hidden item example. PX_COLORS
    This is what apex help says :
    Enter colors separated by comma, or an item in the application that holds a comma separated list of colors.Set of Custom Colors will be used to change chart colors automatically if you selected Custom option for the Color Scheme.
    For example:
    Comma separated list of colors:#005381,#0D813D,#BB8199
    Item Name:P1_COLORS

  • How to display values inside the Pie chart?

    Hi Expert,
    How to display the values inside the Pie chart, instead of Mouse over values. Can u pls help me to do this one.
    Is it possible can we use mentioned below kind of pie charts in Xcelsius 2008.
    Thanks & Regards,
    Tamil
    Edited by: Rajesh Kumar Thoppe on Dec 13, 2010 10:41 AM

    Hi A G,
    Thank You for quick response!!!
    in this Text tab I am able to see below check box only
    1) Chart Title
    2) Sub Title
    3) Legend
    4) Mouse-Over
    Kindly advise me if i am wrong and let me know how to achieve this.
    Note: We have Xcelsius 2008 environment
    Thanks & Regards,
    Tamil
    Edited by: Rajesh Kumar Thoppe on Dec 13, 2010 1:58 PM

  • Icons for apps are not being displayed when I open the App store, just getting gray color boxes

    Icons for apps are not being displayed when I open the App store, just getting gray color boxes

    Did you update your operating system?  If so, did it solve the problem?  I have not updated my OS because so many people complained that the newer Os's had problems.

  • Is there an about:config option to change FF's default action when closing a tab so that it displays the previous tab rather than the next tab?

    With the new 3.6 tabbing behaviour (new tabs open to the right of the current tab, rather than at the end of the tab list), the old default behaviour when a tab is closed is no longer appropriate. Instead of displaying the next tab after the one that was closed, FF should display the previous one. Is there an about:config option to change the default behaviour upon closing a tab?

    Try one of these:
    *Tabberwocky: https://addons.mozilla.org/firefox/addon/14439
    *Tab Mix Plus: https://addons.mozilla.org/firefox/addon/1122
    *Tab Control: https://addons.mozilla.org/firefox/addon/1480

  • What happened to the "pie chart" on the Activity Monitor? The new version is of no use to me as I do not know what the graft is telling me and there is no manual for it.

    What happened to the "pie chart" on the Activity Monitor?

    It's gone.
    See -> http://support.apple.com/kb/HT5890.
    Clinton

  • Is there a way to show two angles at the same time in the final edit rather than switch between them with Multicam?

    Can I show two angles at the same time in the final edit rather than alternate with Multicam?

    Stack two clips on top of each other and reduce the sizes. I think that's what you want.

  • ITunes is writing new songs to the download folder rather than the Music folder

    I recently added a NAS (Synology) to my home network. The transfer of libraries was simple and fast.
    The problem now though is that when i buy a new song in iTunes it writes it to the download folder rather than music folder with .tmp tag.
    Any ideas how to fix t?

    ILikewindows wrote:
    ... I didn't know I could delete it through iTunes.
    Now that you know, try deleting through iTunes.  If that does not remove the image file, then place the app you mistakenly deleted back in the file folder from your latest backup and try deleting through iTunes again.

  • I recently updated my iPhone 4s to ios6, and lost 1200 odd contacts. I have a backup from about 4-5 months ago avaiable.  Can I add/update contacts from the back up rather than restore which i assume will literally delete any new contacts added...?

    I recently updated my iPhone 4s to ios6, and lost 1200 odd contacts. I recently sold my macbook air and also my mac book pro, so have no recent backups avaiable.  I have a backup from about 4-5 months ago available on an external hdd as a time machine backup.  Can I add/update contacts from the back up rather than restore?  The reason i wish to do this is because in the update i didnt lose any messages, so all of the people i have met and networked with since that last update those many months ago, i have in my messages listings.  They are all unidentified numbers at present but over time i will be able to work through the messages and based on the conversation recall who each was with.  Also, yesterday, some two weeks after the update had left my contacts list entirely empty... a vast majority just reappeard, though all of them are without any phone numbers, all just emails or facebook contacts.  This is the work of facebook not mac/ios6 isnt it...?  Any help here would be greatly apprecaited.  I am about 2 days from flying to canada and having those contacts would make life a lot easier.

    You should be syncing your contacts with an app on your computer or cloud service (iCloud, Gmail, Yahoo, etc), and not relying on a backup.  If you haven't been doing this, start now and then restore your old backup.  You will then be able to sync the new contacts back into the phone.  However, you will lose all messages, etc newer thant the backup.

  • Can i share existing albums of photos from my photo library with friends straight to icloud rather than having to create a new shared folder and then select the individual photos rather than a whole album??

    Ok to clarify -
    1. i want to go into my photos on my iphone 6.
    2. create a new folder in shared folders.
    3. Add an entire album of photos from my photo library rather than having to select individual photos.
    4. Share with friends.
    Surely the reason i have saved certain photos into albums already from my mac means i like the selection already. So i would like to just share the whole album rather than having to select all the individual photos from the album. Ive tried but maybe im being a doofus and missing something??????
    Any help would be most appreciated.
    thank you in advance
    Kris

    This is normal and is how Apple handles photos.
    There are NOT duplicate photos.
    Just as a song is in your itunes library and you can access that exact same song from a playlist,  all  photos synced to iphone are in the photo library and those exact same photos (NOT duplicates) can be accessed from the individual albums.
    It is working exactly as it should.

  • How do I delete multiple emails at the same time rather than individually?

    How do I delete multiple emails at the same time rather than individually?

    My mistake
    I was looking at my KB, even tested my suggestion with the command key, and then wrote option
    Barry

  • Can I install the online version rather than using my dvd? it successfully installed (up to a point) that way, it just wont accept my serial number for some reason. my dvd isnt working properly.

    Can I install the online version rather than using my dvd? it successfully installed (up to a point) that way, it just wont accept my serial number for some reason. my dvd isnt working properly.

    If it gets far enough to reject your serial number, it won't help to download it. It must have installed ok.
    What is the message you get (DON'T tell us the serial number!!)?
    Does it mention a "qualifying product" by any chance?

  • I have 2 ipad2s on one account. can i share the apps purchased rather than having to purchase same app for each.  I am only user.

    I have 2 ipad2s on one apple/itunes account.  can i share the apps purchased rather than purchase the same apps for each ipad2
    . i am only user.

    .... And you can put them on as many iDevices as you own. There is no limit as long as you use the same Apple ID and iTunes account for all of the devices.

  • Is there a way to snap cut/edited portions together on the same track rather than manually having to drag them together?

    Is there a way to snap cut/edited portions together on the same track rather than manually having to drag them together?  To elaborate, if I have a 3 minute track of raw audio and I edit out the middle 30 seconds of it I am left with two tracks with a "30 second" area that has no file.  To join them manually I can click and drag one portion of the audio until I match it with the other section but instead, is there a shortcut or function that I could select that automatically marries up the cut portions of the track, thereby eliminating the 30 second gap?

    Yes: hold the control key while deleting (or select "delete and move" from the Edit menu.)

  • Search results load in the current tab rather than the new tab where the search was started from.

    Steps to reproduce:
    Open a new tab
    Using the search bar (for Google) within the page on the new tab, enter a search query and press enter
    Quickly switch to a different tab
    The search results will load on the different tab rather than the tab where the search was started from

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

Maybe you are looking for