omarachraf Posted July 26, 2006 Share Posted July 26, 2006 Hi All! I have followed the instructions of the iReport 1.2.1 manual of the chart and the crosstab report demo through the iReport 1.2.2 and 1.2.5, but the chart or crosstab are not showed. All is blank. Only the values of the tabular part of detail of the demo are showed but not the chart neither the cross tab. What is the trick to create the simple pie 3d as described in the ireport 1.2.1 manual? thanks,OmarPost edited by: omarachraf, at: 2006/07/25 22:13 Link to comment Share on other sites More sharing options...
oreng Posted August 1, 2006 Share Posted August 1, 2006 Hello,I have the same problem. I am using an IReport manual I bought today and I followed the instruction but I got an empty chart.The values from the database are printed on the report with an empty graph. I also tried other type of charts with the same results.I am using Ubuntu 6.06 with IReport 1.25. I attached screenshot of the output and the report jrxml. Regards,Oren Post edited by: oreng, at: 2006/08/01 14:37Post edited by: oreng, at: 2006/08/01 14:39 Link to comment Share on other sites More sharing options...
oreng Posted August 1, 2006 Share Posted August 1, 2006 oreng wrote:Hello,I have the same problem. I am using an IReport manual I bought today and I followed the instruction but I got an empty chart.The values from the database are printed on the report with an empty graph. I also tried other type of charts with the same results.I am using Ubuntu 6.06 with IReport 1.25.I attached screenshot of the output and the report jrxml.Regards,OrenPost edited by: oreng, at: 2006/08/01 14:37<br><br>Post edited by: oreng, at: 2006/08/01 14:39 size=350]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/sample.png Link to comment Share on other sites More sharing options...
oreng Posted August 1, 2006 Share Posted August 1, 2006 Cannot attach the xml so this is the text: <?xml version="1.0" encoding="UTF-8" ?><!-- Created with iReport - A designer for JasperReports --><!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"><jasperReport name="yields_chart" columnCount="1" printOrder="Vertical" orientation="Portrait" pageWidth="595" pageHeight="842" columnWidth="535" columnSpacing="0" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> <property name="ireport.scriptlethandling" value="0" /> <property name="ireport.encoding" value="UTF-8" /> <import value="java.util.*" /> <import value="net.sf.jasperreports.engine.*" /> <import value="net.sf.jasperreports.engine.data.*" /> <queryString><![CDATA[select name , val, dd from tt]]></queryString> <field name="name" class="java.lang.String"/> <field name="val" class="java.lang.Integer"/> <field name="dd" class="java.lang.Integer"/> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="50" isSplitAllowed="true" > <staticText> <reportElement x="153" y="3" width="256" height="41" key="staticText-1"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Lucida Bright" pdfFontName="/home/oren/arial.ttf" isBold="true" isPdfEmbedded ="true" pdfEncoding ="Cp1255"/> </textElement> <text><![CDATA[×יסוי גרף]]></text> </staticText> </band> </title> <pageHeader> <band height="0" isSplitAllowed="true" > </band> </pageHeader> <columnHeader> <band height="0" isSplitAllowed="true" > </band> </columnHeader> <detail> <band height="22" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="26" y="3" width="100" height="18" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="137" y="2" width="100" height="18" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$F{val}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="284" y="2" width="100" height="18" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$F{dd}]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="0" isSplitAllowed="true" > </band> </columnFooter> <pageFooter> <band height="0" isSplitAllowed="true" > </band> </pageFooter> <summary> <band height="200" isSplitAllowed="true" > <pieChart> <chart hyperlinkTarget="Self" > <reportElement x="26" y="21" width="337" height="156" backcolor="#23F3D7" key="element-1"/> <box topBorder="4Point" topBorderColor="#000000" leftBorder="4Point" leftBorderColor="#000000" rightBorder="4Point" rightBorderColor="#000000" bottomBorder="4Point" bottomBorderColor="#000000"/> </chart> <pieDataset> <dataset > <incrementWhenExpression><![CDATA[]]></incrementWhenExpression> </dataset> <keyExpression><![CDATA[$F{name}]]></keyExpression> <valueExpression><![CDATA[$F{val}]]></valueExpression> <labelExpression><![CDATA[$F{name}]]></labelExpression> </pieDataset> <piePlot> <plot /> </piePlot> </pieChart> </band> </summary></jasperReport> Sorry for the many posts. OrenPost edited by: oreng, at: 2006/08/01 14:46 Link to comment Share on other sites More sharing options...
oreng Posted August 2, 2006 Share Posted August 2, 2006 ‎The problem is a bug in version 1.2.5 -http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=175&catid=9 Thanks,Oren Link to comment Share on other sites More sharing options...
semilla Posted August 17, 2006 Share Posted August 17, 2006 Thank you for the tip!!!Please, fix this as soon as possible, because i wasusing version 1.2.4 and it worked fine until i go to version 1.2.5. bye Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now