Repository navigation
Expand file tree
/
Copy pathlarge-data.html
More file actions
32 lines (31 loc) · 1.59 KB
/
Copy pathlarge-data.html
File metadata and controls
32 lines (31 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<div class="control-section">
<div id="container" align="center"> </div>
</div>
<div id="action-description">
<p>
This sample visualizes the annual traffic report of an airport with the number of flight arrivals in a year.
The data label is disabled in this sample, the tooltip displays the data point values.
</p>
</div>
<div id="description">
<p>
In this example, you can see how to switch the Heatmap to canvas rendering mode.The rendering performance will be better in <code>Canvas</code> rendering mode, while loading large datasets. You can switch the rendering mode for Heatmap between <code>SVG</code> and <code>Canvas</code> using the <code>renderingMode </code> property. When the <code>renderingMode</code> property is set to <code>Auto</code> the rendering mode will be switched automatically based of the size of data source to improve the rendering performance.
</p>
<p>
Tooltip is enabled in this example, to see the tooltip in action, hover a point or tap on a point in touch enabled devices.
</p>
<br>
<p style="font-weight: 500">Injecting Module</p>
<p>
Heatmap component features are segregated into individual feature-wise modules. To use a tooltip, inject the
<code>Tooltip</code> module using the <code>Heatmap.Inject(Tooltip)</code> method, and use a legend by injecting the
<code>Legend</code> module using the <code>Heatmap.Inject(Legend)</code> method.
</p>
</div>
<!-- custom code start -->
<style>
#control-container {
padding: 0px !important;
}
</style>
<!-- custom code end -->