"Hai friends, I create a chart using ireport and the generated jrxml code is //Sample.jrxml <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="chart2" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="307"/> <queryString language="SQL"> <![CDATA[sELECT exam_details.`exam_id` AS exam_details_exam_id, exam_details.`exam_name` AS exam_details_exam_name, exam_details.`question_no` AS exam_details_question_no, exam_details.`time` AS exam_details_time FROM `exam_details` exam_details]]> </queryString> <field name="exam_details_exam_id" class="java.lang.Integer"/> <field name="exam_details_exam_name" class="java.lang.String"/> <field name="exam_details_question_no" class="java.lang.Integer"/> <field name="exam_details_time" class="java.lang.Integer"/> <background> <band splitType="Stretch"/> </background> <summary> <band height="802" splitType="Stretch"> <barChart> <chart> <reportElement x="116" y="363" width="300" height="183"/> <chartTitle/> <chartSubtitle/> <chartLegend/> </chart> <categoryDataset> <categorySeries> <seriesExpression><![CDATA[""]]></seriesExpression> <categoryExpression><![CDATA[$F{exam_details_exam_name}]]></categoryExpression> <valueExpression><![CDATA[$F{exam_details_question_no}]]></valueExpression> </categorySeries> </categoryDataset> <barPlot> <plot/> <itemLabel/> </barPlot> </barChart> </band> </summary> </jasperReport> I want to display the chart in a web appliaction. My php code is <?php //Import the PhpJasperLibrary include_once('PhpJasperLibrary/tcpdf/tcpdf.php'); include_once("PhpJasperLibrary/PHPJasperXML.inc.php"); //database connection details $server="192.168.0.101"; $db="localhost"; $user="root"; $pass="mysqlpass"; $version="0.8b"; $pgport=5432; $pchartfolder="./class/pchart2"; //display errors should be off in the php.ini file ini_set('display_errors', 0); //setting the path to the created jrxml file $xml = simplexml_load_file("myreport.html_files/Sample.jrxml"); $PHPJasperXML = new PHPJasperXML(); //$PHPJasperXML->debugsql=true; //$PHPJasperXML->arrayParameter=array("parameter1"=>1); $PHPJasperXML->xml_dismantle($xml); $PHPJasperXML->transferDBtoArray($server,$user,$pass,$db); $PHPJasperXML->outpage("I"); //page output method I:standard output D:Download file But it shows a blank in the webpage.How this occured..plz anyone help to get the chart.