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: 
Manish
Creator
Creator

Adding border to a line chart by creating a custom theme in Qlik Sense

Hi

Could anyone please tell me how can I add a border to a line chart in the Qlik Sense application by creating a custom theme? I checked the properties of  the line chart but couldn't find any option to set a border

 

Labels (1)
1 Solution

Accepted Solutions
Andrea_Spinetti
Former Employee
Former Employee

@Manish sure 😉 Try something like this (always in the CSS file):

.qv-object-linechart {
   border: 3px solid hsl(0, 100%, 50%);
   padding: 5px;
}
 

 

If the issue is solved please mark the answer with Accept as Solution.

View solution in original post

3 Replies
Andrea_Spinetti
Former Employee
Former Employee

Hello @Manish, you can edit the CSS file to customize the charts' external borders adding something like this:

.qv-inner-object {
   border: 3px solid hsl(0, 100%, 50%);
   padding: 5px;
}

Have a look at the attached example 😊 Notice that this will change the border for ALL the visualizations.

If the issue is solved please mark the answer with Accept as Solution.
Manish
Creator
Creator
Author

Hi @Andrea_Spinetti 

Many thanks for your reply. It was really helpful to know this.

Sorry, a quick follow-up question, Is it possible to give a border to one specific chart or one specific chart type (for example A line chart)?

Andrea_Spinetti
Former Employee
Former Employee

@Manish sure 😉 Try something like this (always in the CSS file):

.qv-object-linechart {
   border: 3px solid hsl(0, 100%, 50%);
   padding: 5px;
}
 

 

If the issue is solved please mark the answer with Accept as Solution.