anychart.onDocumentReady(function () {
var stage = anychart.graphics.create("container");
var pyramidChart = 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: 390, label: {anchor: "centerTop"}}
pyramidChart.labels({position: "inside"});
pyramidChart.bounds(0, 20, "50%", "100%");
pyramidChart.legend(false);
pyramidChart.hatchFill("zigZag", "#424242", 0.5, 25);
pyramidChart.container(stage);
var funnelChart = anychart.funnel([10, 3, 7, 10]);
funnelChart.bounds("50%", 20, "50%", "100%");
funnelChart.legend(false);
funnelChart.labels({position: "inside"});
var pieChartHatchFill = pyramidChart.hatchFill();
funnelChart.hatchFill(pieChartHatchFill);
funnelChart.container(stage);
var customTitle = anychart.standalones.title();
customTitle.text("Get and use chart hatchFill.");
customTitle.container(stage);