new VegaPlotter(patchManager, onclick)
Class for plotting with VegaLite
Parameters:
Name | Type | Description |
---|---|---|
patchManager |
* | |
onclick |
* |
Methods
timePlot(yField, aggregate, colorField)
Plot cohort values over time
Parameters:
Name | Type | Default | Description |
---|---|---|---|
yField |
* | Height | Value to show on the y-axis |
aggregate |
* | average | Optional aggregation (average, median, max, min, or sum) |
colorField |
* | PID | Value to use for grouping |