Jump to content
We've recently updated our Privacy Statement, available here ×

Stretching the bar chart width in Excel


abc.hegde
Go to solution Solved by abc.hegde,

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...