anychart.onDocumentReady(function () {
var chart = anychart.area();
var series = chart.splineArea([
{x: 'January', value: 5},
{x: 'February', value: 6},
series.hatchFill(function () {
return {type: 'dashed-horizontal', color: '#ffffff', thickness: 2, size: 30}
chart.title('Set hatch fill parameter as a function');
chart.container('container');