This sample visualizes the number of defective product count per 1000 units coming out from a manufacturing unit Data points are enhanced with labels and tooltip. Some data points were not marked with any values which indicates there are no defective products and these data points are termed as empty points.
In this example, you can see how to render empty points in the Heatmap. The empty points or the points with no data
can be marked using null
in the data source. You can also customize the background color of the
empty points by using the emptyPointColor
property in paletteSettings
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.