Wijmo UI for the Web
marginBottom Option
wijmo.chart.wijbarchart Namespace > options type : marginBottom Option
Sets the amount of space in pixels between the chart area and the bottom edge of the <div> that defines the widget.

Type: Number

Default value: 25

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijbarchart("option", "marginBottom");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijbarchart("option", "marginBottom", newValue);
        
});
var marginBottom : number;
Example

This code sets the bottom margin to 75 pixels. The image below shows the difference between this setting and the default value of 25 pixels.

<script id="scriptInit" type="text/javascript">
    $(document).ready(function () {
        $("#wijbarchart").wijbarchart({
            marginBottom: 75,
            seriesList: [{
                label: "US",
                data: { x: ['PS3', 'XBOX360', 'Wii'], y: [12.35, 21.50, 30.56] }
            }, 
            {
                label: "Japan",
                data: { x: ['PS3', 'XBOX360', 'Wii'], y: [4.58, 1.23, 9.67] }
            }, 
            {
                label: "Other",
                data: { x: ['PS3', 'XBOX360', 'Wii'], y: [31.59, 37.14, 65.32] }
            }],
        });
    });
</script>
See Also

Reference

options type
wijbarchart Method