pinner Posted December 4, 2006 Share Posted December 4, 2006 Hello. I am having a problem getting an axis label to appear on a scaterplot within a JasperReport. It simply does not appear. The xml snippet is here: <band height="700" isSplitAllowed="false" ><scatterChart><chart hyperlinkTarget="Self" ><reportElement x="5" y="5" width="525" height="500" key="element-1"/><box topBorder="1Point" topBorderColor="#0000DD" leftBorder="1Point" leftBorderColor="#009900" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/></chart><xyDataset> <xySeries> <seriesExpression><![CDATA[$F{itemNumber}]]></seriesExpression> <xValueExpression><![CDATA[$F{accuracy}]]></xValueExpression><yValueExpression><![CDATA[$F{responseTime}]]></yValueExpression></xySeries></xyDataset><scatterPlot ><plot/> <xAxisLabelExpression><![CDATA[$P{xLabel}]]></xAxisLabelExpression> <yAxisLabelExpression><![CDATA[$P{yLabel}]]></yAxisLabelExpression> </scatterPlot></scatterChart></band> At first, I thought the legend was covering the label somehow, but suppressing the legend did not uncover the label. Could this possibly be a bug? Or something in my code ? Thanks! 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