Usage
mjs_plot(data, x, y, show_rollover_text = TRUE, linked = FALSE, decimals = 2, format = "count", missing_is_hidden = FALSE, left = 80, right = 10, top = 40, bottom = 60, buffer = 8, width = NULL, height = NULL, title = NULL, description = NULL)
Arguments
x
bare or quoted name of column to use for x values
y
bare or quoted name of column to use for y values
show_rollover_text
determines whether or not to show any text when a data point is rolled over.
linked
inks together all other graphs whose linked option is set to true.
When one graphic in that set is rolled over, the corresponding values in the other
graphics are also rolled over (default: FALSE
- not linked)
decimals
the number of decimals to show in a rollover (default: 2
)
format
sets the format of the data object, which is to say,
count
s or percentage
s
missing_is_hidden
if true and if the data object is a time series, missing data points will be treated as zeros
left
the size of the left margin in pixels.
right
the size of the right margin in pixels.
top
the size of the top margin in pixels.
bottom
the size of the bottom margin in pixels.
buffer
the buffer size in pixels between the actual chart area and the margins.
width
Width in pixels (optional, defaults to automatic sizing)
height
Height in pixels (optional, defaults to automatic sizing)
description
plot description