Description Usage Arguments References Examples
Control y-axis padding, label, scale & tick format
1 2 3  | 
tau | 
 taucharts object  | 
padding | 
 space between axis ticks and chart panel  | 
label | 
 text of label for axis (overrides default use of variable name)  | 
label_padding | 
 space between axis ticks and axis label (can be negative)  | 
nice | 
 Taucharts engine tries to make axis scale "nice" by trying to start measure-based scale from 0 and adds some margins to complete scale with "nice" numbers. For example, if original scale domain contains values [8, 20, ... 40], then axis will have ticks from 0 to 45.
(default:   | 
auto_scale | 
 (Deprecated) auto-pick "best" scale for axis? (default:   | 
tick_period | 
 if axis is auto-determined to be a "period scale",
this allows specification of the period size. See   | 
tick_format | 
 can be any D3 format specifier  | 
min, max | 
 manual minimum and maximum for the axis  | 
http://api.taucharts.com/basic/guide.html, https://github.com/mbostock/d3/wiki/Formatting#d3_format
1 2 3 4 5 6  | if (interactive()) {
tauchart(mtcars) %>%
 tau_point("mpg", "wt") %>%
 tau_guide_x(label="Miles/gallon", nice=FALSE) %>%
 tau_guide_y(label="Weight", nice=FALSE)
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.