I have a following data
{
label: 'A',
value: 10,
id: 0
},
{
label: 'B',
value: 12,
id: 1
},
{
label: 'C',
value: 4,
id: 2
}
When I set the tooltip visible to 'true' . I get the value on the tooltip but I am looking to display the label instead of value
<ChartSeriesItem
type="donut"
data={data}
categoryField="label"
autoFit={true}
field="value"
tooltip={{
visible: true,format: '{0}'
>
Is there a way to customize the format to display the label name?