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

rpachipu

Community Manager
  • Posts

    75
  • Joined

  • Last visited

  • Days Won

    2

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by rpachipu

  1. Hi David, If its of type high charts, you can add advance property  plotOptions.series.pointWidth to30. If its a Jfree chart, you need to create a barchart customizer class to control width of bar chart and use the setMaximumBarWidth attribute


    CategoryPlot categoryPlot=chart.getCategoryPlot();
    BarRenderer renderer=(BarRenderer)categoryPlot.getRenderer();
    renderer.setMaximumBarWidth(.30);  //Set maximum width of barchart to 30 percent

  2. Hi ,

    1.You can the add the below property to the report.
    net.sf.jasperreports.export.xls.one.page.per.sheet="false"

    2. Identify the report element i.e, textbox  where you want to cut the page  before or after. Based on that, you can cut the page by adding the one of the below property to the textbox.

    net.sf.jasperreports.export.xls.break.before.row="true"
    net.sf.jasperreports.export.xls.break.after.row="true"

     

    or you can do the step 2 form UI as below:

    image.thumb.png.88e07fc9f11f5916cd74c9b772a03647.png

    • Like 1
  3. Hi Gayatri,

    To hide title bar, need to append decorate=no to the url. 

    To hide the menu bar on jasperserver UI, you need to customize the file "..jasperserver-proWEB-INFdecoratorsdecorator.jsp" file. 

    Add style="display:none" to <div id="banner" and style="top: 0" to <div id="frame">. Save the changes and restart the server. 

     

  4. Hi,

    This is a kind of warning and wont effect the report output or execution. This is triggered because of the textfield is of style or html , but a single ampersand character in it is not a valid styled text value. Styled text must be valid XML content, except only for an optional <st> root tag, which is added automatically by JR when processing the value. The single "&" is not valid XML content because ampersand is special XML character and needs to be escaped, so the attempt to parse it as XML obviously fails.
    If styled text parsing failures don't need to appear in your logs, then you can turn them off using your preferred logging library configuration.

    For example, if you use log4j, you could add this line to the log4j.properties in your classpath:

    log4j.logger.net.sf.jasperreports.engine.util.JRStyledTextParser=OFF

×
×
  • Create New...