Blazor Pivot Table Example - HeatMap
In this sample, we show you how to visualize the bound data by making the pivot table cells look like a heatmap.
Grand Total |
|---|
Grand Total | No records to display |
The Pivot Table provides custom styles for each cell's display using the cell template. Using the CellTemplate tag in this sample, we are representing the product-specific monthly sales revenue of the goods sold by an online retailer in a year in the form of a heatmap-like appearance. Each pivot table cell was customized by calculating the lowest and highest values via the EnginePopulated event and applying a color scheme based on their range.
More information on the cell template can be found in this documentation section.