Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
yipchunyu
Creator
Creator

how to control the calendar heatmap extension

I download the extension via

Calendar Heatmap QlikView Extension (D3CalendarView)

But how I can control the color to present?  More, is it possible e.g. to show only the records in max(year) by default?

1 Reply
t_hylander
Creator
Creator

Old post I know but since I struggled with this myself I thought Id share a workaround on the colors.

There's a file in the Extensions\Objects\D3CalendarView\lib\css-folder, called colorbrewer.css that holds the colors value. The problem was to find wich ones he uses. After a while I figured it out to be those starting with ".RdYlGn".

Then I had to find out how many classes he used, it was 9 levels so all thats left in the file is now

.RdYlGn .q0-9{fill:rgb(215,48,39)}

.RdYlGn .q1-9{fill:rgb(244,109,67)}

.RdYlGn .q2-9{fill:rgb(253,174,97)}

.RdYlGn .q3-9{fill:rgb(254,224,139)}

.RdYlGn .q4-9{fill:rgb(255,255,191)}

.RdYlGn .q5-9{fill:rgb(217,239,139)}

.RdYlGn .q6-9{fill:rgb(166,217,106)}

.RdYlGn .q7-9{fill:rgb(102,189,99)}

.RdYlGn .q8-9{fill:rgb(26,152,80)}

This is the "schema" he uses ColorBrewer: Color Advice for Maps

Now you can change the colors after liking...

Might be some other and better workarounds but this was what I found...might help someone I hope