anychart.onDocumentReady(function () {
var stage = anychart.graphics.create('container');
var chart1 = 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: 'center-top'}}
chart1.labels({position: 'inside'});
chart1.bounds(0, 20, '50%', '100%');
chart1.hatchFill('zig-zag', '#424242', 0.5, 25);
var hatchFill = chart1.hatchFill();
var chart2 = anychart.funnel([10, 3, 7, 10]);
chart2.bounds('50%', 20, '50%', '100%');
chart2.labels({position: 'inside'});
chart2.hatchFill(hatchFill);
var customTitle = anychart.standalones.title();
customTitle.text('Get and use chart hatchFill');
customTitle.container(stage);