anychart.onDocumentReady(function () {
var chart = anychart.pert();
chart.data(data, 'as-table');
chart.container('container');
{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']}