anychart.onDocumentReady(function () {
var dataTable = anychart.data.table();
dataTable.addData(get_csco_daily_short_data());
var mapping = dataTable.mapAs({"value": 4});
var chart = anychart.stock();
var plot = chart.plot(0);
var lineSeries = plot.line(mapping);
var controller = plot.annotations();
var andrewsPitchfork1 = controller.andrewsPitchfork({
secondXAnchor: "2007-01-07",
secondValueAnchor: 28.92,
thirdXAnchor: "2007-05-20",
hovered: {stroke: "2 #ff0000"},
selected: {stroke: "4 #ff0000"}
var andrewsPitchfork2 = controller.andrewsPitchfork();
andrewsPitchfork2.xAnchor("2007-12-16");
andrewsPitchfork2.valueAnchor(28.60);
andrewsPitchfork2.secondXAnchor("2008-08-10");
andrewsPitchfork2.secondValueAnchor(24.91);
andrewsPitchfork2.thirdXAnchor("2008-02-10");
andrewsPitchfork2.thirdValueAnchor(23.30);
andrewsPitchfork2.normal().stroke("#006600", 1, "10 2");
andrewsPitchfork2.hovered().stroke("#00b300", 2, "10 2");
andrewsPitchfork2.selected().stroke("#00b300", 4, "10 2");
chart.title("Andrews' Pitchfork: Appearance");
chart.container("container");