Description Usage Arguments Value
View source: R/dvhydrograph-render.R
Given the plot object and additional necessary parameters, calculates the legend offset and then adds the legend to the plot.
1 2 | plotDVHydroLegend(plot_object, startDate, endDate, timezone, initialOffset,
modOffset = 1)
|
plot_object |
The gsplot object to add the legend to |
startDate |
The start date of the report |
endDate |
The end date of the report |
timezone |
The timezone of the report |
initialOffset |
The initial amount to offset the legend by |
modOffset |
[Default: 1] An optional amount to multiply the final calculated offset by |
gsplot object with legend added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.