If you define stacked bar data as ranges, Recharts will use those ranges as-is without any calculations.
The ranges can be connected, disconnected, or overlapping depending on your use case (e.g., timeline of events).
BarStack component allows you to set radius for rounded corners on the entire stack.
These features are available since Recharts 3.6.