Class LABKEY.vis.Geom.ErrorBar
Error bar geom. Generally used in conjunction with a LABKEY.vis.Geom.Point and/or LABKEY.vis.Geom.Path
geom to show the known amount of error for a given point. In order to work the user must specify an error accessor
in the config.aes object of the {LABKEY.vis.Plot} or {LABKEY.vis.Layer} object. This Geom also supports the color
aesthetic from the {LABKEY.vis.Plot} and/or {LABKEY.vis.Layer} objects.
Defined in: geom.js.
Constructor Attributes | Constructor Name and Description |
---|---|
LABKEY.vis.Geom.ErrorBar(config)
|
Config Attributes | Config Name and Description |
---|---|
(Optional) String used to determine the color of the vertical bar.
|
|
(Optional) String used to determine the color of all paths.
|
|
(Optional) Whether or not to use dashed lines for top and bottom bars.
|
|
(Optional) Number used to determine the size of all paths.
|
Class Detail
LABKEY.vis.Geom.ErrorBar(config)
- Parameters:
- config
- An object with the following properties:
Config Detail
{String}
config.altColor
(Optional) String used to determine the color of the vertical bar. Defaults to config.color.
{String}
config.color
(Optional) String used to determine the color of all paths. Defaults to black (#000000).
{Boolean}
config.dashed
(Optional) Whether or not to use dashed lines for top and bottom bars. Defaults to false.
{Number}
config.size
(Optional) Number used to determine the size of all paths. Defaults to 2.