anychart.onDocumentReady(function () {
{name: "TV promotion", value: 6371664},
{name: "Radio promotion", value: 7216301},
{name: "Advertising leaflets", value: 1486621},
{name: "Before advertising started", value: 1386622}
var chart = anychart.pyramid(data);
chart.container("container");
var legend = chart.legend();
legend.position("outside-right");
legend.itemsLayout("vertical");