Evantis

Design System

Chart

  • 6examples
shadcn Chart on Recharts 3, Maia preset. Bars over time for what a caregiver tracks: minutes of walking and exercises. Series take the DS chart colours (teal, then bronze); a chart never carries a status on colour alone, and its numbers are also written in words nearby.

Demo

  • Inside a DS Card: title, what the bars count, and an Evantis Toggle group that switches the series and states each total.
  • Hover or move along the bars with the arrow keys (accessibilityLayer) to read a day.

Your first chart

  • Bars only: shadcn's starting point. Never ship a chart without its axis and a way to read the values.

Add a grid

  • Horizontal grid lines in border-subtle, no vertical lines.

Add an axis

  • Month names cut to three letters; no axis line or ticks.

Add tooltip

  • The tooltip is the popover frame: 8px corners, border-subtle, elevation-3; values in mono with the slashed zero.

Add legend

  • A legend under the chart names each colour, so the series never rests on colour alone.