Skip to contents

Axis scale for discrete data

Usage

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

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

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.

Value

A vchart() htmlwidget object.

Examples