Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Srinivas
Contributor

We need multiple colors in Bar chart

Hi folks,

I have one query in bar chart, In my chart i have two dimensions and one expression then chart shows same colors as like below screen shot but here i want to see all are different colors, if we take one dimension and one expression & check the multicolored box then showing perfect but when i am taking two dimension and one expression then i am facing this issue.

Could you please anyone help on this issue.

Advance Thanks,

Munna

Thanks,
Srinivas
5 Replies
amit_saini
Honored Contributor III

Re: We need multiple colors in Bar chart

balkumarchandel
Valued Contributor II

Re: We need multiple colors in Bar chart

in color tab check multicolored box

Srinivas
Contributor

Re: We need multiple colors in Bar chart

Hi Balkumar,

See below screen shot in that chart i have two dimensions and one expression, In this moment colors tab under multicolored box is disable so that we couldn't get multiple colors, Please help me any other idea.

Regards,

Munna

Thanks,
Srinivas
balkumarchandel
Valued Contributor II

Re: We need multiple colors in Bar chart

Is your second dimension have values ??

can you just post screen shot of your chart

Employee
Employee

Re: We need multiple colors in Bar chart

With 2 dimensions the value in the second dimension sets the color of each bar, in your example the second dimension value is the same for all the bars.

You can work around this by using the "Background Color" subexpression set to something like "Color(FieldIndex('FirstDim',FirstDim))", but that would make the chart very confusing when you actually have multiple values in the second dimension.