anychart.onDocumentReady(function () {
var chart = anychart.pie([
{x: 'Cycling', value: 10},
{x: 'Swimming', value: 12},
chart.labels(null).legend(null).hatchFill(true);
chart.hatchFillPalette({type: ['horizontal', 'grid', 'vertical'], thickness: 3});
chart.title('Set hatch fill palette as an object');
chart.container('container');