suiss/ui · Chart
Tooltip Chart No Indicator
A stacked bar chart whose tooltip lists series names and values without color indicators.
Tooltip Chart No Indicator is an open-source chart from suiss/ui for React. The @esuiss/ui CLI copies its source into your project, so you own the code.
A stacked bar chart whose tooltip lists series names and values without any color marker. Use it for single-series charts, or when the series names are clear enough on their own.
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/tooltip-chart-no-indicator.tsx:
- Update the import paths to match your project.
Usage
Set hideIndicator on ChartTooltipContent. Replace chartData and the series in chartConfig, and keep the labels descriptive since they are the only cue.
Notes
With several series and no color marker, readers can't match a row to a bar by color, so this suits one or two clearly named series best.