mirror of
https://github.com/apache/superset.git
synced 2026-04-26 19:44:58 +00:00
feat: Add ValuePercent option to LABEL TYPE for Pie and Funnel charts (#26407)
This commit is contained in:
@@ -80,6 +80,8 @@ export function formatPieLabel({
|
||||
return `${name}: ${formattedValue} (${formattedPercent})`;
|
||||
case EchartsPieLabelType.KeyPercent:
|
||||
return `${name}: ${formattedPercent}`;
|
||||
case EchartsPieLabelType.ValuePercent:
|
||||
return `${formattedValue} (${formattedPercent})`;
|
||||
default:
|
||||
return name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user