Error bar component for chart uncertainty visualization.
Maps to Highcharts' errorbar series type. Renders vertical I-beam indicators (line + horizontal caps) showing error ranges at each data point.
Examples
<.chart_error_bar
data={[
%{px: 100, py_low: 50, py_high: 150},
%{px: 200, py_low: 80, py_high: 180}
]}
/>
Summary
Functions
Attributes
data(:list) (required) - List of%{px, py_low, py_high}error bar data points.cap_width(:integer) - Width of the horizontal caps in pixels. Defaults to8.color(:string) - Error bar color. Defaults to"currentColor".stroke_width(:any) - Line stroke width. Defaults to1.5.animate(:boolean) - Enable pop-in animation. Defaults totrue.animation_duration(:integer) - Animation duration in ms. Defaults to600.class(:string) - Defaults tonil.