1

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)

code playground enter image description here

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

Papouche Guinslyzinho
  • 5,277
  • 14
  • 58
  • 101

1 Answers1

0

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

user1609429
  • 84
  • 1
  • 7