Jump to content
We've recently updated our Privacy Statement, available here ×

Custom Visualization with Java vs Javascript


iman.gharib
Go to solution Solved by hozawa,

Recommended Posts

I need to have some charts in my report which are not in basic elements, such as box plot. I know that the jasper lets implementing new visualization using JavaScript via Custom Visualization element. Because I am not familiar with JavaScript , I thought maybe it is possible and feasible to create java jars for Jasperstudio which create those charts and get the data at runtime from parameters or database. But I am not sure, whether or not I will come to dead end by doing that. So I wanted to ask, if it is an good idea to create the extra elements such as some charts, and add them as Jar to the Jasperstudio?

regards

Iman

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

If box plot is what you want, have you just tried using adding to the current Chart component instead of using custom visualization component?

Chart component is just jFreecharts. Followiing post has some information on using jFreechart to draw box plot.

http://stackoverflow.com/questions/28497339/box-plot-using-jfreechart

 

Information on using jFreechart in JasperReports.

http://jasperreports.sourceforge.net/sample.reference/jfreechart/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...