theProject = av.GetProject
projDocList = theProject.getDocs
for each returnDoc in projDocList
if (returnDoc.AsString = "Твое название диаграммы") then
docClass = returnDoc.GetClass.GetClassName
if (docClass = "chart") then
returnDoc.GetWin.Open
end
end
end