I have sample data which I want to show in bar/pie graph using export plugin in grails. I googled a lot but was unable to get exact details of how to do it?
Can anybody please provide me links or any information to start off with this? Thank you.
You didn't provide much description about exactly what your use case is but there are a number of charting plugins for Grails mentioned in this question:
Grails and charting?
These plugins would enable you to render charts on your page. Then there's the issue of converting to PDF. Is it acceptable for users to print the web page to PDF using the browser's functionality? If not, again there are plugins for converting GSPs to PDF (such as http://grails.org/plugin/pdf).
Hopefully you should be able to do what you want with a combination of plugins.
Related
I have a JIRA server installed on my server I would like to add a javascript to all pages. any idea how?
I could not change any jsp file it seems that all are compiled could not be modified.
If hacky solutions don't make you feel uncomfortable, you might be able to use the "Announcement Banner" to achieve this. You can insert html/css/javascript there and it will be displayed on each page in JIRA.
There's an example available here.
The "Announcement Banner" documentation is available here.
Note that this only works on JIRA Server. On JIRA Cloud the Announcement Banner only accepts text or wiki format.
I am pretty new to developing addons but I'd like to make one that modifies/replaces the about:netError page.
I could not find tutorials or documentation anywhere, is it even possible?
Thank you.
Edit: I need to edit the xhtml file which shows the info about error.
I have a requirement to generate report in Pentaho, and display in jsp pages (in struts application). If any one know about implementation of Pentaho please Replay...
There are multiple ways of doing it. I have done it using Xactions (in Pentaho version 4.x.x). Call the reports in Xactions and then use xaction url from JSP page to embedded it.
Also you can also look at the Pentaho wiki for embedding and extending reports.
There are also similar links :
http://forums.pentaho.com/showthread.php?54076-Calling-Pentaho-Reports-From-JSP
Embedding a Pentaho report inside a panel on another web page
.prpt reports running from java
The basic idea (probably) is to publish the report and call the report using the report URL from the JSP/Java page.
Hope this helps :).
How can I print .docx,doc,xls,csv in rails 4?
I tried window.open and window.print using javascript, but each time when it invokes window.open it downloads the file.
I tried to embed that in an iframe, that also fails.
Displaying a specific type of file isn't something that relies on your application it relies on the browser. In common browsers there is no support to display the file formats you mentioned.
What you can do is implementing some document viewers based on js if they are available for your usage. For example I know there is a plugin viewer.js that provides functionality to convert office and pdf to html. That might help you out... https://developers.box.com/viewer-js-tutorial/
I tried doing this some time back and this is the blog which i refereed. Helped a great deal.
Hope this helps.
Has anyone gotten Highcharts working within Google Apps Scripts.
http://www.moxiegroup.com/moxieapps/gwt-highcharts/download.jsp
I know that you can do in GWT via:
http://www.moxiegroup.com/moxieapps/gwt-highcharts/quickstart.jsp
Is there anyone aware of how to apply this to Google Apps Scripts environment?
If you're using HtmlService to publish your web app, you can certainly add the Highcharts javascript file to your page with <script> tags, but be warned that Google Caja sanitizes your HTML code before it displays it to the user. What does this mean? Well, since the highcharts js file is pretty big, it will take a while (in the realm of several seconds) to sanitize it.
You're probably better off using the Apps Script Charts service.