anychart.onDocumentReady(function () {
var stage = anychart.graphics.create('container');
var pattern = stage.pattern(new anychart.graphics.math.Rect(0, 0, 20, 20));
pattern.star5(10, 10, 8).stroke('#78909C');
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: 290, label: {anchor: 'center-top'}}
chart.hatchFill(pattern);
chart.title('Set hatch fill as a pattern');
chart.labels({position: 'inside'});