need to set width of bar in a chart
Thread is closed for posting
Posted 23 Sep 2010
Link to this post
we are Creating bar chart and that are coming very well. This we are generating dynamically. Please see the attached Image.
now my problem is I want to set the width for bars. For example I have giving width for my chart is 500. and when I add 2 Items then it shows 2 bars in whole 500 width.
When I add 10 Items then it shows 10 bars in same 500 width.
now I want to set the width for bar so I can fix the bar width and it will show from left to right . so when I add only 2 Items then it comes from left and will have empty space in right side. It will not take whole space (500) in chart.
Please see the attached Image for my current graph.