<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.bar(4);
chart.bar(3);
chart.bar(2);
chart.bar(1);
chart.bar(0);
// Get tooltip.
var tooltip = chart.tooltip();
tooltip.fontColor('#ffd700');
chart.title('Get and modify tooltip');
chart.container('container');
chart.draw();
});