This sample visualizes the summary of user activities in GitLab account such as merge requests, push events and comments across 52 weeks in a year.
In this example, you can see how to display a calendar data using heatmap. You can make the axis labels to display at specific time intervals along the datetime axis using the showLabelOn property.
Tooltip is enabled in this example, to see the tooltip in action, hover a point or tap on a point in touch enabled devices.
Injecting Module
Heatmap component features are segregated into individual feature-wise modules. To use a tooltip, inject the
Tooltip
module using the Heatmap.Inject(Tooltip)
method, and use a legend by injecting
the Legend
module using the Heatmap.Inject(Legend)
method.