Wijmo UI for the Web
textStyle Option

Creates an object to use for the fallback style of any chart text that does not have other style options set.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var value; // Type:  any
    value = $(".selector").wijcompositechart("option", "textStyle");
    
    // Set value
    var newValue; // Type:  any
    $(".selector").wijcompositechart("option", "textStyle", newValue);
        
});
Javascript (Specification) 
var textStyle : any;
Remarks
Each type of text in the chart has a different set of styles applied by default, but if those styles are set to null, or if a particular style option is not set by default, the chart falls back on any style options you set in this option. Styles for specific types of chart text that may use this option as a fallback style are set in the following options: axis x labels style axis x textStyle axis y labels style axis y textStyle chartLabelStyle footer textStyle header textStyle hint contentStyle hint titleStyle legend textStyle legend titleStyle The style is defined in Raphael here is the documentation: http://raphaeljs.com/reference.html#Element.attr. The style is the “attr” method’s parameters.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijcompositechart jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.