Skip to content

Particle Line

Assemble

Particle Assemble
TimePreviousVisitors
176757120000012491460
176765760000013731673
176774400000011661527
176783040000011371585
176791680000010531476
176800320000010521378
176808960000013401629
176817600000013901641
176826240000014371757
176834880000014951951
176843520000012901782
176852160000013121808
176860800000013711785
176869440000013611654
176878080000016221938
176886720000016832074
176895360000016342132
176904000000016712272
176912640000014581993
176921280000014581894
176929920000016642040
176938560000017392088
176947200000019692442
176955840000019602552
176964480000017082320
176973120000016992302
176981760000016562146
176990400000018022216

Comet

Particle Comet
TimePreviousVisitors
176757120000012491460
176765760000013731673
176774400000011661527
176783040000011371585
176791680000010531476
176800320000010521378
176808960000013401629
176817600000013901641
176826240000014371757
176834880000014951951
176843520000012901782
176852160000013121808
176860800000013711785
176869440000013611654
176878080000016221938
176886720000016832074
176895360000016342132
176904000000016712272
176912640000014581993
176921280000014581894
176929920000016642040
176938560000017392088
176947200000019692442
176955840000019602552
176964480000017082320
176973120000016992302
176981760000016562146
176990400000018022216

Stardust

Particle Stardust
TimePreviousVisitors
176757120000012491460
176765760000013731673
176774400000011661527
176783040000011371585
176791680000010531476
176800320000010521378
176808960000013401629
176817600000013901641
176826240000014371757
176834880000014951951
176843520000012901782
176852160000013121808
176860800000013711785
176869440000013611654
176878080000016221938
176886720000016832074
176895360000016342132
176904000000016712272
176912640000014581993
176921280000014581894
176929920000016642040
176938560000017392088
176947200000019692442
176955840000019602552
176964480000017082320
176973120000016992302
176981760000016562146
176990400000018022216

API Reference

Types come from the public API. A dash indicates no default is documented here.

ParticleLineChart props

