Wijmo UI for the Web
horizontal Field

Default value: true

A value that determines whether the bar chart renders horizontally or vertically.

Syntax
Javascript (Usage) 
var value; // Type: boolean
value = jQuery.wijmo.wijbarchart.options.horizontal;
Javascript (Specification) 
var horizontal : boolean;
Example
// set the bar as column chart.
        $("#wijbarchart").wijbarchart({
    horizontal: false,
    seriesList: [{
        legendEntry: false,
        data: {
            x: ['Ford', 'GM', 'Chrysler', 'Toyota', 'Nissan', 'Honda'],
            y: [.05, .04, .21, .27, .1, .24]
        }
    }]
});
Remarks
If set to false, the numeric Y axis renders to the left, and the X axis labels render below the bars.
Browser Compatibility
7
5
5

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.