`xl_chart_error_bars()` draws an error bar at each point, and is given to
[xl_chart_series()] as `x_error_bars` or `y_error_bars`.
Usage
xl_chart_error_bars(
type,
value = NA,
direction = NULL,
endcap = NA,
format = NULL
)
Value
An `xl_chart_error_bars` object.
Arguments
type
How the size of each bar is worked out: `"std_error"` for the
standard error, `"fixed"` for a constant, `"percentage"` of the point's
own value, or `"std_dev"` for that many standard deviations.
value
The constant, the percentage, or the number of standard
deviations. `"std_error"` needs none.
direction
`"both"`, `"plus"` or `"minus"`.
endcap
Draw the cap at the end of each bar. On by default.
format
An [xl_format()] styling the bars --- [xl_border()] only,
since an error bar is a line.
See Also
[xl_chart_series]
Other images and charts:
xl_chart(),
xl_chart_axis(),
xl_chart_labels(),
xl_chart_legend(),
xl_chart_marker(),
xl_chart_series(),
xl_chart_table(),
xl_chart_trendline(),
xl_chartsheet(),
xl_image()