Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tham khảo tài liệu 'jasperreports 3.5 for java developers- p5', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 7 vAlign This attribute indicates the vertical alignment of the image. The valid values for this attribute are as follows Bottom The image will be placed at the bottom of the area defined by its reportElement . Middle The image will be vertically centered between the top and bottom boundaries defined by reportElement . Top The image will be placed at the top of the area defined by reportElement . The default value of vAlign is Top. IsLazy This attribute determines whether the image is loaded when the report is filled or when the report is viewed or exported. The valid values for this attribute are as follows true The image will be loaded when the report is viewed or exported. false The image will be loaded when the report is filled. The default value of IsLazy is false. isUsingCache The isUsingCache attribute indicates whether images loaded from the same imageExpression will be cached. The valid values for this attribute are as follows true The image will be cached. false The image will not be cached. The default value of isUsingCache is true. 189 Adding Charts and Graphics to Reports onErrorType The onErrorType attribute determines the report s behavior when there is a problem loading the image. The valid values for this attribute are as follows Blank Only blank space will be displayed instead of the image. Error An exception will be thrown and the report will not be filled or viewed. Icon An icon indicating a missing image will be displayed. The default value of onErrorType is Error. The image element contains other attributes to support hyperlinks and bookmarks which are discussed in detail in Chapter 8 Other JasperReports Features. Adding charts to a report JasperReports supports several kinds of charts such as pie charts bar charts XY bar charts stacked bar charts line charts XY line charts area charts XY area charts scatter plot charts bubble charts time series charts high low charts and candlestick charts. We will discuss each one of these in detail