Reputation: 5448
I want to display the 'count' value instead of the date in a calendar
e.g this represents a heatmap of the month of July but instead of the day (1-31) I want to output the number of occurences (count of items)
I am using the package cal-heatmap. I added this property:
subDomainTitleFormat: {
filled: 'count'
},
but it doesn't change the value displayed in the month
Upvotes: 1
Views: 178
Reputation: 84
You have to use it as filled: '{count}' and it will work. 'count' refers to a simple string and not a variable . Check out this edited code
Upvotes: 0