Public source
PropTypeDefaultDescription
keyKeepAliveKey<K, Ends> | undefined''The child's identity among its parent's children of one component, or a kept child's among its author's. The empty string by default.
onEmit((events: never) => NoInfer<Msg> | undefined) | undefined—Handle the child's events with a callback, or supply one handler per tag for tagged events. Return a parent message to dispatch it, or `undefined` to ignore the event.
props.chart
Show type
{ readonly data: readonly { readonly [x: string]: string | number | null; readonly date: number; readonly detail?: string; readonly category?: string; }[]; readonly id: string; readonly ariaLabel: string; readonly kind: "line" | "area"; readonly color?: string; readonly animationDuration?: number; readonly aspectRatio?: number; readonly grid?: { readonly horizontal?: boolean; readonly highlightRowValues?: readonly number[]; readonly highlightRowStroke?: string; readonly highlightRowStrokeDasharray?: string; readonly highlightRowStrokeOpacity?: number; }; readonly height?: number; readonly margin?: { readonly bottom?: number; readonly left?: number; readonly right?: number; readonly top?: number; }; readonly width?: number; readonly status?: "loading" | "ready"; readonly tooltip?: { readonly backgroundColor?: string; readonly className?: string; readonly rows?: readonly { readonly label?: string; readonly value?: string | number; readonly color?: string; readonly unit?: "number" | "percent" | "currency" | "credits" | "tokens" | "users" | "requests" | "creditsPerUser"; readonly dataKey?: string; readonly labelDataKey?: string; readonly colorDataKey?: string; readonly hideIfMissing?: boolean; }[]; readonly titleDataKey?: string; readonly detailDataKey?: string; readonly includeDetail?: boolean; readonly showDatePill?: boolean; readonly showCrosshair?: boolean; readonly showDots?: boolean; readonly dotSize?: number; readonly dotStrokeWidth?: number; readonly indicatorColorDataKey?: string; }; readonly unit?: "number" | "percent" | "currency" | "credits" | "tokens" | "users" | "requests" | "creditsPerUser"; readonly responsive?: boolean; readonly fallbackTableRowLimit?: number; readonly series?: readonly { readonly kind: "line" | "area"; readonly dataKey: string; readonly label?: string; readonly fill?: string; readonly color?: string; readonly fillOpacity?: number; readonly strokeWidth?: number; readonly unit?: "number" | "percent" | "currency" | "credits" | "tokens" | "users" | "requests" | "creditsPerUser"; readonly fadeEdges?: boolean | "left" | "right"; readonly dashFromIndex?: number; readonly markers?: { readonly fill?: string; readonly stroke?: string; readonly radius?: number; readonly strokeWidth?: number; readonly ringGap?: number; }; readonly loadingStyle?: "pulse" | "sweep"; readonly showMarkers?: boolean; readonly showHighlight?: boolean; readonly yAxisId?: string | number; readonly showLine?: boolean; readonly gradientToOpacity?: number; readonly gradientSpan?: number; readonly dashArray?: string; }[]; readonly yAxes?: readonly { readonly orientation?: "left" | "right"; readonly unit?: "number" | "percent" | "currency" | "credits" | "tokens" | "users" | "requests" | "creditsPerUser"; readonly yAxisId?: string | number; readonly domain?: readonly [number, number]; readonly numTicks?: number; readonly formatLargeNumbers?: boolean; }[]; readonly xAxis?: { readonly numTicks?: number; readonly tickMode?: "data" | "domain"; }; readonly bands?: readonly { readonly upperKey: string; readonly lowerKey: string; readonly label?: string; readonly pattern?: "accent" | "grid" | "none" | "horizontal" | "vertical" | "vertical-dense" | "horizontal-dense" | "diagonal-up" | "diagonal-up-sparse" | "diagonal-down" | "diagonal-down-sparse" | "vertical-dashed" | "horizontal-dashed" | "horizontal-dashed-dense" | "grid-dashed" | "grid-dotted" | "dots" | "dots-sparse" | "diagonal-dots-up" | "diagonal-dots-up-sparse" | "diagonal-dots-down" | "diagonal-dots-down-sparse" | "circles-dense" | "circles" | "circles-sparse" | "blocks" | "checkerboard-xs" | "checkerboard-sm" | "checkerboard" | "checkerboard-lg" | "checkerboard-inset" | "diagonal" | "cross"; readonly fill?: string; readonly stroke?: string; readonly fillOpacity?: number; readonly strokeDasharray?: string; readonly strokeOpacity?: number; readonly strokeWidth?: number; readonly className?: string; readonly fadeEdges?: boolean | "left" | "right" | { readonly bottom?: boolean; readonly left?: boolean; readonly right?: boolean; readonly top?: boolean; }; readonly yAxisId?: string | number; readonly gradientToOpacity?: number; readonly curve?: "natural" | "linear" | "monotone"; readonly fillType?: "pattern" | "solid" | "gradient"; readonly upperStroke?: false | { readonly stroke?: string; readonly strokeDasharray?: string; readonly strokeOpacity?: number; readonly strokeWidth?: number; }; readonly lowerStroke?: false | { readonly stroke?: string; readonly strokeDasharray?: string; readonly strokeOpacity?: number; readonly strokeWidth?: number; }; readonly patternColor?: string; readonly patternOpacity?: number; readonly fadeSize?: number; readonly patternScale?: number; readonly patternStrokeWidth?: number; readonly showInTooltip?: boolean; readonly negativeFill?: string; }[]; readonly weekends?: readonly { readonly pattern?: "accent" | "grid" | "none" | "horizontal" | "vertical" | "vertical-dense" | "horizontal-dense" | "diagonal-up" | "diagonal-up-sparse" | "diagonal-down" | "diagonal-down-sparse" | "vertical-dashed" | "horizontal-dashed" | "horizontal-dashed-dense" | "grid-dashed" | "grid-dotted" | "dots" | "dots-sparse" | "diagonal-dots-up" | "diagonal-dots-up-sparse" | "diagonal-dots-down" | "diagonal-dots-down-sparse" | "circles-dense" | "circles" | "circles-sparse" | "blocks" | "checkerboard-xs" | "checkerboard-sm" | "checkerboard" | "checkerboard-lg" | "checkerboard-inset" | "diagonal" | "cross"; readonly fill?: string; readonly fillOpacity?: number; readonly className?: string; readonly align?: "auto" | "calendar" | "centered"; readonly fillType?: "pattern" | "solid"; readonly patternScale?: number; readonly patternStrokeWidth?: number; readonly weekendDays?: readonly number[]; readonly utc?: boolean; readonly minDayWidth?: number; readonly dateKey?: string; }[]; readonly deadlines?: readonly { readonly date: number; readonly label?: string; readonly pattern?: "accent" | "grid" | "none" | "horizontal" | "vertical" | "vertical-dense" | "horizontal-dense" | "diagonal-up" | "diagonal-up-sparse" | "diagonal-down" | "diagonal-down-sparse" | "vertical-dashed" | "horizontal-dashed" | "horizontal-dashed-dense" | "grid-dashed" | "grid-dotted" | "dots" | "dots-sparse" | "diagonal-dots-up" | "diagonal-dots-up-sparse" | "diagonal-dots-down" | "diagonal-dots-down-sparse" | "circles-dense" | "circles" | "circles-sparse" | "blocks" | "checkerboard-xs" | "checkerboard-sm" | "checkerboard" | "checkerboard-lg" | "checkerboard-inset" | "diagonal" | "cross"; readonly stroke?: string; readonly color?: string; readonly fillOpacity?: number; readonly strokeDasharray?: string; readonly strokeOpacity?: number; readonly strokeWidth?: number; readonly className?: string; readonly showLine?: boolean; readonly gradientToOpacity?: number; readonly fillType?: "pattern" | "none" | "solid" | "gradient"; readonly patternScale?: number; readonly patternStrokeWidth?: number; readonly dateKey?: string; readonly labelPosition?: "bottom" | "top"; readonly fade?: boolean; readonly fadeLength?: number; readonly labelColor?: string; readonly endDate?: number; }[]; readonly trendLines?: readonly { readonly dataKey: string; readonly animate?: boolean; readonly opacity?: number; readonly stroke?: string; readonly strokeDasharray?: string; readonly strokeWidth?: number; readonly className?: string; readonly fadeEdges?: boolean | "left" | "right"; readonly yAxisId?: string | number; readonly strokeStyle?: "solid" | "gradient" | "dashed"; readonly gradientStart?: string; readonly gradientEnd?: string; readonly fadeEdgesLength?: number; }[]; readonly referenceAreas?: readonly { readonly label?: string; readonly fill?: string; readonly stroke?: string; readonly fillOpacity?: number; readonly strokeDasharray?: string; readonly strokeWidth?: number; readonly x1?: number; readonly y1?: number; readonly x2?: number; readonly y2?: number; readonly fadeEdges?: boolean; readonly showMarkers?: boolean; readonly yAxisId?: string | number; readonly strokeStyle?: "solid" | "dashed"; readonly markerColor?: string; readonly markerSize?: number; readonly axisLabelColor?: string; }[]; readonly eventMarkers?: { readonly items: readonly { readonly title: string; readonly date: number; readonly icon: string; readonly color?: string; readonly description?: string; readonly href?: `#${string}` | `/${string}` | `https://${string}` | `http://${string}`; readonly target?: "_blank" | "_self"; }[]; readonly size?: number; readonly maxFanned?: number; readonly showLines?: boolean; }; readonly patternAreas?: readonly { readonly dataKey: string; readonly patternColor?: string; readonly patternPreset?: "horizontal" | "vertical" | "dots" | "diagonal"; }[]; readonly projectionLines?: readonly { readonly data: readonly { readonly date: number; readonly value: number; }[]; readonly stroke?: string; readonly strokeDasharray?: string; readonly strokeWidth?: number; readonly yAxisId?: string | number; readonly strokeStyle?: "solid" | "gradient"; readonly gradientStart?: string; readonly gradientEnd?: string; readonly curveKind?: "linear" | "bezier"; readonly showEndMarker?: boolean; }[]; readonly terminalMarkers?: readonly { readonly dataKey: string; readonly fill?: string; readonly stroke?: string; readonly radius?: number; readonly strokeWidth?: number; readonly ringGap?: number; readonly yAxisId?: string | number; }[]; readonly profitLossLines?: readonly { readonly dataKey: string; readonly strokeWidth?: number; readonly fadeEdges?: boolean; readonly positiveColor?: string; readonly negativeColor?: string; }[]; readonly profitLossLegendIndex?: 0 | 1 | null; readonly legendHoveredIndex?: number | null; readonly ariaDescription?: string; readonly xDataKey?: string; readonly xDomain?: readonly [number, number]; readonly yDomain?: readonly [number, number]; readonly secondaryUnit?: "number" | "percent" | "currency" | "credits" | "tokens" | "users" | "requests" | "creditsPerUser"; readonly loadingLabel?: string; readonly segmentSelection?: boolean; readonly yDomainTween?: boolean; readonly yDomainTweenDuration?: number; readonly revealSignature?: string; }
Required
props.particles
Show type
readonly { readonly dataKey: string; readonly label?: string; readonly delay?: number; readonly duration?: number; readonly stroke?: string; readonly strokeWidth?: number; readonly effect?: "assemble" | "comet" | "stardust"; readonly yAxisId?: string | number; readonly easing?: readonly [number, number, number, number]; readonly colors?: readonly string[]; readonly spread?: number; readonly highlight?: false | { readonly span?: number; readonly fadeLength?: number; readonly dimOpacity?: number; }; readonly density?: number; readonly trail?: number; }[]
Required
props.replaynumber—