anychart.onDocumentReady(function () {
var chart = anychart.cartesian();
var series = chart.area([
{x: 'January', value: 2},
{x: 'February', value: 5},
var customHatchFill = anychart.graphics.hatchFill('divot', '#ffffff', 0.9, 20);
series.hatchFill(customHatchFill);
chart.title('Set hatch fill parameter as an instance');
chart.container('container');