rohitverma81 Posted February 14, 2007 Share Posted February 14, 2007 Hi to all developers... I am planning to use jasper report and ireport tool for my project, could any one please tell me whether Histograms are supported by jasper reports or not mind it I m asking about Histogram not Bar Chart. If yes whats the way to develop it using ireport.. Thanks in advanceRohit Link to comment Share on other sites More sharing options...
teodord Posted February 19, 2007 Share Posted February 19, 2007 Hi, JasperReports and iReport expose a chart component that covers the most common chart types and their most comment settings.But if you are aware of a specialized chart API able to render the exact chart type that you need (in this case histograms), you could leverage that API by making direct calls to it in an image element.This is shown in the /demo/samples/jfreechart sample and the /demo/samples/jcharts sample where we use the JFreeChart and the jCharts APIs directly to render charts. In those two sample, we are not relying on the built-in chart component that JasperReports has. Until histograms are part of the supported chart types, you could render them as shown in the samples. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
shrije Posted October 25, 2010 Share Posted October 25, 2010 I use iREport version 3.7.0. It does not seem to support histogram yet. Do the latest version of iReport support it or I should try the jfreechart APIs to do the same as mentioned in your reply.Regards,Shrirang Link to comment Share on other sites More sharing options...
svenn Posted October 25, 2010 Share Posted October 25, 2010 I have 3.7.4 and it does not support it. Link to comment Share on other sites More sharing options...
shrije Posted October 27, 2010 Share Posted October 27, 2010 i could make it work with jfreechart. IReport demo samples have one to use jfreechart on jasper templates. Here one can use jfreechart with histogram to show the chart. Getting the sample data for histogram was a challenge since it does not publish one on their site but i managed to get one from the source code sites. Link to comment Share on other sites More sharing options...
Scott Andesen Posted July 18, 2018 Share Posted July 18, 2018 FYI - here are links to the samples folder referenced above:http://jasperreports.sourceforge.net/sample.reference/jfreechart/index.htmlhttp://jasperreports.sourceforge.net/sample.reference/jcharts/index.html 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