I want to give hyperlink in HTML 5 Chart, so that If I click anywhere in the chart area , that should be redirected to the different report.
How can I achieve this in iReport?
A Jaspersoft employee just directed me to this article on the wiki. Summary of the article:
Edit Chart Properties->Chart Data->Data Axes
Under Categories, click to add/modify the one you want
Click the properties tab, and then "Add"
Give a name, such as "myUrl" and then enter the URL and close it
Under measure, select the one you want to link and click Hyperlink
Double click each to edit as you wish
If you want a different report depending on the slice, you'll need to set the URL expression in a property for the category bucket. The bucket properties weren't showing up for me, but I figured out you can type it in as bucket_name.property_name (say bucket was named urlBucket and property was myUrl: urlBucket.myUrl). If it is one report for the entire report, you can set it as a constant in the measure hyperlink.
Usually if you right click in any charts in Ireport and select "hyperlink" .
There you can add the hyperlink details like which report you want to add and pass parameters from main report to child report.
You can refer this link
(But i am not sure about HTML5 charts because I use community edition and in community edition we don't have HTML5 charts)
Related
Is there a way to make the input section (filters) collapsible while viewing the report in jasper? This is to get a wider view of the entire report. The input section takes away some space. So, once I select my filters, I would want a mechanism to collapse it. Is there a way for this?
Thanks
Rathi
If you right-click the report in the repository browser and choose Edit, you can customize how the input controls layout in the report viewer, for example you could choose Pop-up window.
See here for a description of all the layouts: https://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v640/customizing-report-rendering-page
There is a way. You can use "Input Controls" icon available in the Report Viewer Tool Bar to show/ hide the filters for a report. See image here:
Show-Hide Input controls
Alternatively, if you got Commercial edition of Jasper Reports Server, you can create your own custom report viewer page to add auto hide feature for input controls (filters) and can embed reports inside it using Visualize.js.
I am using Crystal Reports XI and trying to create a text box that would be displayed on every page of my multi-paged subreport. The text box exists on either the left or right hand side of the resulting pages. Right now, I am only able to display the text box once and only because the text box is placed on the main report. I tried to place the text box on a possible "page" section of the subreport but was not able to find such section.
Appreciate whatever suggestions you have. Thank you all! Sincerely,
You can place a repeating text box in the page header or page footer section that will print on every page.
That is the most reliable way to guarantee it showing on each page. The real question is: What kind of information are you wanting to display? If it is dynamic information that changes with the data on each page, the solution is much more complicated. If you are showing a static item, like a disclaimer, then the solution provided should be sufficient.
If you need more specific help, please provide more information regarding type of content and what you have or haven't tried. This will keep people from wasting time on solutions you know don't work...
Hi Create a formula #Group like below and apply group on this.And place the textbox on group header.
whilereadingrecords;
""
Goto change group->Repeat group header on each page.
I want to make a report in cognos.I put chart in my report. And when I run the report , if I right click on chart I see the download chart option. I want to this option(download chart) on my report. I mean I dont want to need right click on chart.I want to see a button which when I click on it I download the chart.
Thanks.
There isn't a built-in button within report studio for this. You will need to insert a button in an html item, if your consumers are running IE you can use
document.execCommand('SaveAs','true','http://chartsfilename.jpg')
as the javascript for it to run. You will also need a way to dynamically derive the chart's url. I would imagine you'll need some javascript for this, without having an environment to test on currently I would point you to http://www.ironsidegroup.com/2011/09/27/ibm-cognos-and-javascript-%E2%80%93-part-ii/
We are trying to create Crystal Report but have a problem with page template creation.
Report looks like this:
It should be "stamp" in the right bottom corner of page. First page stamp looks little different from other pages stamp.
At the left part of page on the left margin two objects are placed. Both of them oriented vertically and should work as header and footer (should be shown on every page) but take more room than required for usual header and footer. In this case we can't use usual header and footer to place these objects.
Tables on pages should work as "background" because even 1 record on page should show 20-row table (with first row filled in this example)
It would be great if we have something like "left running title" but we can't see such feature in CR.
I attached couple images to show how the report should look (sorry, i can't post images here because have no enough reputation points):
First Page Second Page
Could you please say how such report template can be created? We have no skilled CR developer in our company and have no idea which way of report creation can be used :(
We also agree to use another report engine if it is free and can work with .NET applications
Thanks for help
Dmitry
You can use underlay property of the sections to get the desired result. You can use the page header and page footer for putting the details and for page-header, set the underlay property to TRUE and for the footer, set the property of the detail section (I presume, you have a single detail section in the report) to TRUE. This will make the details of the header and footer display beneath the detail section.
I have a report with an embedded hyperlink to an on demand sub report. I am trying to make the hyperlink invisible and then place it on top of a text object so that when a user clicks on the text object, the link activates and takes the user to the sub report. i tried formatting the sub report font to crNocolor in the formula bar, but it did nt seem to work. Thanks
Why not enter the link details into the Hyperlink section of the text object in Format Editor?
Click on your text object and Right click->Format Text->Hyperlink and you'll see the panel as shown below (picture is from the Standalone CR Developer XI). I've never used this feature, but can you use it to link to your on-demand report?