Description Usage Arguments Value
View source: R/uvhydrograph-render.R
Given a list of TS points, some information about the plot to build, will return a named list of gsplot elements to call
1 2 | getPrimaryPlotConfig(timeseries, name, label, ylim, dataSide = 0,
comparisonOnIndependentAxes = TRUE, doLog = FALSE, ylab)
|
timeseries |
list of TS points relavant to primary plot |
name |
name of item being plotted |
label |
label of time series |
ylim |
y range that the time series covers |
dataSide |
optional for reference and comparison series, integer of what side the time series' y value is on |
comparisonOnIndependentAxes |
set to false if being plotted on the same axes as another |
doLog |
Whether or not the item should be placed on a logarithmic axis |
ylab |
the y-axis label (not to be confused with what is used in legend) |
named list of gsplot calls. The name is the plotting call to make, and it points to a list of config params for that call
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.