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

lucianc

Members
  • Posts

    5,609
  • Joined

  • Last visited

  • Days Won

    3

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by lucianc

  1. The SVG is valid, the way JasperReports handles SVGs without dimensions probably needs to be improved. Log a bug in the trackers for that.
  2. There seems to be a problem with SVGs that do not have explicit dimensions. If you can change the SVG, adding width="100" height="15" might help. You can also file a bug in the trackers if you think the problem should be addressed. Regards, Lucian
  3. What kind of scaling type are you using the image element?
  4. Comparing BigDecimals with integer literals via == does not work in Java expressions. You'll have to do something like $F{..}.intValue() == 101 for instance, or switch to Groovy as report language. Regards, Lucian
  5. You don't need $P{..} inside $X{IN, ..}, the correct expression for WHERE_CLAUSE is IF($P{COLLECTION}.isEmpty(), "", "WHERE $X{IN, column, COLLECTION}") And if in other cases you do need a literal "$P{..}" inside an expression, you need to escape it as "$$P{..}" so that it doesn't get interpreted as a parameter value placeholder. E.g. IF($P{Value} == null, "", "WHERE column = $$P{Value}") Regards, Lucian
  6. Seeing a runnable JRXML would help, otherwise understanding what happens would be rather difficult. Regards, Lucian
  7. It looks like a problem with the website. Log a bug at http://community.jaspersoft.com/node/add/bug for the "community.jaspersoft.com feedback" project. Regards, Lucian
  8. If the builtin stacked column chart types do not work for you, you can revert to a basic chart type and set the stacking property per series type (e.g. plotOptions.column.stacking) or per individual series using a SeriesProperty contributor.
  9. See the Generic Elements section in the JasperReports Ultimate Guide (you can get it from http://jasperreports.sourceforge.net/JasperReports-Ultimate-Guide-3.pdf). Regards, Lucian
  10. You can explicitly create Y axes and assign series to specific axes. See the attached sample report: the yAxis chart settings creates a new axis (_jrAxisIndex=1 means it's the second axis) and sets some properties for it, and SeriesProperty contributors set the series types and assings the series to the second axis. Regards, Lucian
  11. Are you talking about the problem with Jaspersoft Studio not using the right dataset for subreport expressions? Log a bug at http://community.jaspersoft.com/bug-tracker so that the JSS team is aware about the problem.
  12. What the subreport is missing is the connection on which to run its query. You can pass the connection from the master report by adding <connectionExpression>$P{REPORT_CONNECTION}</connectionExpression>[/code] in the subreport element.
  13. Directly computing running/cumulative totals via measures is not possible. The only option is to compute the total with report variables, and then pass the computed values to the chart. See an example in the attached report (run with the Sample DB). Regards, Lucian
  14. Jaspersoft Studio proposing main dataset fields/variables is a bug, consider filing it in the trackers. But a proper expression using the table dataset seems to work fine to me. Do you have a self contained example to reproduce the problem that you found? Thank you, Lucian
  15. No, most likely you don't need jasperreports-javaflow. It's only required in environments where JasperReports is not allowed to create threads for subreports. Regards, Lucian
  16. Lambda expressions in reports work with a recent JDT compiler jar (e.g. 4.5.1 from Maven http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.eclipse.jdt.core.compiler%22%20AND%20a%3A%22ecj%22) and with the following properties in jasperreports.properties: org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8org.eclipse.jdt.core.compiler.compliance=1.8org.eclipse.jdt.core.compiler.source=1.8 It also works with the 1.8 javac compiler used for reports, but using the JDT compiler is the recommended setup. Regards,Lucian
  17. The line numbers from the stacktrace that you posted (at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createStatement(JRJdbcQueryExecuter.java:478) .. at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:295)) do not correspond to the 6.2.2 sources. Could you confirm that you are using a JasperReports 6.2.2 jar downloaded from sourceforge.net or via maven?
  18. Element groups are not a good way to isolate elements that need to be printed together. Try using frames, or (even safer) separate detail bands for each line. Regards, Lucian
  19. The jasperreports-javaflow jar is a variant of the vanilla jasperreports jar that has report fill classes instrumented for Javaflow continuations. The instrumentation is required by the Javaflow subreport runner, which is an alternative to the default thread subreport runner. The Javaflow subreport runner was mainly meant to be used in environments where spawning new threads is not allowed (e.g. in EJB container). In most cases the thread subreport runner works fine, and there is no need for the jasperreports-javaflow jar. Regards, Lucian
  20. With 6.2.2 you don't need to configure the PL/SQL query executer in any way, it is there by default. Regarding the Invalid column type: 2000 error, please post the the report query and parameters, the procedure declaration and the DB and JDBC driver versions. Regards, Lucian
  21. You need to use a font that includes glyphs for Romanian characters. The one used in the article example doesn't. If you don't have a specific font that you want to use, you can use DejaVu Sans which is bundled in jasperreports-fonts.jar (you can get it from https://sourceforge.net/projects/jasperreports/files/jasperreports/JasperReports%206.3.0/). Regards, Lucian
  22. If SimpleJasperReportsContext doesn't work for you, you can write a new JasperReportsContext implementation that delegates getExtensions to an ExtensionRegistry. Regards, Lucian
  23. I made a test with Arial Unicode MS in 6.2.0 and "पर्वती रॉ वॉटर" was displayed properly in PDF, see attached screenshot. Reproducing the problem that you are seeing requires a detailed (and self contained) test case. Regards, Lucian
×
×
  • Create New...