<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({
src: 'https://static.anychart.com/images/underwater.jpg',
mode: 'stretch',
opacity: 0.5
});
chart.title('Set fill as an image');
chart.container('container');
chart.draw();