Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Community,
I currently use qlik sense desktop and i face some real estate issues even putting together a few charts on a page.
Also, as i use 'valuelist' approach in many places (in order to give me custom color options for measures), I do not see a legend option in qlik.
Is there any way where i can use simple text and do a custom color using extension?
Or any other tips to create a sort of legend?
Thanks,
Sowmya
Have you seen the options you have using widgets in Sense v3.0?
can u explain more of your question with the example?
Have you seen the options you have using widgets in Sense v3.0?
Harish,
I use valuelist to give in custom dimensions and define my measures accordingly. Say i have employee A and Employee B working hours, i use valuelist('A','B') as dimension and define my measures accordingly.
This helps me define custom colors for the measures(work hours for A and work hours for B) which is not otherwise possible when i need to define my colors by measure and not dimension.
When using this approach i do not see a legend option in qlik sense.
No I haven't. Will look up. Thanks!
Thanks a lot! The widgets are helping me create a custom legend!!
Hi Soumya, It will be really helpful if you can share how you have created the customized legend with extension.
Hi Fariha,
You can watch the video here on how it works.
If you are specifically looking for the code - here you go
This is the HTML part
<ul class="legend">
<li><span class="your legend name"></span> Your legend label here</li>
</ul>
You can do your CSS as you wish. Here's mine
/* basic positioning */
.legend { list-style: none; }
.legend li { float: left; margin-right: 10px; }
.legend span { border: 1px solid #ccc; float: left; width: 12px; height: 12px; margin: 1px; }
/* your colors */
.legend .assets { background-color: rgb(93, 154, 12); }
Once you are done, you should connect this widget to a Qlik dashbiadr and it will begin to appear in the dashboard aftr a refresh
Thank you so much!