anychart.onDocumentReady(function() {
var chart = anychart.pie([
{name: "John", value: 10000},
{name: "Jake", value: 12000},
{name: "Peter", value: 16000},
{name: "Alex", value: 11000},
{name: "Tom", value: 13000},
{name: "Julia", value: 18000}
var legend = chart.legend();
legend.itemsLayout("vertical");
var paginator = chart.legend().paginator();
paginator.layout("vertical");
paginator.orientation("left");
chart.container("container");