anychart.onDocumentReady(function () {
var chart = anychart.line([6, 10, 18, 11, 9]);
chart.yScale().minimum(0);
var controller = chart.annotations();
var annotation = controller.triangle();
annotation.valueAnchor(17);
annotation.secondXAnchor(2);
annotation.secondValueAnchor(19);
annotation.thirdXAnchor(2.2);
annotation.thirdValueAnchor(17);
annotation.hoverStroke(function () {
return "3 " + this.sourceColor;
chart.title("Set hover stroke parameter as a function.");
chart.container("container");