Jump to content
We've recently updated our Privacy Statement, available here ×

xAxisLabelExpression not appearing


pinner

Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...