Wijmo UI for the Web
footer Option
wijmo.chart.wijbarchart Namespace > options type : footer Option

Sets up the object to use as the footer of the barchart.

Type: wijmo.chart.chart_title object

Default:

{
    compass:"south", 
    orientation:"horizontal",
    style: {fill: "#fff", stroke: "none"}, 
    text: "",
    textStyle: {fill: "#000", stroke: "none"}, 
    visible: false
}
Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  wijmo.chart.chart_title
    returnsValue = $(".selector").wijbarchart("option", "footer");
    
    // Set value
    var newValue; // Type:  wijmo.chart.chart_title
    $(".selector").wijbarchart("option", "footer", newValue);
        
});
var footer : chart_title;
Example

This code creates a chart with a footer that looks like the one in the following image.

<script id="scriptInit" type="text/javascript">
    $(document).ready(function () {
        $("#wijbarchart").wijbarchart({
            footer: {
                compass: "east",
                style: {fill: "lightgrey", stroke: "blue"},
                text: "Increase Over Previous Year",
                textStyle: {
                    "font-size": 14, 
                    fill: "blueviolet", 
                    "font-family": "Verdana", 
                    "font-weight": "bold"
                },
                visible: true
            },
            seriesList: [{
                legendEntry: false,
                data: { 
                    x: ['Ford', 'GM', 'Chrysler', 'Toyota', 'Nissan', 'Honda'], 
                    y: [.05, .04, .21, .27, .1, .24] 
                }
            }],
        });
    });
</script>
See Also

Reference

options type
header Option
wijbarchart Method