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: 230}
var point = chart.getPoint(2);
var pointIndex = point.getIndex();
chart.title("Point index is " + pointIndex);
chart.container("container");