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.circular([{value: 10}, {value: 20}]);
3
chart.needle(0);
4
chart.needle(1);
5
6
// Removes all pointers.
7
chart.removeAllPointers();
8
9
chart.title('Remove all pointer from a gauge');
10
chart.container('container');
11
chart.draw();
12
});