This sample visualizes the energy consumption in trillion British thermal units (btu) by the various public sectors in US government over the years. The data label is disabled in this sample, the tooltip displays the data point values. In property panel, the options are available to change palette type in Heatmap by means of radio button.
In this example, you can see how to change the palette type between
types in Heatmap. The palette type can be defined using the
type property in
paletteSettings . Legend is enabled in this example, changing the palette mode the legend type will be
automatically switched between gradient legend and list type legend.
Tooltip is enabled in this example, to see the tooltip in action, hover a point or tap on a point in touch enabled devices.
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
Legend module using the