Jump to content
Changes to the Jaspersoft community edition download ×

tom.beckman

Members
  • Posts

    21
  • Joined

  • Last visited

 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 tom.beckman

  1. Thank you for that info...I was able to get the reports exported from one server into another using the /buildomatic/ scripts with that keyalias, but I am still unable to perform the import using the REST api. I created the same headers/payload that you gave in the example, but every time I check the status of the import process, I get the "import.decode.failed" message. any suggestions?
  2. so has anyone gotten this? I am struggling with the same issues and none of the earlier suggested materials seem to be of any benefit.
  3. Hello, Running jasperserver 8.02 We can import/export reports without any issue from the Jasper UI, but when trying to publish/import via the REST API we are receiving the error message "import.decode.failed" when checking the status of the job. We have tried doing the export from the UI with both options on the "Import-Export Key" fields ("Server Key" and "Legacy Key") during the export to no avail. Same message about decoding failing. There are no custom keys created at this point, so I am at a bit of a loss as to what to use for the REST calls to publish correctly. I've looked at the Jasper docs, and they don't include any example references related to Keys. Only a generic HTML form example at the bottom of this import/export page...no reference to using encoding. I'm sure it is something simple that we're missing, so any help is greatly appreciated.
  4. Hello, We are running a basic web display of some reports leveraging visualize.js. I have noticed that if the browser has more than one report open (simultaneously in another tab for example), the older report (in terms of being opened chronologically first) page fails to properly refresh. Console error shows the following: The code being used to auto refresh the report is the following: setInterval(function(){ report .refresh() .done(function(){console.log("Report Refreshed!");}) .fail(function(){console.log("Report Refresh Failed!");}); }, 300000);[/code]Any idea on why having multiple reports opened would cause the refresh to fail? All of the tabs opened for a user session are using the same credentials, so I know it's not an issue of conflicting logins. Any help is greatly appreciated.
  5. Has anyone found this yet? I've been trying to find where to modify this, and really don't want to change internal CSS or code...shouldn't this be something that can be done from the calling page itself? Ideally we could specify the background on a per dashboard basis. It can't be limited only to the server files themselves.
  6. Is this something unique to our environment or is this community really not active?
  7. I am having an odd issue that I cannot seem to find an answer to. We are using Jasperreports Pro version 5.2 (limited right now to this version), and we are trying to use the google map component to show status information on a number of sites. The report is created in iReport and published directly into the repository for retrieval. At this point, we are not using a custom java call to build, retrieve, etc...just trying to open the report from the repository. I have the map working perfectly fine when we refer to the server by ONLY it's internal hostname (ex: server1). However, if we use a CNAME, or an external name (ex: reportserver), or the FQDN of the jasper server (ex: server1.domain.com), the report loads the map, you can actually see the map for approximately 1/2 second before it dumps to a grey screen stating "Oops, something went wrong". When I observe the behavior using Chrome Developer Tools, I see an error related to "no api key". However, this ONLY shows up when the jasperserver is referenced by anything other than it's direct hostname. If I refer to the jasperserver by it's hostname, then that API Key error is not displayed...but the report runs perfectly. I have created a project and obtained both client and server API keys for the Google maps projects (leaving the name filters clear...essentially accepting all referrers), but in iReport there is no direct setting to apply the key. I did copy settings from a report built using JasperStudio Pro...but the property setting (property name="net.sf.jasperreports.components.map.key" value="API KEY HERE"/>) that it creates seems to have no effect on my 5.2 report. We do need to be able to access these reports from internal as well as external sources, so just using the internal hostname of the server isn't really an option. I have tried to dig through the Jaspersoft community and docs, but there is little to no information on this. If possible, these are the questions that I would like to pose: Has anyone else come across this issue and been able to resolve the problem? Since we can successfully run the report by direct server name, is there some "alias" setting I am missing within jasperserver? Meaning: it seems that the report server is announcing itself as "server1" regardless of what the client is using as the browser address which is why the report would execute the map call, but then fail (similar to an iframe cross-domain type of thing)...but maybe I'm way off on that. Any suggestions would be greatly appreciated.
  8. No ideas? Is startAngle even implemented in the Jasper usage of HighCharts?
  9. Hello, We are currently using Jasperserver Pro 5.2.0 with iReport is it possible to make an HTML 5 type of guage with highcharts (see below)? After doing a bunch of research, it seems that the direction I need to be focused on involves using a pie chart with a few modifications (donut, and semi-circle). I think I can massage the overall query that is returning the result value to give me two distinct numbers so I can sort of fake it. For example, suppose the value returned is 80%...I can adjust the overall output to make sure I have a 20% as well, so that the chart will look like a gauge...sort of a duct-tape way of doing it seems...maybe someone has a better idea on how to accomplish decent looking gauges in this tool? Back to the original approach tough: I have been trying to get a HighCharts pie chart to show up as a semi-circle, but there is virtually no documentation on the Jasper implementation of HighCharts or any of the highcharts functions. I have been able to manage a complete 360 degree donut, but cannot even simply adjust the angle of it from pointing dead-north. For example, from their documentation, the dirction of the pie chart should be able to be adjusted by adding the entry for startAngle, while a semi-circle is defined by startAngle and endAngle (highlighted in yellow). http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/pie-semi-circle/ However, it seems these attributes are not present in the jasperserver-pro tool? Has anyone been able to make functional gauge-like visualizations in JasperServer? I am avoiding the "WidgetsPro" due to their requirement of flash, along with their lack of "HTML 5" feel. Unless there is some property in that component that I have missed that will actually use HTML5 and not flash? Any help is greatly appreciated.
  10. So after all this time, I finally figured it out. When entering a series in the HTML5 charts, you have to select a sort order...leaving it to "none" will cause the chart to fail to render...ugh...an ounce of documentation can save over a year of B.S.
  11. also...forgot to mention that I am stuck using v5.2 Not sure if visualize.js is even present in this version...
  12. Wow...wasn't really planning on building an entire app around just displaying a dashboard...is there really no other way to simply remove the two areas at the top for display purposes???
  13. I am using the Pro version...I have not seen anything about visual.js...is there some documentation around that? Or do you have an example of a URL that would leverage that? Thank you
  14. Hello, I am trying to get a series of dashboards to show full screen for display purposes. These are being displayed via a URL in a browser. For example: http://<<servername>>/jasperserver-pro/flow.html?dashboardResource=/webapp/webappdashboard&_flowId=dashboardRuntimeFlow&decorate=no The problem with the above is that while the "decoration" has been removed, the space is still there I did some research and found a reference about using "&theme=embed&viewAsDashboardFrame=true" or just "&viewAsDashboardFrame=true" instead of the "&decorate=no" option. However, if I use that approach, it jams the entire dashboard into the top section: Has anyone dealt with this? How do I actually remove that section along with the controls in it?
  15. Hello, I am trying ot use a custom font in a report, but have run into a snag. I have looked around pretty extensively, and have managed to get the font installed into iReport, as well as deployed to the Jasperserver system and even to the point of embedding the font into exported .PDF versions of the report or dashboard. So from that aspect, we are all working fine. The ONLY problem I have is that the report/dashboards are mostly intended for online viewing, and, currently, if the client does not have the appropriate font installed, it will default to whatever the system replacement is. Again, I have looked all over, and mostly find references to making the font embedded into a .PDF...which isn't a problem for me. I have followed this set of instructions which seem pretty popular: https://mdahlman.wordpress.com/2010/04/16/fonts-in-jasperserver-3-7/ as well as this (which had another approach at the end: http://stackoverflow.com/questions/11017223/how-to-embed-font-courier-new-in-jasperserver among some others (which did not resolve the issue). I may be overlooking something very basic, and if so, I apologize, but this is driving me crazy...how do you embed a font into a report that is intended to be viewed via a web browser? I happen to have a CSS reference that I could use for this font: but I am not a web designer and dont' know if this could even be used as a font reference in a report. Any help is greatly appreciated.
  16. Here is an update: The root cause seems to actually be associated to the "Series" definition I have. I'm not sure why this would cause the chart to toally fail though. From the above example, all I have for the series expression is the field "Target". In the real data, there are multiple "targets" presented (C:, D:, E:, etc). However, when I remove the "series" from the chart, it plots data. Does anyone know what I might be configuring incorrect on the series? Thank you
  17. Hi all, I'm having a very odd problem with the HTML5 charts. I have a dataset that returns 6 columns and only 12 rows. The data consists of monthly averages for disk sizes and is structured as follows: DiskMonthValueMonthNumberMonthActualForecastC:22Feb88576.9388147.54C:33Mar88508.0988066.73C:44Aprnull87985.91C:55Maynull87905.09There are more rows, but this illustrates what's going on...the answer set is returning data from actual observations and adding a linear regression forecast value which then extends for 6 months beyond the actuals. When I add either the standard or ChartPro component to my report, they work fine. However, when I add the HTML5 chart component, the preview fails with a cryptic "error filling print...null" Followed by the typical list of components...see below: As a test, I removed the "Categories" entry and placed a static text string in. When I run the report, I get single values (as expected since there is no category to spread the values across). So I know that the report is able to be rendered...doesn't have a property incorrect (ie. evaluation time). I cannot, for the life of me, figure out why the category section of the HTML5 chart is causing this behaviour. I have used all of the fields in the above example as potential categories (month, monthvalue, monthnumber)...all with the same results. Below is the XML code from the report...not much there right now as i'm just trying to get the HTML5 chart to actually render. <?xml version="1.0" encoding="UTF-8"?><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="HTML5 Disk Chart" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="6e87ff3c-0c4e-4dc8-b061-25e8621a06fd"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <queryString> <![CDATA[exec rptsp_disk_forecast_raw 'atg-exchange']]> </queryString> <field name="target" class="java.lang.String"/> <field name="Month Value" class="java.lang.Integer"/> <field name="Month Number" class="java.lang.Integer"/> <field name="Month" class="java.lang.String"/> <field name="Actual" class="java.lang.Float"/> <field name="forecast" class="java.lang.Float"/> <background> <band splitType="Stretch"/> </background> <title> <band height="506" splitType="Stretch"> <lineChart> <chart evaluationTime="Report"> <reportElement uuid="79fc4ae9-7817-4362-b614-83fd343f8190" x="38" y="18" width="468" height="144"/> <chartTitle/> <chartSubtitle/> <chartLegend/> </chart> <categoryDataset> <categorySeries> <seriesExpression><![CDATA[$F{target}]]></seriesExpression> <categoryExpression><![CDATA[$F{Month}]]></categoryExpression> <valueExpression><![CDATA[$F{Actual}]]></valueExpression> </categorySeries> </categoryDataset> <linePlot isShowShapes="false"> <plot/> <categoryAxisFormat><axisFormat/></categoryAxisFormat> <valueAxisFormat><axisFormat/></valueAxisFormat> </linePlot> </lineChart> <componentElement> <reportElement uuid="339f574c-e88c-4b0c-a0ce-a3efe3a5c772" x="38" y="180" width="468" height="144"/> <fc:chart xmlns:fc="http://jaspersoft.com/fusion" xsi:schemaLocation="http://jaspersoft.com/fusion http://jaspersoft.com/schema/fusion.xsd" type="Line" evaluationTime="Report"> <fc:chartDataset> <fc:item> <fc:seriesExpression><![CDATA[$F{target}]]></fc:seriesExpression> <fc:labelExpression><![CDATA[$F{Month}]]></fc:labelExpression> <fc:valueExpression><![CDATA[$F{Actual}]]></fc:valueExpression> </fc:item> </fc:chartDataset> </fc:chart> </componentElement> <componentElement> <reportElement uuid="ed8e8cfe-e829-45d3-8e7d-7d2769dfc4ff" x="38" y="341" width="468" height="150"/> <hc:chart xmlns:hc="http://jaspersoft.com/highcharts" xsi:schemaLocation="http://jaspersoft.com/highcharts http://jaspersoft.com/schema/highcharts.xsd" type="StackedLine" evaluationTime="Report"> <hc:chartSetting name="default"> <hc:chartProperty name="title.text" value=""/> <hc:chartProperty name="credits.text" value=""/> <hc:chartProperty name="credits.enabled" value="false"/> <hc:chartProperty name="credits.href" value=""/> <hc:chartProperty name="yAxis.title.text" value=""/> </hc:chartSetting> <multiAxisData> <multiAxisDataset/> <dataAxis axis="Rows"> <axisLevel name="Level1"> <labelExpression><![CDATA["Level1"]]></labelExpression> <axisLevelBucket order="None" class="java.lang.Comparable"> <bucketExpression><![CDATA[$F{Month}]]></bucketExpression> </axisLevelBucket> </axisLevel> </dataAxis> <dataAxis axis="Columns"> <axisLevel name="Target"> <labelExpression><![CDATA["Target"]]></labelExpression> <axisLevelBucket order="None" class="java.lang.Comparable"> <bucketExpression><![CDATA[$F{target}]]></bucketExpression> </axisLevelBucket> </axisLevel> </dataAxis> <multiAxisMeasure name="Actual" class="java.lang.Number" calculation="Average"> <labelExpression><![CDATA["Actual"]]></labelExpression> <valueExpression><![CDATA[$F{Actual}]]></valueExpression> </multiAxisMeasure> </multiAxisData> <hc:series name="Actual"/> </hc:chart> </componentElement> </band> </title> <pageHeader> <band height="6" splitType="Stretch"/> </pageHeader> <columnHeader> <band height="6" splitType="Stretch"/> </columnHeader> <detail> <band height="6" splitType="Stretch"/> </detail> <columnFooter> <band height="8" splitType="Stretch"/> </columnFooter> <pageFooter> <band height="8" splitType="Stretch"/> </pageFooter> <summary> <band height="6" splitType="Stretch"/> </summary></jasperReport>[/code] any help would be greatly appreciated. Thank you.
  18. Hi all, I am implementing some data visualizations and creating some reports via iReport Pro (meaning I have Charts Pro, HTML5 and the standard charts). I also can use the newer JasperSoft Studio pro if that has a better implementation of the charts that I don't see. I have a couple of questions: Does iReport or Jaspersoft in any way support the HighCharts (HTML5) candlestick charts?If so, how do reference that? I don't see an option anywhere in the cart object about that style of chartIs there any way to change the default colors for the candlestick itself? I can change the series color, but I can't seem to find where to change the horrible green and red for the candlestick itself.Thank you in advance.
  19. Hello, Fairly new to the iReport tool, and I'm having some problems with generating a basic report. I have the following data as a result of an MSSQL query: SampleTimeSystemPoll Value2/22/14 1:42System10.952/22/14 1:47System11.122/22/14 1:52System11.032/22/14 1:57System11.122/22/14 2:02System11.022/22/14 2:07System11.192/22/14 2:12System10.982/22/14 2:17System11.242/22/14 2:22System10.952/22/14 2:27System11.112/22/14 2:32System10.942/22/14 2:37System11.132/22/14 2:42System11.032/22/14 2:47System11.102/22/14 2:52System10.882/22/14 2:57System11.152/22/14 3:02System10.902/22/14 3:07System11.182/22/14 3:12System11.002/22/14 3:17System11.032/22/14 3:22System11.132/22/14 3:27System11.012/22/14 3:32System11.142/22/14 3:37System11.032/22/14 3:42System11.192/22/14 1:43System223.452/22/14 1:48System223.542/22/14 1:53System222.312/22/14 1:58System222.642/22/14 2:03System219.562/22/14 2:08System228.292/22/14 2:13System224.762/22/14 2:18System225.262/22/14 2:23System226.522/22/14 2:28System225.902/22/14 2:33System224.502/22/14 2:38System227.002/22/14 2:43System221.612/22/14 2:48System223.632/22/14 2:53System226.302/22/14 2:58System229.002/22/14 3:03System225.342/22/14 3:08System225.582/22/14 3:13System227.312/22/14 3:18System226.012/22/14 3:23System226.362/22/14 3:28System221.632/22/14 3:33System224.802/22/14 3:38System227.992/22/14 3:43System227.552/22/14 3:48System228.36What I am trying to do is just to show on page 1, a chart of the data for System1...On page 2, a chart of the data for System2 I have created a group band on system, and placed a time-based chart in the group summary. The chart has as the Series Expression $F{System} -- Time Period Expression $F{SampleTime} and Value Expression $F{PollValue} When I run the report, it shows system1 correctly, but on system2's chart it shows both series (System1 and System2 on the same chart)...I only want System2 to show I have tried a few variations of the evaluation time on the chart...but I can't seem to figure out why the system is combining the two values. i'm sure it's something pretty simple that I am just overlooking. Any help would be greatly appreciated.
×
×
  • Create New...