<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.gauges.circular([{value: 20}, {value: 10}]);
chart.axis();
// Get bar pointer.
var bar1 = chart.bar();
bar1.fill('#2BC0E4');
// Get bar pointer by index.
var bar2 = chart.bar(1);
bar2.fill('#EAECC6');
chart.title('Get and modify bar');
chart.container('container');
chart.draw();
});