Oracle Reports tutorial phần 4

Tham khảo tài liệu 'oracle reports tutorial phần 4', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 7 Reviewing the Source Code for the Graph Estimated completion time 5 minutes In Chapter 6 Creating a Graph for the Web Report you added a graph to a JSP-based Web report. This chapter reviews the source code added for the graph. Viewing the Source in Reports Builder Open the Web Source view for the report you created in Chapter 6 Creating a Graph for the Web Report called emprevb_your initials .jsp. Reviewing the rw graph Tag The rw graph tag brackets the graph information and links the graph to the data source. It also identifies the categories and the data fields. 1. In the Web Source view locate the rw graph JSP tag. The code within the rw graph tag is XML. rw graph id graph src G_EMPLOYEE_ID series EMPLOYEE_ID dataValues SALARY The series tag defines the source for the values along the X-axis and the dataValues tag defines the source for the data along the Y-axis. You defined these parameters in Chapter 6 Creating a Graph for the Web Report . 2. Locate the SeriesItems tag below the rw graph tag SeriesItems Series id 0 color cc66cc SeriesItems This tag represents the modification to the Row 1 color we made in Chapter 6 Creating a Graph for the Web Report . If you chose a different color you will see a different value for the color tag. 3. Here you can see that the cc66cc color value is applied to the first bar along the X-axis Reviewing the Source Code for the Graph 7-1 Reviewing the rw graph Tag Figure 7-1 Graph with Color on the First Row Employees by Salary Employees 4. Find the Title tag located here SeriesItems Title visible true text Employees by Salary This tag adds the graph title to your Web report shown here Figure 7-2 Graph with Title Employees by Salary Employees 5. Find the rw graph JSP tag located here Graph -- rw graph p p p The XML that produces the graph is closed before the rw graph JSP tag is closed. 7-2 Oracle Reports Tutorial Summary Note The Graph Wizard is re-entrant. So if you want to modify your graph move your cursor into the .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU LIÊN QUAN
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
4    59    2    01-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.