label | R Documentation |
label is just added to the first mark
you should pass labels
param to g2_ family functions if you need to define label for every mark
https://g2.antv.antgroup.com/en/spec/label/overview
label(...)
... |
label options |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.