Files
fn_registry/frontend/functions/ui/chart_container.md
T
egutierrez 87e8f33b01 fix: corregir lang y file_path en frontmatter de funciones existentes
Normaliza lang: typescript → ts en funciones frontend y corrige file_path de functions/infra/ → functions/browser/ en funciones CDP. Actualiza referencias cn_typescript_core → cn_ts_core.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 03:23:20 +02:00

1.4 KiB

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, tested, tests, test_file_path, file_path, props, emits, has_state, framework, variant, source_repo, source_license, source_file
name kind lang domain version purity signature description tags uses_functions uses_types returns returns_optional error_type imports tested tests test_file_path file_path props emits has_state framework variant source_repo source_license source_file
chart_container component ts ui 1.0.0 impure ChartContainer(props: { children: ReactNode; height?: number | string }): JSX.Element Base para todos los charts Recharts: container responsive, tooltip temático, legend y utilidades de colores por serie.
chart
container
recharts
base
visualization
component
ui
cn_ts_core
get_series_color_ts_core
ChartSeries_ts_ui
false
recharts
react
false
frontend/functions/ui/chart_container.tsx
name type required description
height number | string false Altura del chart (default 300)
name type required description
className string false Clases CSS adicionales
false react
default
https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/Bl4cksmith/Frontend_Library MIT frontend/src/components/ui/charts/chart-base.tsx

Ejemplo

<ChartContainer height={400}>
  <RechartsLineChart data={data}>...</RechartsLineChart>
</ChartContainer>

Notas

Exporta: ChartContainer, ChartTooltipContent, ChartTooltip, ChartLegend, chartColors, defaultColors, getSeriesColor, Series.