<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function() {
// chart type
var chart = anychart.pie([
["John" , 10000],
["Jake" , 12000],
["Peter" , 18000],
["James" , 11000],
["Mary" , 9000]
]);
// set title
chart.title("Tooltip Prefix");
// tooltip settings
var tooltip = chart.tooltip();
tooltip.valuePrefix("$");
// draw
chart.container("container");
chart.draw();
});