View source: R/timelines-set.R
set_scale | R Documentation |
timelines-chart
Set scale for timelines-chart
set_scale( timelines, palette = "Viridis", domain = NULL, discrete = NULL, data_label = NULL, label = NULL )
timelines |
A |
palette |
Color palette to use for continuous or colors vector. |
domain |
Range of values for continuous data. |
discrete |
Whether the segment data color values are categorical (false) or continuouss (true). |
data_label |
Units of z data. Used in the tooltip descriptions. |
label |
Color scale label. Only applicable to quantitative z scales. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.