The goal of this request is to have a combination of settings for pie charts that can do the following.
- In fillLabels, I want no numbers
- In linkLabels, I want no numbers
- In tooltips, I want to show formatted value and percent
The closest we can get today is by setting <Partition valueFormatter={() => ''} />, which does not solve the tooltip issue

In that example, only the percent is shown in the tooltip:

I would like to have the tooltip show both the numeric value and percentage, which happens in the default case:

The specific API I would request to do this already exists, but is missing. I would expect the following to work:
<Partition
valueAccessor={(d: Datum) => d.exportVal as number}
valueFormatter={(d: number) => `$${config.fillLabel.valueFormatter(Math.round(d / 1000000000))}\xa0Bn`}
config={{
fillLabel: {
valueFormatter: () => '',
},
linkLabel: {
valueFormatter: () => '',
},
}}
/>
The goal of this request is to have a combination of settings for pie charts that can do the following.
The closest we can get today is by setting
<Partition valueFormatter={() => ''} />, which does not solve the tooltip issueIn that example, only the percent is shown in the tooltip:
I would like to have the tooltip show both the numeric value and percentage, which happens in the default case:
The specific API I would request to do this already exists, but is missing. I would expect the following to work: