Files
fn-design-system/components/chart_container.md
T
Egutierrez 5a824c2eee initial: mirror of @fn_library from fn_registry
75 components + DESIGN_SYSTEM.md + sync script.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 19:06:49 +02:00

1.5 KiB

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, output, 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 output 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 Thin wrapper Paper y utilidades de colores/series para los charts @mantine/charts.
chart
container
mantine
base
visualization
component
ui
ChartSeries_ts_ui
false
@mantine/core
Componente ChartContainer Paper wrapper y utilidades getSeriesColor/Series para charts Mantine 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

import { ChartContainer, getSeriesColor, type Series } from './chart_container'

<ChartContainer height={400}>
  <MantineLineChart ... />
</ChartContainer>

Notas

Exporta: ChartContainer, defaultColors, getSeriesColor, Series. Wrapper fino sobre Mantine Paper para layout uniforme de charts.