/** * ErrorBarChart — pour chaque catégorie, un marqueur central au point `value` * (la moyenne ou la mesure) et une moustache horizontale allant de `low` à * `high` (les bornes d'incertitude), terminée à chaque extrémité par un court * capuchon perpendiculaire (les « error bars »). Idéal pour visualiser une * estimation et son intervalle de confiance par catégorie. * API canonique (référence Svelte ; React/Vue s'alignent). * * Props obligatoires : * data ErrorBarChartDatum[] - tableau {category, value, low, high} * label string - aria-label du graphique * * Props optionnelles : * tone "category1".."category8" (défaut "category1") - moustache + marqueur * width number (défaut 480) * height number (défaut 240) * class string * * Les catégories sont distribuées sur l'axe vertical (une ligne par * catégorie) ; l'axe horizontal porte l'échelle de valeurs graduée. */ export type ErrorBarChartTone = "category1" | "category2" | "category3" | "category4" | "category5" | "category6" | "category7" | "category8"; export type ErrorBarChartDatum = { category: string; value: number; low: number; high: number; }; type ErrorBarChartProps = { data: ErrorBarChartDatum[]; width?: number; height?: number; tone?: ErrorBarChartTone; label: string; class?: string; }; declare const ErrorBarChart: import("svelte").Component; type ErrorBarChart = ReturnType; export default ErrorBarChart; //# sourceMappingURL=ErrorBarChart.svelte.d.ts.map