abc.hegde Posted May 26, 2015 Share Posted May 26, 2015 Hi,I am generating a bar chart and exporting in an Excel. When the number of bars are more, the width of the bar gets decreases and the width of the chart remains same. Since I am exporting in excel i would love to have the chart width getting expanded horizontally with keeping the bar width fixed. Can some one has any heads up for this? Link to comment Share on other sites More sharing options...
Solution abc.hegde Posted May 29, 2015 Author Solution Share Posted May 29, 2015 I myself was able to find a workaround. I wrote a customizer where I get the jfree chart and JasperChart objects. I read the dataset there and found out the numbe rof bars. I then updated the width of the chart using JasperChart object and the value set for width was calculated based on the number of bars to display. 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