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).id('secondPointer');
5
6
// Removes the second pointer by id.
7
chart.removePointer('secondPointer');
8
9
chart.title('Remove pointer by id');
10
chart.container('container');
11
chart.draw();
12
});