Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
ajaykakkar93
Specialist III
Specialist III

Line Chart Custom Style in Qlik Sense

Hi Guys,

    I need create a line chart, but the line has two color light and dark ,dark color will be a regular line & light line will be datted/dashed.

          1) Can we do this in qlik sense stock line chart?

          2) Is there any alternative related to this in qlik sense 3.2 , if we have something what are the pros and cons?

linechart_style.PNG

This line chart can have multiple measures with multiple colored lines and color & dashed expression can be different for every measure

erik.wetterberg

Qlik Sense - Integration, Extensions and APIs

Dashed Lines In Qlik Sense

@MichaelTarallo

bpx

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

1 Solution

Accepted Solutions
ErikWetterberg

Hi Ajay,

I don't think you can do this with the built-in line chart, but there are probably people in the community that knows this better than me, so I might be wrong.

Erik Wetterberg

View solution in original post

4 Replies
ErikWetterberg

Hi Ajay,

I don't think you can do this with the built-in line chart, but there are probably people in the community that knows this better than me, so I might be wrong.

Erik Wetterberg

SteveNewman
Employee
Employee

‌Create the chart with two measures.

Measure 1: using set analysis, provide your definition of the first line (solid). For example, Date <=today().

Measure 2: same measure definition as Measure 1, change set analysis to be something like Date >= today().

Just make sure that they “overlap” a single date so that the line is continous. Make sure that you suppress the option to show null values on the chart.

ajaykakkar93
Specialist III
Specialist III
Author

Hi erik.wetterberg ,

    for this case i am using amChart form Branch

this extension to give two colors in expression for that measure

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

ajaykakkar93
Specialist III
Specialist III
Author

Hi Steve Newman,

     i have not used your way i'll surely try your way too, thanks for the advice Steve & erik

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting