BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/EvilCharts/echarts-radial-chart

echarts-radial-chart

evilcharts/echarts-radial-chart
FreeComponent

Radial chart component rendered with Apache ECharts

Install it

npx shadcn@latest add https://evilcharts.com/r/echarts-radial-chart.json

Source

src/registry/charts/echarts-radial-chart.tsxevilcharts.com/r/echarts-radial-chart.json · first 6 KB
1"use client";
2
3import {
4 resolveTooltipPosition,
5 roundnessClass,
6 tooltipIndicatorHtml,
7 tooltipRow,
8 tooltipVariantClass,
9 type TooltipPosition,
10 type TooltipRoundness,
11 type TooltipVariant,
12} from "@/registry/ui/echarts-tooltip";
13import {
14 buildChartCss,
15 getColorsCount,
16 resolveColors,
17 withAlpha,
18 type ChartConfig,
19 type ResolvedColors,
20} from "@/registry/ui/echarts-chart";
21import {
22 Children,
23 isValidElement,
24 useCallback,
25 useEffect,
26 useId,
27 useMemo,
28 useRef,
29 useState,
30 type FC,
31 type ReactNode,
32} from "react";
33import {
34 PolarComponent,
35 TooltipComponent,
36 type PolarComponentOption,
37 type TooltipComponentOption,
38} from "echarts/components";
39import { LegendIndicator, type LegendVariant } from "@/registry/ui/echarts-legend";
40import { BarChart, type BarSeriesOption } from "echarts/charts";
41import { motion, useReducedMotion } from "motion/react";
42import { CanvasRenderer } from "echarts/renderers";
43import type { ComposeOption } from "echarts/core";
44import * as echarts from "echarts/core";
45
46// Re-export the shared types that were previously declared inline here, so
47// existing consumers/examples keep importing them from the chart module.
48export type { ChartConfig, LegendVariant, TooltipPosition, TooltipRoundness, TooltipVariant };
49
50// Modular registration keeps the bundle lean — only the pieces this chart needs.
51// `PolarComponent` bundles the polar coordinate system together with its
52// `angleAxis` + `radiusAxis` (concentric rings are a polar `bar` series whose
53// value drives the sweep angle). No GraphicComponent: unlike the area chart's
54// brush, nothing here draws raw zrender overlays — selection is per-datum
55// opacity, and the skeleton shimmer is a swept gradient.
56echarts.use([BarChart, PolarComponent, TooltipComponent, CanvasRenderer]);
57
58type EChartsInstance = ReturnType<typeof echarts.init>;
59
60// The exact option surface this chart uses — a polar bar series plus the polar
61// component (which carries angle/radius axes as dependencies) and the tooltip.
62// Narrower than echarts' full EChartsOption, so a misspelled key fails the
63// compile instead of silently reaching setOption.
64type EChartsOption = ComposeOption<BarSeriesOption | TooltipComponentOption | PolarComponentOption>;
65
66// Single-entry views of the composed option's array-or-single fields — the
67// modular entry points don't export the polar/axis option types directly, so
68// they are recovered from the composed option (angleAxis/radiusAxis enter it as
69// … truncated

What it pulls in

npm packages

  • echarts
  • motion

Other registry items

  • @evilcharts/echarts-chart
  • @evilcharts/echarts-tooltip
  • @evilcharts/echarts-legend

Files it writes

  • src/registry/charts/echarts-radial-chart.tsx

Facts

Registry
EvilCharts
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-13
Last confirmed
yesterday

Go to the source

evilcharts.com legions-developer/evilcharts on GitHub Raw registry item This item as JSON

More from EvilCharts

All 271 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
echarts-area-chartecharts-area-chartEvilChartsComponentsFree2 deps
echarts-bar-chartecharts-bar-chartEvilChartsComponentsFree2 deps
echarts-brushecharts-brushEvilChartsComponentsFree1 dep
echarts-chartecharts-chartEvilChartsComponentsFree1 dep
echarts-composed-chartecharts-composed-chartEvilChartsComponentsFree2 deps
echarts-dotecharts-dotEvilChartsComponentsFree1 dep
echarts-legendecharts-legendEvilChartsComponentsFreeno deps
echarts-line-chartecharts-line-chartEvilChartsComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex