Wijmo UI for the Web
textStyle Option
wijmo.chart.wijchartcore Namespace > options type : textStyle Option

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

Type: Object

Default value: {fill:"#888", "font-size": 10, stroke:"none"}

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  any
    returnsValue = $(".selector").wijchartcore("option", "textStyle");
    
    // Set value
    var newValue; // Type:  any
    $(".selector").wijchartcore("option", "textStyle", newValue);
        
});
var textStyle : any;
Example
In this example, we set the fill color for the fallback text style to red. Since all of the text that shows in this chart already has a fill value set, only the chartLabels take on the fallback color of red.
<script type="text/javascript">
$(document).ready(function () {
    $("#wijbubblechart").wijbubblechart({
        textStyle: {fill: "red"},
        seriesList: [
        {
            label: "A",
            data: {x: [40], y: [63.8], y1: [2552]}
        }, 
        {
            label: "B",
            data: {x: [16.5], y: [64.1], y1: [1057.65]}
        }, 
        {
            label: "C",
            data: {x: [13.5], y: [14], y1: [189]}
        }]
    });
});
</script>
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:

The style object is defined in Raphael, in the attr method's parameters. Here is the external documentation: http://raphaeljs.com/reference.html#Element.attr.

See Also

Reference

options type
disableDefaultTextStyle Option
wijchartcore jQuery Widget

Concepts

Style Options