anychart.onDocumentReady(function () {
var chart = anychart.pie([
{x: 'Cycling', value: 10},
{x: 'Swimming', value: 12},
{x: 'Hiking', value: 11},
{x: 'Alpinism', value: 9}
chart.selected({fill: '#E57373'});
chart.title('Set select on elements by array of indexes');
chart.container('container');