Click here to Skip to main content
15,891,025 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
HI all is there any way i can change the size of bar like the hight and width in a cloumn chart i have a report with lot of charts and some bars are looking ok but some bars are looking fat,how can i adjust that any ideas please i am using BIDS 2008
Posted

chart1.Series["Series1"]["PixelPointWidth"] = "5";
 
Share this answer
 
Comments
Member 9775999 22-Mar-13 6:11am    
Thanks..it worked out.. :)
AFAIK, Width of the bar is automatically adjusted based on the X-Axis value range. If you need a consistent width then you need to set a constant X-Axis value range in all.

In case consistency is not the thing but you need some change in width, then just tweak the x-axis range value.
 
Share this answer
 
Comments
makwith9789 22-Mar-11 17:40pm    
WHAT IS THE CASE IF I HAVE NAMES ON X-AXIS
Sandeep Mewara 23-Mar-11 2:50am    
They will be there. What about them. They will try to fit in available place.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900