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

Default value: ""

Sets the numeric format of the chart labels that show the value of each chart element. You can use Standard Numeric Format Strings.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijchartcore("option", "chartLabelFormatString");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijchartcore("option", "chartLabelFormatString", newValue);
        
});
var chartLabelFormatString : string;
Example
This example formats the chart labels as numbers with thousand separators and zero decimal places.
$("#linechart").wijlinechart({
   chartLabelFormatString: "n0"
});
Remarks
See Formatting Strings for more information.
See Also

Reference

options type
wijchartcore jQuery Widget

Concepts

Formatting Strings