Chart.DataPointLabels
Defines DataPointLabels settings.
Sample configuration:
var dataPointLabelsConfig = {
fillStyle: 'red',
font: '12px sans-serif',
valueType: 'percentage'
}
Example usage:
$(document).ready(function () {
$('#selector').jqChart({
title: { text: 'Data Point Labels' },
series: [
{
type: 'column',
title: 'Series 1',
data: [['A', 33], ['B', 57], ['C', 33],
['D', 12], ['E', 35], ['F', 7], ['G', 24]],
labels: {
font: '14px sans-serif',
fillStyle: 'red',
stringFormat: '%d K'
}
}
]
}
}
Defined By