1 Reply Latest reply: Jan 22, 2013 7:54 AM by VC RSS

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

    Tulasi 1243
      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.
        • 1. Re: How to create a static colors to the pie chart based on condition
          VC
          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