adamletch Posted August 25, 2017 Share Posted August 25, 2017 I noticed when using Jasper Studio they give you the option to set the minimum slice percentage to be shown in your report. What I desire however is to make this dynamic via a parameter to be sent to jasper reports. The source of jrxml shows this value declared like so:<pieDataset minPercentage="2.0">[/code]I suspect that parameters cannot be used in the normal way for this and so have looked into using chart customizers but to no avail.public class PieChartCustomiser implements ChartCustomizer { public void customize(JFreeChart chart, ChartComponent chartComponent) { PiePlot piePlot = (PiePlot) chart.getPlot(); ...[/code]Searching around for more info on this seems to return a blank so any help is appreciated.Thanks. 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