saradhasivaraman Posted November 19, 2012 Share Posted November 19, 2012 Hi ,Need chart scriptlet real time example to take up data's dynamically... the one which i referred http://community.jaspersoft.com/questions/503439/chart-scriptlet-real-example from this site doesn't seem to work.. PRefering from abv url..Not able to find the API generateGraph() from the REPORT_SCRIPTLET ((com.brainscript.yield.yieldgraph.service.YieldChartReportScriptlet)$P{REPORT_SCRIPTLET}).generateGraph() Plz help me .. Link to comment Share on other sites More sharing options...
mdahlman Posted November 19, 2012 Share Posted November 19, 2012 You should look up Chart Themes and Chart Customizers. It's not clear that you'll be able to do what you're intending to do. You'll need to provide quite a bit more detail to get a solid answer. Link to comment Share on other sites More sharing options...
saradhasivaraman Posted November 21, 2012 Author Share Posted November 21, 2012 This issue has been resolved..((com.brainscript.yield.yieldgraph.service.YieldChartReportScriptlet)$P{REPORT_SCRIPTLET}).generateGraph() This line referred form the url http://community.jaspersoft.com/questions/503439/chart-scriptlet-real-example as such doesn't work..1) Need to specify the class name in the scriptletclass of ireportExample:com.brainscript.yield.yieldgraph.service.YieldChartReportScriptletthen2) specify the method name in the tag. Example :$P{REPORT_SCRIPTLET}).generateGraph(). jst specifying the method name with the reference object of the class ($P{REPORT_SCRIPTLET})) will suffice in imageexpression ... This works fine.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now