Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

paulyeo11
Valued Contributor II

My chart legand not display correctly

Hi All

I have a line chart , the legend label is messy , unable to view it clearly.

Because i only want to display , i add the dimension with below script :-

=if(Match(GROUP_CLASS_,

'G1-GT',

'G3-SL',

'G4-CL',

'G5-RW',

'G2-AP')

, GROUP_CLASS_)

Any idea , how to make it look nice ?

Paul

1 Solution

Accepted Solutions
mdmukramali
Valued Contributor II

Re: My chart legand not display correctly

Dear Yeo,

it seems because of the Dimension content ( Next Line)

use the below format in Dimension:

=if(Match(GROUP_CLASS_,'G1-GT','G3-SL','G4-CL','G5-RW','G2-AP'),GROUP_CLASS_)

or else

add the dimension label name.

278267.PNG

3 Replies
paulyeo11
Valued Contributor II

Re: My chart legand not display correctly

My QVW !

mdmukramali
Valued Contributor II

Re: My chart legand not display correctly

Dear Yeo,

it seems because of the Dimension content ( Next Line)

use the below format in Dimension:

=if(Match(GROUP_CLASS_,'G1-GT','G3-SL','G4-CL','G5-RW','G2-AP'),GROUP_CLASS_)

or else

add the dimension label name.

278267.PNG

paulyeo11
Valued Contributor II

Re: My chart legand not display correctly

THANK YOU , IT WORK FINE

Community Browser