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.hoverFill(function () {
return this.sourceColor + " 0.8"
chart.title("Set hover fill parameter as a function.");
chart.container("container");