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

ktalarico

Members
  • Posts

    77
  • Joined

  • Last visited

  • Days Won

    1

 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 ktalarico

  1. Did anyone find a resolution to this? The issue is with jquery in the javascript. My CVC uses jquery also. It seems as if the exporter does not know about jquery. With additional log settings - this error is generated: ReferenceError: jQuery is not defined\n at file:///tmp/jr_res_16848789916710125977_clusteredmap.min.js:63:9\n
  2. I solved this issue using this post: https://community.jaspersoft.com/knowledgebase/how-to/accessing-jsqueryjs-custom-ui-pages-starting-jasperreports-server-v800/ Starting with JasperReports® Server v8.0.0 the libraries used by JasperReports® Server will not be exposed to the global scope. We are using jquery in the javascript accessed by the CVC. Therefore, jquery needed to be installed in the scripts directory on the server. Then needed to add this script tag to decoratorMinimalImports.jsp file: <script src="${pageContext.request.contextPath}/scripts/jquery.js"></script>
  3. We have a CVC that stopped working after installing on Jasper 8.2 server. The CVC is a Google Map with clustered markers. There is very little feedback to diagnose the condition other than the "Report render error". Nothing in the logs or developer console. I have a feeling there may be a missing configuration. I have installed Chromium on the server and set the chrome path in js.config.properties. When I try to run it in Studio it fails with net.sf.jasperreports.engine.jrruntimeexception: java.util.concurrent.timeoutexception. Tried setting the chrome timeout to 2 minutes. I know it's a not a database timeout because I can fetch the data fairly quickly in the SQL dialog. Any thoughts? clusteredmap.js main_jrxml
  4. This demo was executed using TIBCO JasperReports® Server 7.2 and Postman v7.16.1. BackgroundDeploying report (jrxml) files to the Jasperserver repository can become time consuming using Jasperserver's user interface or even by publishing via Jaspersoft Studio. Imagine you've made a change to a report that lives in multiple organizations or you've made a change to multiple dashlets in a dashboard that lives in multiple organizations. You can spend hours deploying the reports to the server if you have several iterations of changes to test. By leveraging Jasper's REST API and Postman Collections, this amount of time can be reduced to seconds. Step by Step GuideIn this example, we will create three requests inside of a Postman collection. The first is a GET request that will retrieve the appropriate report descriptor for the report unit. We will store the descriptor in a variable which will be used in the second request to update the report unit. Note that the Jasper REST API requires a complete report descriptor in order to update the report unit. The second is a PUT request that allows us to update the report unit. We are simply sending the report descriptor we retrieved in the first request. The sole purpose of doing this is to trigger Jasperserver to modify the "updateDate" attribute of the report unit so that we have a record of when we modified the report. The third and final request will update the jrxml file. [toc]Before creating the collection, create an environment in Postman within which you will store variables.Click on the "Manage Environments" icon . For this example, our environment is called "Dev". Create a variable in the "Dev" environment called "reportDescriptor". Figure 1 - create Dev environment with variable Create a new collection in Postman, providing your Jasperserver credentials on the Authorization tab. Use type Basic Auth. In this example, our collection is called "Demo". Figure 2 - create a new collection Add a GET Request to the Demo collection. In this example, our request is called "Get demo report descriptor." Note that you can retrieve the report URL by viewing the Path in the report's properties in Jasperserver. Figure 3 - report path Define two headers in the request. The first should have a key = "Accept" with a value of "application/json". The second should have a key = "Content-Type" with a value of "application/repository.reportUnit+json". Figure 4 - Headers of GET demo report descriptor In the Pre-request Script of the request, clear the reportDescriptor variable. Figure 5 - Pre-request Script of Get demo report descriptor In the Tests section of the request, set the reportDescriptor variable equal to the response body. Figure 6 - Tests of Get demo report descriptor Click the "Send" button to test the GET request. It should respond with at status of 200 OK as well as the report descriptor that is now stored in a variable. Figure 7 - response status of Get demo report descriptor If you want to verify what is being stored in the reportDescriptor variable, click the "Environment Quick Look" icon Figure 8 - contents of reportDescriptor variable Add a PUT Request to the Demo collection. In this example, our request is called "Update demo report unit." Provide the following keys in the Headers tab. Figure 9 - Headers of Update demo report unit In the body, specify the reportDescriptor variable enclosed in double curly brackets. The Body format should be "raw". Figure 10 - Body of Update demo report unit In the Pre-request Script tab, get the reportDescriptor variable. Figure 11 - Pre-request Script of Update demo report unit Click the "Send" button to test the PUT request. It should respond with a status of 200 OK. It should also return an updated report descriptor. Note that the version changed from 4 to 5. This is why we must always perform a GET request to retrieve the appropriate descriptor prior to updating. Jasperserver will update the version number behind the scenes each time we send a PUT request. If we do not provide the correct version number, Jasper will respond with a "mismatched version" error. Figure 12 - response of Update demo report unit Add a final PUT Request to the Demo collection. In this example, our request is called "Update demo report jrxml." You will need to query the jasperserver database to get the appropriate URL as this cannot be obtained by browsing the repository. Figure 13 - SQL query to obtain approriate URL SELECT concat(jrf.uri,'/',jir.name) FROM JIResource jirLEFT JOIN JIResourceFolder jrf ON jrf.id = jir.parent_folder WHERE jir.resourceType = 'com.jaspersoft.jasperserver.api.metadata.common.domain.FileResource' AND jir.name LIKE '%Demo_Report%'[/code] Figure 14 - Headers of Update demo report jrxml The body type should be "binary". Click "Select File" and browse to the location of the jrxml file on your PC. Note that you should configure your Working Directory in Postman to point to the location where you store your jrxml files. Select File-Settings. In the General tab you will see a WORKING DIRECTORY section where you can specify the location. Figure 15 - Postman Working Directory Figure 16 - Body of Update demo report jrxml Click the "Send" button to test the request. It should respond with at status of 200 OK. It should also return an updated descriptor for the jrxml. Figure 17 - response of Update demo report jrxml Continue to add requests to your collection as needed. Run your collection by clicking the "Play" button to the right of your collection name then clicking "Run". Figure 18 - run the Demo collection The Collection Runner will open up a separate window. Click "Run Demo". Figure 19 - Collection Runner Figure 20 - Collection Runner summary Page:
  5. Note that other times you will get a jquery error: jQuery.Deferred exception: s is not a constructor TypeError: s is not a constructor[/code]Solution below resolves both
  6. Solution provided by Tibco support: Our engineering team investigated this and says that the issue seems to be caused by some strange behavior in require.js. They say that the issue can be fixed by adding the module name in dashboardHyperlinkHandlerUpdateDashboardParams.js like this: replace define(function(require) {with define("dashboardHyperlinkHandlerUpdateDashboardParams", function(require) {
  7. Changed Severity from Major to Minor Changed Reproducibility from Unable to Reproduce to Always Changed Assigned User from @teodord to - The issue is that when the text spills over onto a second line, it is not indented. It is aligned with the bullet point, but it should be aligned with the text.
  8. We are using a custom dashboard hyperlink handler taken from here: https://community.jaspersoft.com/wiki/how-use-custom-hyperlink-handler-dashboard-tibco-jasperreports-server After upgrading to 7.2, we are getting the following error in the browser console and the dashboard fails to load: Error: Mismatched anonymous define() module: function(require) I have consulted https://requirejs.org/docs/errors.html#mismatch and I feel like I followed the solution but it did not help. The problem seems to be related to the order in which javascript modules are being loaded. The error does not happen consistently. I can execute dashboards several times in a row without error before it happens. I understand that RequireJS is a JavaScript file and module loader, but I know very little about javascript; so any suggestions for the layperson are welcome. The custom handler code is below. //define(function(require) {define(["require","jquery", "underscore"], function(require) { "use strict"; var $ = require("jquery"), _ = require("underscore"); return { events: { click: function(event, linkData) { if (window.location.href.indexOf("dashboard/viewer") > -1) { var hashParts = window.location.hash.split("&"), reportUri = hashParts[0], params = {}; for (var i = 1; i < hashParts.length; i++) { if (hashParts[i].indexOf("=") > 0) { var key = hashParts[i].split("=")[0], value = hashParts[i].split("=")[1]; if (key in params) { params[key].push(value); } else { params[key] = [value]; } } } location.replace(reportUri + "&" + $.param(_.extend(params, linkData.parameters), true)); } } } }});
  9. In 6.4, I successfully used the custom hyperlink handler from this post: https://community.jaspersoft.com/wiki/how-use-custom-hyperlink-handler-dashboard-tibco-jasperreports-server. However, does not work in 7.0 and I am desperately trying to find a solution.
  10. provide API key in /WEB-INF/classes/jasperreports.properties as follows net.sf.jasperreports.components.map.key=YOUR_API_KEY
  11. SOLUTION: provide API key in /WEB-INF/classes/jasperreports.properties as follows net.sf.jasperreports.components.map.key=YOUR_API_KEY
  12. Due to recent changes in Google Maps API, you now must provide API key with your call to the API. Keep in mind there are two API: the Javascript API and the Maps Static API (which is need to export Google map to format such as PDF or Excel). Your key must be valid for both. I have just recently run into same problem with exporting the map. I have provided my API key to the call to the Javascript API so my map displays in browser fine but export fails. I do not know where in Jasper code the call to the Maps Static API is. I have tried putting key in the jrxml file but was unsuccessful. Have you solved your problem as of yet? If so, I would love to know solution.
  13. Has anyone done this in Jasper with the leaflet marker clusterer plug-in?
  14. FWIW, I know I can create a parameter with an expression that makes an API call to get information about a report unit. For example, com.jaspersoft.jasperserver.api.engine.jasperreports.util.RepositoryUtil.getThreadRepositoryContext().getReportUnit().getName(). I have searched to no avail for an API call that gets information about a dashboard.
  15. I need a way to determine the resource path of a dashboard from within a jasper report. I want to use that as a parameter to set the data source of the underlying reports conditionally. Here is the use case: We have multiple tenants in our Jasper server repository. We have copies of a single dashboard living in each tenant organization. The dashlets/reports that run inside the dashboard live in the shared "public" area. This is so that we do not have to deploy each report to multiple organizations. The data source of the reports is dynamic - we are using organization-level attribute to set the data source. This works if the user running the dashboard belongs to an organization. For our internal users, who live at the root level, this does not work because we can of course only set one attribute for the datasource at the root level. So, if the datasource attribute is set to ABC_CORP on the root organization, and the internal user goes to run the dashboard in the XYZ_CORP organization, the dashboard will run with ABC_CORPs data. So I need to be able to extract the organization name from the dashboard's URI and store that in a parameter so I can set the datasource accordingly in my jasper report jrxml using the "com.jaspersoft.jrs.data.source" property. The only thing attached to the organization is the dashboard itself.
  16. Has anyone built a way to do this in 7.1? (without using the dashboard designer)
  17. See https://community.jaspersoft.com/wiki/how-display-dashboard-http-api-v-60
  18. I tried solution in this Wiki article: https://community.jaspersoft.com/wiki/database-backed-tenant-input-control-labels But I am on Jasper 6.4. I got an error java.lang.NoClassDefFoundError: org/springframework/security/context/SecurityContextHolder Has anyone made this work on 6.0 or later? I also tried using attributes, but they are not supported in the input control label.
  19. I would also like to know the answer to this question.
  20. To afomin - this solution prevents mandatory input control from working because emptry string ("") is considered a value. Is there any way to prevent [null] from displaying in input control?
  21. The wiki article is for users using JasperReports (JR) library to produce maps in their own application to make the modification. JaserReports Server (JRS) 6.0 uses optimized script from ....webappsjasperserver-prooptimized-scripts directory. You will need to modify those script file from the following location: ....twebappsjasperserver-proscriptsbower_componentsbi-reportsrcbireportjivejrjasperreports-map.js and optimize the scripts to have the protocol corrected. For your information, starting in JasperReports Server (JRS) version 5.6, JavaScripts used in JRS have been optimized to improve performance. If making customizations to any JavaScript files, users need to download the optimization tools, optimize the files and restart JasperReports Server. This process is described in JasperReports Server Ultimate Guide 5.6, section 9.2.3 “Customizing JavaScript Files”. Users must regenerate the entire JavaScript in <webapp>/optimized-scripts directory. Before going through this time consuming process, user can test the script in JasperReports Server web UI using the following parameter in the URL: &_opt=false This setting will affect all JRS web UIs for the current session and can be set in any web UI page.
  22. Kush, I tried solution in Wiki also, and it did not work for me. I am on jasperserver 6.0.0. Keep me posted if you find solution and I will do the same. Getting ready to open case with TIBCO.
  23. In the above chart, each column represents a factory. Sometimes factories serve multiple brands. For example, ADO can serve Brand A or Brand B. I want each factory's column to be stacked by Brand. I saw this post but it is not quite what I want: http://community.jaspersoft.com/wiki/sample-html5-column-stacked-and-grouped-chart <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.0.1.final using JasperReports Library version 6.0.0 --><!-- 2016-11-01T12:18:39 --><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Factory Output" pageWidth="750" pageHeight="550" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="750" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="062bc899-90c7-46f6-90f4-b74e6d88bb20"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="108"/> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="staging"/> <property name="ireport.jasperserver.url" value="http://192.168.6.18:8080/valmarc-system/"/> <property name="ireport.jasperserver.report.resource" value="/organizations/Converse_Factories/organizations/Footwear/Dashboards/Dashboard_Resources/Dashboard___Factory_Output_Report_Test_files/Dashboard___Factory_Output_Report_Test_"/> <property name="ireport.jasperserver.reportUnit" value="/organizations/Converse_Factories/organizations/Footwear/Dashboards/Dashboard_Resources/Dashboard___Factory_Output_Report_Test"/> <property name="com.jaspersoft.studio.unit." value="pixel"/> <property name="ireport.jasperserver.user" value="superuser"/> <style name="Title" fontName="Arial" fontSize="32" isBold="true" pdfFontName="Times-Bold"/> <style name="Column header" mode="Opaque" forecolor="#FFFFFF" backcolor="#517BB2" vAlign="Middle" fontName="Arial" fontSize="10" isBold="true" isItalic="false"> <box leftPadding="2" rightPadding="2"/> </style> <style name="Detail" vAlign="Middle" fontName="Arial" fontSize="12"> <box leftPadding="2" rightPadding="2"/> </style> <style name="Row" mode="Transparent" vAlign="Middle" fontSize="12"> <conditionalStyle> <conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression> <style mode="Opaque" backcolor="#CFD8E7"/> </conditionalStyle> </style> <style name="Footer" forecolor="#000000" backcolor="#FFFFFF"> <box> <pen lineColor="#CFD8E7"/> <topPen lineWidth="2.0" lineColor="#CFD8E7"/> <leftPen lineColor="#CFD8E7"/> <bottomPen lineColor="#CFD8E7"/> <rightPen lineColor="#CFD8E7"/> </box> </style> <parameter name="FACTORY_CD" class="java.util.Collection"/> <parameter name="FACTORY_CD_CSV" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA[com.valmarc.jasper.Utils.joinCSV($P{FACTORY_CD})]]></defaultValueExpression> </parameter> <parameter name="FACTORY_PO" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="LoggedInUserAttribute_factory_cd" class="java.lang.String"/> <parameter name="LoggedInUserAttribute_brand_id" class="java.lang.String"/> <parameter name="YEAR_MONTH" class="java.util.Collection"> <parameterDescription><![CDATA[]]></parameterDescription> </parameter> <parameter name="YEAR_MONTH_CSV" class="java.lang.String"> <defaultValueExpression><![CDATA[com.valmarc.jasper.Utils.joinCSV($P{YEAR_MONTH})]]></defaultValueExpression> </parameter> <parameter name="style" class="java.lang.String"> <defaultValueExpression><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="GAC_END_DATE" class="java.util.Date" isForPrompting="false"/> <parameter name="GAC_BEGIN_DATE" class="java.util.Date" isForPrompting="false"/> <parameter name="BRAND_ID" class="java.util.Collection"/> <parameter name="BRAND_ID_CSV" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA[com.valmarc.jasper.Utils.joinCSV($P{BRAND_ID})]]></defaultValueExpression> </parameter> <parameter name="COUNTRY_ID" class="java.util.Collection"/> <parameter name="COUNTRY_ID_CSV" class="java.lang.String"> <defaultValueExpression> <![CDATA[com.valmarc.jasper.Utils.joinCSV($P{COUNTRY_ID})]]> </defaultValueExpression> </parameter> <parameter name="STYLE_DESC" class="java.lang.String"> <defaultValueExpression><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="YEAR_MONTH_ORIG" class="java.util.Collection"> <defaultValueExpression><![CDATA[""]]></defaultValueExpression> </parameter> <queryString language="plsql"> <![CDATA[{call rpt_ft_dashboard_output_chrt ($P{ORACLE_REF_CURSOR}, $P{LoggedInUserAttribute_factory_cd}, $P{LoggedInUserAttribute_brand_id}, $P{FACTORY_CD_CSV}, $P{BRAND_ID_CSV}, $P{YEAR_MONTH_CSV}, $P{style}, $P{STYLE_DESC}, $P{FACTORY_PO}, $P{COUNTRY_ID_CSV}, $P{GAC_BEGIN_DATE}, $P{GAC_END_DATE})}]]> </queryString> <field name="BRAND_NAME" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="FACTORY_CD" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="FACTORY_CD2" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="SCAN_DT" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="SCAN_COUNT" class="java.math.BigDecimal"/> <title> <band height="300" splitType="Stretch"> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> <componentElement> <reportElement stretchType="RelativeToTallestObject" x="0" y="35" width="750" height="265" uuid="20129c3a-02dd-4684-b7ca-67539c5e009a"> <property name="local_mesure_unitwidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <hc:chart xmlns:hc="http://jaspersoft.com/highcharts" xsi:schemaLocation="http://jaspersoft.com/highcharts http://jaspersoft.com/schema/highcharts.xsd" type="Column" evaluationTime="Report"> <hc:chartSetting name="default"> <hc:chartProperty name="chart.backgroundColor"> <hc:propertyExpression><![CDATA["#000000"]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="chart.marginTop"> <hc:propertyExpression><![CDATA[new Integer(50)]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="chart.spacingLeft"> <hc:propertyExpression><![CDATA[new Integer(10)]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="chart.spacingRight"> <hc:propertyExpression><![CDATA[new Integer(10)]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="chart.spacingTop"> <hc:propertyExpression><![CDATA[new Integer(10)]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="colors"> <hc:propertyExpression> <![CDATA[java.util.Arrays.asList("#C38790","#8CD847","#6D3AC6","#D3BE43","#CA4CC8","#73D78B","#6B6DD2","#DC6E36","#4F2D72","#5E853A","#C14787","#6DC8BA","#C03C48","#A6BFD7","#4C2938","#CAC190","#C590D1","#3D533C","#577BA5","#8A5B33")]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="credits.enabled" value="false"/> <hc:chartProperty name="credits.href" value=""/> <hc:chartProperty name="credits.text" value=""/> <hc:chartProperty name="legend.itemStyle.color"> <hc:propertyExpression><![CDATA["#FFFFFF"]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="plotOptions.column.pointPadding" value="0"/> <hc:chartProperty name="plotOptions.series.connectNulls"> <hc:propertyExpression><![CDATA[boolean.TRUE]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="plotOptions.series.dataLabels.color"> <hc:propertyExpression><![CDATA["#FFFFFF"]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="plotOptions.series.dataLabels.enabled"> <hc:propertyExpression><![CDATA[false]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="title.margin"> <hc:propertyExpression><![CDATA[new Integer(0)]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="title.style.color" value=""#FFFFFF""/> <hc:chartProperty name="title.style.fontSize" value="20px"/> <hc:chartProperty name="title.text"> <hc:propertyExpression><![CDATA[""]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="title.y"> <hc:propertyExpression><![CDATA[new Integer(0)]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="tooltip.shared"> <hc:propertyExpression><![CDATA[boolean.FALSE]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="xAxis.labels.style.color"> <hc:propertyExpression><![CDATA["#FFFFFF"]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="yAxis.gridLineColor" value=""#000000""/> <hc:chartProperty name="yAxis.labels.style.color"> <hc:propertyExpression><![CDATA["#FFFFFF"]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="yAxis.title.text"> <hc:propertyExpression><![CDATA[""]]></hc:propertyExpression> </hc:chartProperty> </hc:chartSetting> <multiAxisData> <multiAxisDataset/> <dataAxis axis="Rows"> <axisLevel name="ScanDate"> <labelExpression><![CDATA["Factory124Line"]]></labelExpression> <axisLevelBucket order="None" class="java.lang.Comparable"> <bucketExpression><![CDATA[$F{SCAN_DT}]]></bucketExpression> </axisLevelBucket> </axisLevel> </dataAxis> <dataAxis axis="Columns"> <axisLevel name="Factory"> <labelExpression><![CDATA[]]></labelExpression> <axisLevelBucket order="None" class="java.lang.String"> <bucketExpression><![CDATA[$F{FACTORY_CD} + " | " + $F{FACTORY_CD2}]]></bucketExpression> <bucketProperty name="Brand"><![CDATA[$F{BRAND_NAME}]]></bucketProperty> </axisLevelBucket> </axisLevel> </dataAxis> <multiAxisMeasure name="Scan Count" class="java.lang.Integer" calculation="Nothing"> <labelExpression><![CDATA[""]]></labelExpression> <valueExpression><![CDATA[$F{SCAN_COUNT}]]></valueExpression> </multiAxisMeasure> </multiAxisData> <hc:series name="Scan Count"> <hc:contributor name="SeriesProperty"> <hc:contributorProperty name="name" valueType="Bucket" value="Factory"/> <hc:contributorProperty name="stack" valueType="Bucket" value="Factory.Brand"/> </hc:contributor> </hc:series> </hc:chart> </componentElement> <staticText> <reportElement mode="Opaque" x="0" y="0" width="750" height="35" forecolor="#FFFFFF" backcolor="#000000" uuid="5eddfe66-a221-4408-800e-5c18aa32d53e"> <property name="local_mesure_unitwidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Arial" size="12" pdfFontName="Times-Roman"/> </textElement> <text><![CDATA[Factory Scanning Activity By Month]]></text> </staticText> </band> </title> <noData> <band height="300"> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> <frame> <reportElement mode="Opaque" x="0" y="35" width="750" height="265" backcolor="#000000" uuid="a2fa4eea-8711-4c29-aaae-0371c11f3cc0"/> </frame> <staticText> <reportElement mode="Opaque" x="0" y="0" width="750" height="35" forecolor="#FFFFFF" backcolor="#000000" uuid="76ee818d-2d49-4f8e-b8f4-1f6df4c01d41"> <property name="local_mesure_unitwidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Arial" size="12" pdfFontName="Times-Roman"/> </textElement> <text><![CDATA[Factory Scanning Activity By Month]]></text> </staticText> </band> </noData></jasperReport>[/code]
×
×
  • Create New...