suiss/ui · Chart
Radial Chart Tinted
Concentric radial bars whose unfilled track is a soft tint of each bar's own color.
Radial Chart Tinted is an open-source chart from suiss/ui for React, React Native, SwiftUI and Jetpack Compose. The @esuiss/ui CLI copies its source into your project, so you own the code.
Concentric radial bars where the unfilled part of each track is a soft tint of the bar's own color instead of neutral gray. Choose it over the default radial chart for a more colorful look that still shows how far each bar has to go.
Installation
CLI
Works in any project with a components.json. See Installation for the one-line registry setup. Or use the suiss/ui CLI:
Manual
- Install the dependencies:
-
Copy the source into
components/charts/radial-chart-tinted.tsx:
- Update the import paths to match your project.
Usage
Replace chartData and add each category to chartConfig; the tinted tracks are built from the same data. Set MAX to the value that should close a full ring, and keep it at or above your largest value.
Notes
The tracks are a second chart layered behind the real one and hidden from assistive technology, so keep the sizing shared between both when you change it.

A RadialBarChart with one bar per record in chartData, measured against a shared MAX of 320. Each bar is colored through Cell, and its background track uses the same color at low opacity. Pressing a bar shows a tooltip. The bars set isAnimationActive={false} and draw without the enter animation.
Installation
The CLI also adds what it builds on: Card, Chart.
Manual
-
Target iOS 17 or later.
-
Copy the theme files every view uses:
- Copy the source and every file it uses:
- Add the files to your app target.
- Set
minSdkto 24 or higher and add the dependencies:
- Copy the theme files every view uses:
- Copy the source and every file it uses:
- Update the
com.esuiss.uipackage names to match your project.
Usage
Replace chartData with your records, set MAX to the top of your range, and add a matching entry per item to chartConfig. The component takes no props.
