I am using jasper report to create pdf document. I used one Subreport inside main document.This Subreport consist of 3 textfield and one line .I use javabean datasource to populate the value. Now i could not see line if the datasourece returns null value. Can anyone guide me how to solve this problem.
Below you can see the xml code which i used for line in jrxml
file
<line direction="TopDown">
<reportElement
mode="Transparent"
x="-6"
y="17"
width="480"
height="0"
forecolor="#C6C8CA"
key="line-1"
isPrintInFirstWholeBand="true"/>
<graphicElement stretchType="NoStretch">
<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
</line>
.