$('#jqChart').jqChart({
legend: { visible: false },
animation: { duration: 1 },
series: [
{
type: 'pie',
fillStyles: ['#418CF0', '#FCB441', '#E0400A', '#056492', '#BFBFBF'],
labels: {
stringFormat: '%s',
valueType: 'dataValue',
font: '15px sans-serif',
fillStyle: 'white'
},
data: [['N', 65], ['A', 58], ['B', 30],
['F', 60], ['C', 65]]
}
]
});
labels: {
stringFormat: '%s',
valueType: 'dataValue',
font: '15px sans-serif',
fillStyle: 'white'
},
$('#jqChart').bind('dataPointLabelCreating', function (event, data) {
data.text = data.context.dataItem[0];
});
$('#jqChart').jqChart({
legend: { visible: false },
animation: { duration: 1 },
series: [
{
type: 'pie',
fillStyles: ['#418CF0', '#FCB441', '#E0400A', '#056492', '#BFBFBF'],
labels: {
stringFormat: '%s',
valueType: 'dataValue',
font: '15px sans-serif',
fillStyle: 'white'
},
data: [['N', 65], ['A', 58], ['B', 30],
['F', 60], ['C', 65]]
}
]
});