Wijmo UI for the Web
showChartLabels Field
wijmo.chart.wijbarchart Namespace > options type : showChartLabels Field

A value that indicates whether to show a label with the value of each chart element.

Type: Boolean

Default value: true

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijbarchart("option", "showChartLabels");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijbarchart("option", "showChartLabels", newValue);
        
});
var showChartLabels : boolean;
Example

This example shows the same chart without labels.

<script id="scriptInit" type="text/javascript">
    $(document).ready(function () {
        $("#wijbarchart").wijbarchart({
            showChartLabels: false,
            seriesList: [{
                label: "2012 Auto Sales",
                data: { 
                    x: ['Ford', 'GM', 'Chrysler', 'Toyota', 'Nissan', 'Honda'], 
                    y: [.05, .04, .21, .27, .1, .24] 
                }
            }],
    });
});
</script>
See Also

Reference

options type
wijbarchart Method