anychart.onDocumentReady(function () {
var chart = anychart.gauges.linear([15, 20, 25, 30, 44]);
var barPointer = chart.bar(2);
barPointer.fill('#a03623').stroke(null);
barPointer.hatchFill(function () {
return {type: 'horizontal-brick', color: '#fffaf0', size: 19};
chart.title('Set hatch fill parameter as a function');
chart.width(600).height(400);
chart.container('container');