Description Usage Arguments Note
Configure x axis ticks & limits
1 2 3 |
mjs |
metricsgraphics plot object |
show |
display the axis? (default: |
xax_count |
tick count |
min_x |
min limit for x axis |
max_x |
max limit for x axis |
extended_ticks |
extend ticks on x axis? |
xax_format |
how to format tick labels. Currently one of "plain", "comma" or "date" |
show_secondary_x_label |
determines whether to show the year, or another unit of time in the case of smaller series, on the x-axis below the x-axis labels. |
rug |
show a "rug" plot next to the x axis? (default: |
xax_format is likely to undergo a drastic change in future releases but support for these three formats will also likely remain.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.