Wijmo UI for the Web
marginBottom Option
wijmo.chart.wijchartcore 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").wijchartcore("option", "marginBottom");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijchartcore("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
marginLeft Option
marginRight Option
marginTop Option
wijchartcore jQuery Widget