| chart_labels | R Documentation |
Add labels to a chart, labels can be specified for x axis, y axis and plot.
chart_labels(x, title = NULL, xlab = NULL, ylab = NULL)
x |
an |
title |
title of the chart (displayed above the plot area). Use NULL to remove it. |
xlab |
label for the x axis. Use NULL to remove it. |
ylab |
label for the y axis. Use NULL to remove it. |
An ms_chart object.
chart_data_labels(), chart_ax_x(), chart_ax_y()
mylc <- ms_linechart(
data = browser_ts, x = "date", y = "freq",
group = "browser"
)
mylc <- chart_labels(mylc,
title = "my title", xlab = "my x label",
ylab = "my y label"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.