Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
rajveersinghsisodiya
Contributor III
Contributor III

Line chart can have diffrent style of representation..!!

hi all,

i am using line chart with two dimensions first one is week and other is calculated dimension and one expression.

line chart has diffrent 10 to 15 lines based on calculated dimension,

Each line has diffrent color,but i need diffrent color with diffrent style for each line displayed.

Capture.PNG

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

The are only four different line styles possible. You can change the line style by clicking on the + in front of the expression, select Line Style and enter '<S1>' as expression. S1, S2, S3 and S4 are valid line styles. You can also change the thickness of the line with <W1> through <W8>.

If you want to make the line style depend on the dimension value you'll need something like

'<S' & FieldIndex('MyDimension', MyDimension) & '>'


talk is cheap, supply exceeds demand

View solution in original post

10 Replies
vijay_iitkgp
Partner - Specialist
Partner - Specialist

Hi Rajveer,

What do you mean my different style? You can check  Symbol checkbox in Expression tab and also change style of line from normal to Smooth or anything else as given in dropdown.

avinashelite

Hi Rajveer,

Go to chart properties>style     and choose the style you want.

If your looking for a specific style please provide the snapshot

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

The are only four different line styles possible. You can change the line style by clicking on the + in front of the expression, select Line Style and enter '<S1>' as expression. S1, S2, S3 and S4 are valid line styles. You can also change the thickness of the line with <W1> through <W8>.

If you want to make the line style depend on the dimension value you'll need something like

'<S' & FieldIndex('MyDimension', MyDimension) & '>'


talk is cheap, supply exceeds demand
rajveersinghsisodiya
Contributor III
Contributor III
Author

hi Gysbert Wassenaar   thans for reply but in my chart only one line coming from expression and other lines are coming directly from calculated dimension so where i can write above mentioned expression for line style.

rajveersinghsisodiya
Contributor III
Contributor III
Author

this is the scenario :-

calculated dimension is

1. week

2. if(simtype='HIST', simtype, oreder count)

and the expression is:-

avg(ltsd);

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Please show me how you manage to present one line from an expression and other lines from calculated dimensions in the same chart.


talk is cheap, supply exceeds demand
rajveersinghsisodiya
Contributor III
Contributor III
Author

please see this chart Capture.PNG

rajveersinghsisodiya
Contributor III
Contributor III
Author

i am new to qlikview so not able to write technical words but may be you can understand by that graph and the dimensions and the expresion provided.

Anonymous
Not applicable

Rajveer

Maybe you need to go back to first principle and think about  :

  • Why you have been asked to present the data ?
  • What insights are people hoping to gain from it ?

10+ lines on a single chart is never going to be easy for a human brain to visualise, in fact for me looking at your images I find it impossible.

You may find it better to use a different visualization.