Jump to content

ColinE

Members
  • Posts

    4
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Posts posted by ColinE

  1. Hi,

     

    I had a quick look at your report. There were quite a few errors in your XPaths, when selecting an attribute you must have a slash before the @ symbol:

     

    e.g.

     

    BookingReferenceID@ID

     

    should be

     

    BookingReferenceID/@ID

     

    When I corrected these mistakes the text field $V{VINV} displayed just fine.

     

    Actually, you do not really need a variable for this expression, you can place the expression:

     

    $F{SINVOICENUMBER}.equals($F{INVOICENUMBER}) ? "ciao" : "NO"

     

    directly into the expression for the text field.

     

    Regards,

    Colin E.

    -----------

     

    Now can someone please answer my question:

    http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=18442&catid=9

     

    Hint hint!

  2. I have been trying to create an XY plot of my data, however I always encounter the following error:

     

     

    ErrorÂfillingÂprint...

    java.lang.IllegalArgumentException:ÂNullÂ'key'Âargument.

    atÂorg.jfree.data.general.Series.<init>(Series.java:111)

    atÂorg.jfree.data.general.Series.<init>(Series.java:100)

    atÂorg.jfree.data.xy.XYSeries.<init>(XYSeries.java:145)

    atÂorg.jfree.data.xy.XYSeries.<init>(XYSeries.java:117)Â

    [ ..... ]

     

     

    I have a dataset composed of ~30 points.

     

    I have created an XY plot with asingle series, with the following values:

     

    Series Expression: 1

    X Value Expression : $F{id}

    Y Value Expression : $F{cost}

    Label Expression:

     

    So ... what am I doing wrong?

     

    (I am using iReports 1.2.7)

×
×
  • Create New...