jQuery.wijmo.wijbarchart Namespace > options type : horizontal Field |
Default value: true
A value that determines whether the bar chart renders horizontally or vertically.
Javascript (Usage) | |
---|---|
var value; // Type: boolean value = jQuery.wijmo.wijbarchart.options.horizontal; |
Javascript (Specification) | |
---|---|
var horizontal : boolean; |
// 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] } }] });