English 中文(简体)
如何利用动态的jasper展示/展示图表中每一节的百分数?
原标题:How to show/display percentage of each section in pie chart using dynamic jasper?

我利用动态的jasper AP3.1.9建立了皮图。 该方案的产出仅以名称显示各科。 我想在图表中显示每一部分的百分比。

增加或确定哪些补充内容,以便我的图表显示百分比?

最佳回答

引言

I gave the current version (3.0.13) a try and solved my problem using the setLabelFormat in the DJPieChartBuilder. I used the following format "{0} {2} ({1})", where 0 is the expression of the PropertyColumn set in "SetKey(...)", 1 the absolute value and 2 the relative value. Maybe this could be useful to others.

这是在动态的jasper论坛上举行的:http://dynamicjasper.com/forum/viewtopic.php?f=8&t=23“rel=“nofollow”http://dynamicjasper.com/forum/viewtopic.php?f=8&t=23。

问题回答

暂无回答




相关问题
org.xml.sax.SAXParseException with JasperReports [closed]

Sorry for dummy question, but i lost my whole day to start with JasperReport. The problem is that i always receive this exception: "org.xml.sax.SAXParseException: Premature end of file." when i am ...

Unwanted font Helvetica in PDF from Jasper

When I create a PDF from a Jasper Report, the resulting PDF declare to use "Helvetica" font, even if it doesn t contain text. Unfortunately I cannot embed "Helvetica" font, because it is not among the ...

Jasper Reports Excel output

I need to generate a report in Excel format using Jasperreports. I am using iReports 3.7.0 The reports gets generated with no issues except the size of empty cells. Can somebody please tell how to ...

user report generation by various attributes

User table contains the following attributes (dateOfBirth, race, gender, ...). We would like to generate a report in the following format. Year Race All Male Female 2000 Asian 2000 1000 1000 ...

Convert RTF files to DOC

I generate a report in doc format using Jasper, Jasper uses JRRTFExporter to generate doc reports, but wen i try and compare doc reports using POI it throws exception stating some header issues. Is ...

IReport Case in Variable

I write this code in one variable in the IReport $F{wbsWbkRef.wbkStdRef.stdBlRtntp.blCode} != null ? ReportUtil.getFirstEntity($P{JPA_ENTITY_MANAGER}, "SELECT "+ "CASE WHEN std.stdBlRtntp.blCode ...

热门标签