anychart.onDocumentReady(function () {
var dataSet = anychart.data.set([
{x: 'Physical', value: 125},
{x: 'Data Link', value: 125},
{x: 'Network', value: 125},
{x: 'Transport', value: 125},
{x: 'Session', value: 125},
{x: 'Presentation', value: 125},
{x: 'Application', value: 290}
var chart = anychart.pyramid(dataSet);
chart.selected({fill: '#aed581'});
chart.title('Set select on elements by array of indexes');
chart.labels({position: 'inside'});
chart.container('container');