Learn R Programming

vchartr (version 0.1.4)

scale-discrete: Axis scale for discrete data

Description

Axis scale for discrete data

Usage

v_scale_x_discrete(vc, name = NULL, ..., position = "bottom")

v_scale_y_discrete(vc, name = NULL, ..., position = "left")

Value

A vchart()

htmlwidget object.

Arguments

vc

An htmlwidget created with vchart() or specific chart's type function.

name

Title for the axis.

...

Additional parameters for the axis.

position

Position of the axis.

Examples

Run this code

library(vchartr)

Run the code above in your browser using DataLab