HTMLcopy
1
<div id="container"></div>
CSScopy
6
1
html, body, #container {
2
width: 100%;
3
height: 100%;
4
margin: 0;
5
padding: 0;
6
}
JavaScriptcopy
x
1
anychart.onDocumentReady(function () {
2
var chart = anychart.gauges.linear([
3
{value: 15},
4
{value: 20},
5
{value: 25},
6
{value: 30},
7
{value: 44}
8
]);
9
chart.bar(4);
10
chart.bar(3);
11
chart.bar(2);
12
chart.bar(1);
13
chart.bar(0);
14
15
// Disable tooltip.
16
chart.tooltip(false);
17
18
chart.title('Disable tooltip');
19
chart.container('container');
20
chart.draw();
21
});