anychart.onDocumentReady(function () {
var chart = anychart.pie([
{x: 'Cycling', value: 10},
{x: 'Swimming', value: 12},
{x: 'Hiking', value: 11},
{x: 'Alpinism', value: 9}
var state = chart.normal();
state.fill([{offset: 0.2, color: '#DCE35B', opacity: 0.6}, '#45B649 0.6']);
chart.title('Set state fill parameter as an array');
chart.container('container');