Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

ajaykakkar93
Contributor

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

Regards & Thanks,
Ajay Kakkar
ajaykakkar93@gmail.com
1 Solution

Accepted Solutions
erik_wetterberg
Honored Contributor

Re: Line Chart Custom Style in Qlik Sense

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

Erik Wetterberg
https://extendingqlik.upper88.com/
4 Replies
erik_wetterberg
Honored Contributor

Re: Line Chart Custom Style in Qlik Sense

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

Erik Wetterberg
https://extendingqlik.upper88.com/
Employee
Employee

Re: Line Chart Custom Style in Qlik Sense

‌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
Contributor

Re: Line Chart Custom Style in Qlik Sense

Hi erik.wetterberg ,

    for this case i am using amChart form Branch

this extension to give two colors in expression for that measure

Regards & Thanks,
Ajay Kakkar
ajaykakkar93@gmail.com
ajaykakkar93
Contributor

Re: Line Chart Custom Style in Qlik Sense

Hi Steve Newman,

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

Regards & Thanks,
Ajay Kakkar
ajaykakkar93@gmail.com
Community Browser