anychart.onDocumentReady(function () {
var chart = anychart.line([6, 10, 18, 11, 9]);
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.hoverStroke(function () {
return "3 " + this.sourceColor;
chart.title("Set hover stroke parameter as a function.");
chart.container("container");