Class Index | File Index

Classes


Class LABKEY.vis.SurvivalCurvePlot

SurvivalCurvePlot Wrapper to create a plot which shows survival curve step lines and censor points (based on output from R survival package).
Defined in: plot.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
This helper will take the input data and generate stepwise data points for use with the Path geom.
Config Summary
Config Attributes Config Name and Description
 
The array of censor data to overlay on the survival step lines.
 
(optional) Function defining the hover text to display for the censor data points.
 
The array of step data for the survival curves.
 
(optional) The data array object property used to group plot lines and points.
 
The chart canvas height in pixels.
 
The id of the div/span to insert the svg element into.
 
The chart canvas width in pixels.
Class Detail
LABKEY.vis.SurvivalCurvePlot(config)
This helper will take the input data and generate stepwise data points for use with the Path geom.
Parameters:
{Object} config
An object that contains the following properties
Config Detail
{Array} config.censorData
The array of censor data to overlay on the survival step lines.

{Function} config.censorHoverText
(optional) Function defining the hover text to display for the censor data points.

{Array} config.data
The array of step data for the survival curves.

{String} config.groupBy
(optional) The data array object property used to group plot lines and points.

{Number} config.height
The chart canvas height in pixels.

{String} config.renderTo
The id of the div/span to insert the svg element into.

{Number} config.width
The chart canvas width in pixels.

Documentation generated by JsDoc Toolkit 2.3.2 on Thu Mar 14 2019 22:39:27 GMT-0000 (UTC)