Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Color by expression for two different measures in a Combo Chart

Hi,

        I have a combo Chart, with two measures and one dimension.

          Property0101.JPG

        Currently I am using the multicolor option in my visualization, which is there by default (In Property -> Appearance -> Color and Legends).

             Property02.JPG

     And by default my visualization looks as shown below .('Blue' for actual and 'Magenta' for Budget - as how legend showing)

                 Graph1.JPG

                            I need to specify user-defined colors for each measure('Orange' for Actual and 'Blue' for Budget), similar as shown below.

                        Graph2.JPG

           I have seen an option in Colors and legend, Custom color, By expression.

           Please suggest me the expression to achieve my requirement.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi.

     As this capability is not available in line chart, i did an alternative to meet my requirement.

    I did the color code change in the theme files(theme.json) and its working fine.

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Hi.

     As this capability is not available in line chart, i did an alternative to meet my requirement.

    I did the color code change in the theme files(theme.json) and its working fine.