anychart.onDocumentReady(function () {
var chart = anychart.line([
chart.yScale().minimum(0);
var controller = chart.annotations();
var annotation = controller.andrewsPitchfork();
annotation.valueAnchor(9);
annotation.secondXAnchor(1.3);
annotation.secondValueAnchor(15);
annotation.thirdXAnchor(2.2);
annotation.thirdValueAnchor(15);
annotation.hoverGap('10px');
chart.title('Set hover gap in pixels');
chart.container('container');