+ Reply to Thread
Results 1 to 2 of 2

Dynamic pie chart coloring

  1. #1
    David
    Guest

    Dynamic pie chart coloring

    Hello,

    I have a 2 cells which displays percent values ( for example 85% , 15%).
    I want to display just one value in pie chart.
    I create a pie chart based on these 2 values and hide one slice.

    I want to change the visible slice color according to condition
    but keep the hidden slice unvisible.

    How can I do it ?

    Thank you for your help
    Daid






  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    David,

    I take it that your original question regarding hiding the 15% was answered, although I saw no response from you.

    You do not state what the condition for colour might be, if it is a cell content then, without resorting to VB Code you can set the chart to be from a number of cells, that number being the colours you need +1

    Set the last cell to be the 15% as =100%-sum(other cells) (as suggested in my reply to your previous post, and as demonstrated in my chart in that reply)

    Set the other cells so that only one contains 85%

    In the chart, in the Format Data Point for each slice set the required colour.



    Quote Originally Posted by David
    Hello,

    I have a 2 cells which displays percent values ( for example 85% , 15%).
    I want to display just one value in pie chart.
    I create a pie chart based on these 2 values and hide one slice.

    I want to change the visible slice color according to condition
    but keep the hidden slice unvisible.

    How can I do it ?

    Thank you for your help
    Daid

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1