Creating your Custom Visualization Components v6.0.x
For creating the custom Visualization Components follow the following
link : http://community.jaspersoft.com/wiki/creating-your-custom-visualization-components-v60x
Publishing custom component in jasper Server
——————————————————————–
we have to configure 3 properties in (jasperreports.properties)file
you will find this file in this path
C:\Jaspersoft\jasperreports-server-6.2.0\apache-tomcat\webapps\jasperserver-pro\WEB-INF\classes\jasperreports.properties
# custom visualization
com.jaspersoft.jasperreports.components.customvisualization.require.js=file:\C:\Jaspersoft\jasperreports-server-6.2.0\apache-tomcat\webapps\jasperserver-pro\optimized-scripts\bower_components\requirejs\require.js
net.sf.jasperreports.web.resource.pattern.customvisualization.scripts=com/jaspersoft/jasperreports/customvisualization/resources/require/.*
com.jaspersoft.jasperreports.components.customvisualization.phantomjs.executable.path =C:\phantomjs\bin
set the path of
——————
customvisualization.require.js –>to appropriate path
pattern.customvisualization.script—>to appropriate path
customvisualization.phantomjs —> set phantom js path
you will get phantom js file here : http://phantomjs.org/
extract and set location of phantomjs path in Environment Variables
or
in –>system Properties–>Environment Variables–>set PATH :C:\phantomjs\bin
After these configurations if you want to run Samples
please go through this link: http://community.jaspersoft.com/wiki/custom-visualization-component-v60x-how-run-samples
Best Open Source Business Intelligence Software Helical Insight is Here