Wijmo UI for the Web
width Option

Default value: null

Sets the width of the chart in pixels.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var value; // Type:  any
    value = $(".selector").wijchartcore("option", "width");
    
    // Set value
    var newValue; // Type:  any
    $(".selector").wijchartcore("option", "width", newValue);
        
});
Javascript (Specification) 
var width : any;
Remarks
Note that this value overrides any value you may set in the <div> element that you use in the body of the HTML page If you specify a width in the <div> element that is different from this value, the chart and its border go out of synch.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijchartcore jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.