Repository navigation
Expand file tree
/
Copy pathrender-mode.html
More file actions
60 lines (60 loc) · 2.21 KB
/
Copy pathrender-mode.html
File metadata and controls
60 lines (60 loc) · 2.21 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<div>
<div class="col-md-8 control-section">
<div class="content-wrapper">
<div id="container" style="width:92%"></div>
</div>
</div>
<div class="col-md-4 property-section">
<table id="property" title="Properties" style="width: 100%">
<tbody>
<tr style="height: 50px">
<td style="width: 60%">
<div>Rendering Mode:</div>
</td>
<td style="width: 40%;">
<div class="row">
<input id="svg" type="radio">
</div>
<div class="row">
<input id="canvas" type="radio">
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="action-description">
<p>
This sample visualizes the net migration rate for the northern European countries 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
the rendering mode between Canvas and SVG means of radio button.
</p>
</div>
<div id="description">
<p>
In this example, you can see how to change the rendering mode between
<code>Canvas </code> and
<code>SVG </code> types in Heatmap. You can change the rendering mode using the
<code>renderingMode </code> property.
</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 -->