<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.gauges.linear([
{value: 15},
{value: 20},
{value: 25},
{value: 30},
{value: 44}
]);
chart.tank(1);
// Get type.
var chartType = chart.getType();
chart.title('Get chart type. Chart type is ' + chartType);
chart.container('container');
chart.draw();
});