anychart.onDocumentReady(function () {
var chart = anychart.pyramid([
{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, label: {anchor: 'center-top'}}
chart.labels({fontSize: 10, position: 'inside', fontWeight: 'bold'});
chart.title('Set labels parameters as an object');
chart.container('container');