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'}}
var labels = chart.labels();
labels.position('inside');
labels.fontWeight('bold');
chart.title('Get and modify label');
chart.container('container');