Search code examples
jasper-reports

Jasperreports: How to pass main dataset parameters to subdataset for multiaxis chart?


I chose subdataset parameters as:

subdataset_parameter = $P{dataset_parameter}

but still chart doesn't work (it doesn't show any data)


Solution

  • You can't configure it at subdataset level. You have to configure Parameters at the level:

    Multi Axis / [...] Plot / Dataset

    outline report

    and then configure parameters

    dataset properties

    as follows:

    dataset parameters