14.6.6. Добавление диаграммы

353. На Application home page  выберите Create Page, выберите Chart и Next, выберите  Flash Chart  и Next, в поле Page введите 12, в поле Page Name введите Average Days to Resolve, в списке Region Template выберите No Template, в поле Region Name введите Average Days to Resolve, в списке Breadcrumb выберите  Breadcrumb, в поле Entry Name введите Average Days to Resolve, в поле Parent Entry выберите Reports ссылку, остальное по умолчанию и  Next.

354. В списке Tab Options выберите  Use an existing tab set and reuse an existing tab within that tab set, в списке Tab Set выберите  Issue Tracker (Home, Dashboard, Projects...)  и Next.  В списке Use Tab выберите T_REPORTS и Next.

355. В списке Chart Type выберите Horizontal 2D Column, в поле X Axis введите Дни, и Next.

356. В SQL Query or PL/SQL function returning a SQL Query введите код:

SELECT NULL l,

NVL(p.person_name,'None Assigned') person,

AVG(i.actual_resolution_date-i.identified_date) days

FROM it_issues i, it_people p

WHERE i.assigned_to_person_id = p.person_id (+)

AND i.status = 'Closed'

GROUP BY p.person_name

Где

– The first item selected is the link. This report does not link to any other

page, and so NULL was selected.

– The second item is the person’s name, or None Assigned if assigned_

to is NULL.

– The third item selected is the average number of days it took for that

person to resolve all their issues so the issues have a status of closed.

357. В поле When No Data Found Message введите Нет проблем со статусом 'Closed'.

358. Отсальное по умолчанию и Next.

359. Смотрим и Finish.

360. Run the Page