Next
Update
Prev
Default

If you want to change the bar width set automatically when bar chart is created, use the barWidthRatio and maxBarWidth attributes in the <Bar2DChart> element tag. If both of the two attributes are used, then the bar width will be determined by the minimum value of barWidthRatio and maxBarWidth. For example, let's say that the size of the total area is 400px and the number of bars is 5, and if barWidthRatio="0.1", maxBarWidth="100", then the value of barWidthRatio is used to determine the size of a bar, so that 8px sized bars will be created.

...
<Bar2DChart showDataTips="true" barWidthRatio="1" maxBarWidth="6" >
'''
</Bar2DChart>
...
barWidthRatio The barWidthRatio attribute determines the bar width by using the percentage of the width of categories. For example, let's say that the size of the total area is 400px and the number of bars is 5, and if the value is "0.5", then 50% of the area (200px) will be used to draw bars, so that the size of each bar will be 40px.
maxBarWidth The maxBarWidth attribute determines the bar width by using the value of Pixel.

© 2017 KoolChart. All rights reserved.