Description Usage Details Value
This method is run just prior to creating the grob, and is used to get the data into a format which requires minimal processing to be supplied to a geom. This is separated out into a separate method because a number of grobs process data in a slightly different way but otherwise inherit all other behaviours, and to make testing easier.
1 |
geom_data
is called after
calc_aesthetics
and
add_group
. It only needs to be overridden
if the geom does something special with the data, such as
ordering it like geom_line
, or processing it like
geom_path
or geom_step
.
a list, suitable for operation with
geom_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.