Jump to content
Changes to the Jaspersoft community edition download ×

dpetzold

Members
  • Posts

    16
  • Joined

  • Last visited

dpetzold's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. In the main menu here you will see "Tracker". Select this and the "Create new Bug Report" hyperlink. This is very helpful as we are reviewing this.
  2. You can use a special event ‘pageFinal’ which triggers when first page is ready. events: { pageFinal: function(el) { alert("Page is final!", el); } }, See the following example... http://jsfiddle.net/Suzfd/11/ With this the first page will show before all report pages are ready.
  3. You could use the export function for Visualize.js and simply only have it run when some action (or paramater) is being passed into your embedded report. $(function() { $("#filterTen").on('click', function() { limitResults(10); });$("#filterReset").on('click', function() { resetFilters(); });$("#ExportButton").on('click', function() { slaveReport.export({ outputFormat: $("[data-paramId=exportFormat]").val() }, function(link) { var url = link.href ? link.href : link; window.location.href = url; }, function(error) { console.log(error); }); });});[/code]
  4. You may want to enable logging to reveal more in the javascript console <script type='text/javascript' src="http://localhost:8080/jasperserver-pro/client/visualize.js?logLevel=debug"></script> Here's additional information on customizing your script with paramaters like this here... http://community.jaspersoft.com/wiki/visualizejs-api-notes-and-samples-v56
  5. Yes, it certainly appears that Highcharts is being loaded twice here. Have you logged a case around this yet? I'm happy to look into this.
  6. Are these tabs in a report or in your HTML? Usually tabs can only be seen one at a time in a page. I would be interested in more specfically how you are moving from one report to the next. Are they both on the same page? Any source files would be helpful as well.
  7. While scheduling with Visualize.js directly is not yet available (REST services is the correct way today) you should be able to set predefined names for your reports and again, run Visualize.js to render the report at a set time. Since Visualize.js is a JavaScript library you have a host of ways you can control when and how the report renders in your page.
  8. If the Visualize.js report changes after a few days (from the initial rendering) then you are going to need to rerun it again for it to render any changed information. Is there a particular reason you don't want it to re-run at a later time? You could code a function to either set a specific time or trigger by a method (action) to rerun this report and render it in your secondary page.
  9. Are you currently seeing the image in your report when you view it in JRS? Any additional details, files, screenshots would be helpful.
  10. In this fiddle you can see how hyperlinks should be implemented using Visualize.js. With this example, when you select from a city in the report it will open a secondary report below.
  11. Keep in mind that all paramaters passed through Visualize.js start out in an array. Here is a fiddle showing the proper way to pass paramaters with multiple values. If they can't be hard coded you can pull them in dynamically using variables.
  12. Are you simply trying to pass in comma seperated values similar to this fiddle? Where... params: { "ArrayName": ["Value1", "Value2"] },
  13. You may want to try passing total row numbers with $V{REPORT_COUNT}. If this is translated into a passable parameter within Studio then it could be used within the Visualize.js framework to indicate the row count. Keep in mind that the variable scope starts after the query has been executed. If you can pass your calculation variable into a paramater it can then be easily passed into Visualize.js. In fact if you are only trying to discover if rows < 1 you can first do this calculation in a report variable and then pass a boolean paramater through Visualize.js to help aregister if the report has actual data. Perhaps something like this two step process will work to pass values from main report variables to a sub dataset through paramaters. 1) Create a paramater ($P{x}) in your sub dataset with the same data type as the variable ($V{y}) data type you want to pass. 2) In the report component (table, list, charts, etc) using the sub dataset, add the paramater in the sub dataset to pass the values $V{y} through $P{x}. Parameter: x Expression: $V{y} This will pass variable y to the sub dataset through its paramater x at run time when the report component is called.
  14. There is report book pagination for reports. Is this part of what you are trying to accomplish? Perhaps you can provide more details around your specific use case. Visualize.js offers integration with pagination through anchors as you see in this fiddle. Additional fiddles around pagination can be found here.
  15. Currently exporting a dashboard is enabled in the dashboard designer. You can follow these instructions for setting this up. In terms of direct exporting through Visualize.js, this feature is availble for reports but not yet available (as of this post) for dashboards.
×
×
  • Create New...