Forum Discussion

SoraiaT's avatar
SoraiaT
Helper I
7 years ago

Conditional Formatting of Bar Chart

Hi,

 

Does anyonw knows how to add conditional formating to bar chart? There are no options on the Format-> Colour or at the collum like on tables.

 

Thanks!

Soraia

16 Replies

    • SoraiaT's avatar
      SoraiaT
      Helper I

      Hi Anonymous Lidia,

       

      I have the latest verson. Download again and that option keeps not showing:

       

      Do you have any idea why?

       

      Thanks  again :)

       

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        SoraiaT,

        When you directly drag two fields to Values section of the column chart, please manually change color for each field.


        If you drag field to Axis and Values to column chart as below, you will have the advanced control option.





        Regards,
        Lydia

    • Anonymous's avatar
      Anonymous
      Not applicable

      My question is that this won't work on a stacked bar chart.
      Your solution only works for single values in the column fields. How to format the colors individually on these?

  • In the Visualizations - Bar - Color select fx button to define a function for conditional formatting.

     

     

  • Hi SoraiaT ,

     

    Apologies for the necro, but I was trying to solve the same problem and came across this thread.

     

    I solved this by moving the chart dimension from Legend into Axis. It appears that you can't conditionally format (nor sort sometimes) charts that use a legend.

     

    I've attached examples of the difference in visual display just by moving the dimension. The chart using Axis is conditionally formatted based on rules.

     

    Hope this helps you and/or anyone else that may stumble across this thread looking for answers.

     

    Pete