marks: Vega marks.

Description Usage Arguments Details Properties

Description

These functions create mark objects, corresponding to vega marks. Marks are leaves in the plot tree, and control the details of the final rendering. Marks are equivalent to the basic geoms in ggplot2 (e.g. point, line, polygon), where ggvis layers correspond to combinations of geoms and statistical transforms.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

Arguments

vis

Visualisation to modify

props,...

A props object, named according to the properties listed below.

data

An optional dataset, if you want to override the usual data inheritance for this mark.

Details

Note that by supplying a fill property to mark_path will produce a filled property. mark_point is an alias to mark_symbol.

Properties

You can set the following mark properties:

To each property, you can assign any property object (prop) either locally (i.e. in the mark), or in a parent layer.


rpruim/ggvis2 documentation built on May 28, 2019, 2:34 a.m.