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

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").wijchartcore("option", "showChartLabels");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijchartcore("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
wijchartcore jQuery Widget