Qlik Community

Ask a Question

App Development

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

Announcements
April 22, 2PM EST: Learn about GeoOperations in Qlik Sense SaaS READ MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ajaykakkar93
Specialist
Specialist

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

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

View solution in original post

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
Specialist
Author

Hi erik.wetterberg ,

    for this case i am using amChart form Branch

this extension to give two colors in expression for that measure

ajaykakkar93
Specialist
Specialist
Author

Hi Steve Newman,

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