anychart.onDocumentReady(function () {
var chart = anychart.pie([
{x: 'Firefox', value: 7},
var legend = chart.legend();
{index: 0, text: 'Chrome', iconType: 'circle', iconStroke: '2 #F44336', iconFill: '#0091EA'},
{index: 1, text: 'Firefox', iconFill: '#1976D2', iconHatchFill: 'dashed-backward-diagonal'},
{index: 2, text: 'Safari', iconFill: '#FF5722'},
{index: 3, text: 'IE', iconMarkerType: 'square', iconMarkerFill: '#FFEB3B', iconType: 'line'}
chart.title('Set items settings');
chart.container('container');