<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.polar();
var series = chart.polygon([
{x: 0, value: 2},
{x: 1, value: 1},
{x: 2, value: 2},
{x: 3, value: 3},
{x: 4, value: 2},
{x: 5, value: 1}
]);
// Set fill.
series.fill([{offset: 0.4, color: '#DCE35B', opacity: 0.5}, '#ffab91']);
chart.title('Set fill parameter as an array');
chart.container('container');
chart.draw();
});