<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.pie([
{x: 'Chrome', value: 8},
{x: 'Firefox', value: 7},
{x: 'Safari', value: 3},
{x: 'IE', value: 2}
]);
// Set chart outline.
chart.outline({width: '3%'});
chart.title('Set outline parameter as an object');
chart.container('container');
chart.draw();
});