Learn R Programming

ShinyDash (version 0.0.1)

graphOutput: Render a Rickshaw graph

Description

Render a Rickshaw graph

Usage

graphOutput(outputId, width, height, axisType = c("numeric", "time"), legend = c("topleft", "topright", "bottomleft", "bottomright"), toolTip = TRUE, type = c("line", "scatterplot", "area", "bar"))

Arguments

outputId
output variable which will be used in addressing update messages.
width
Graph width. Until more testing is done with Rickshaw, your safest bet is to leave these as numeric values representing the units in pixels.
height
Graph height Must be a valid CSS unit (like "100%", "400px", "auto") or a number, which will be coerced to a string and have "px" appended.
axisType
The type of X-axis to use for the graph. time assumes the data will be provided as a number of seconds since the epoch (see Sys.time) and will render them accordingly. numeric will not manipulate the provided numeric values.
legend
If specified, an interactive legend of all series of data displayed in the graph will be visible at the location given. If unspecified, the legend will not be visible.
toolTip
If TRUE, a tooltip providing additional information about the values in the graph will be available when the user points the mouse at the graph.
type
The renderer to use when displaying the graph.

See Also

lineGraphOutput