Example of Palette Mode in ASP.NET MVC HeatMap Chart Control
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.
Palette Type:
|
|
Enable Smart Legend:
|
|
In this example, you can see how to change the palette type between Fixedopens in a new tab and Gradientopens in a new tab types in Heatmap. The palette type can be defined using the typeopens in a new tab property in paletteSettingsopens in a new tab. Legend is enabled in this example, changing the palette mode the legend type will be automatically switched between gradient legend and fixed type legend.
The tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item on touch-enabled devices.