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/
Related
I expected to use a box and parameter control to show different worksheets in the dashboard. I made sure that I put the displayed chart at first, the hided charts as followed, and show parameter control, but it did not show the control. How can I solve that?
enter image description here
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 need some help with drill through. I have a main dashboard with high level aggregated data. I need to drill through to a details report I have created with more granular data. The chart type I have used in the dashboard is a CARD, to which it should drill down from. Only thing is when I right click it does not give the drill option. I have added the relevant field into the details report but still no rightclick --> drill through. Any advice would be great. Could this be a limitation with Power BI?
I agree that it's poor form not to have this sort of functionality. I've tried multiple workarounds, using other visualisations without success. The only thing that i can get to work is to have the card, and overlay a button on top of it (making sure that the button is transparent), which links to a bookmark on that page that i want to 'drill through' to.
I would change from the Card visual to a Table visual. After setting the Format properties you can achieve a similar look to a Card. And if you are show the right fields, then you can right-click and drill down.
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)
I have a report,when i export report in to the word format in ssrs 2008 r2 ,i lost my charts that are present in to the bottom of the report.I think this due to the page-break that occur.Please suggest me the appropriate solution about that.
please check the image of the report
Go to the properties for the chart and select "Add a page break before." Let me know if you are still having issues after doing that.
I would also try putting all of the items in a rectangle (and adding a page break before on the rectangle itself if necessary).