anychart.onDocumentReady(function () {
var chart = anychart.line([
chart.yScale().minimum(0);
var controller = chart.annotations();
var annotation = controller.verticalRange();
annotation.secondXAnchor(3);
annotation.fill(function () {
return this.sourceColor + ' 0.3'
chart.title('Set fill parameter as a function');
chart.container('container');