anychart.onDocumentReady(function () {
{id: "A1", duration: 1, name: "Task A"},
{id: "A2", duration: 3, name: "Task B"},
{id: "A3", duration: 3, name: "Task C"},
{id: "A4", duration: 1, name: "Task D"},
{id: "A5", duration: 2, name: "Task AD", dependsOn: ["A1", "A4"]},
{id: "A6", duration: 2, name: "Task BC", dependsOn: ["A2", "A3"]}
var chart = anychart.pert();
chart.data(data, "asTable");
var milestones = chart.milestones();
milestones.stroke("#F44336", 3, "2 4");
chart.title("Set milestones stroke parameters.");
chart.container("container");