johnny Report post Posted June 2, 2009 Hi. I need to set max bar height in StackedBar2D, I don't see an option for this in the manual. Is it only available in MSBar3D? Share this post Link to post Share on other sites
Guest Rajroop Report post Posted June 2, 2009 Hello, Welcome to the forum. I'm afraid to convey to you that there are no attributes for setting/customizing the bar height in StackedBar2D charts, as of now. However, you could use plotSpacePercent='<0-80>' to create some distance between the data plots. Share this post Link to post Share on other sites
johnny Report post Posted June 2, 2009 That's a problem for me. Since I want to control the height of bars, not the distance between them, plotSpacePercent is no good. Do you know if and when will it be added? Thanks. Share this post Link to post Share on other sites
saptarshi Report post Posted June 5, 2009 Hello, Could you tell us specifically why you want to control the bar height. We may try to look at some other way of achieving your end? There may be no way at all. But no harm in trying, right? Share this post Link to post Share on other sites
johnny Report post Posted June 8, 2009 (edited) I'm basically want to control the max bar height in the MSBar2d, just as maxColWidth in the Column2D. So no matter how many bars i have in my chart, i want them for example always be 15px max in height. Without this limitation, the bar chart looks very different when rendering with varying amount of bars. Thanks. Edited June 8, 2009 by Guest Share this post Link to post Share on other sites
saptarshi Report post Posted June 10, 2009 Hello, I am afraid there is no way to directly specify the height of the bars in pixels. You could try using the YAxisMaxValue='number' attribute in the chart element to specify maximum Y-axis value that will show on the chart. This data points should lie within this specified range, however. Otherwise the maximum value set will be over-ridden. Hope this comes of use. Share this post Link to post Share on other sites