With echarts4r comes a small but powerful low level API to graphic elements.


Graphic functions end in _g

  • g_graphic_g (initialisation)
  • g_group_g
  • g_image_g
  • g_text_g
  • g_rect_g
  • g_circle_g
  • g_ring_g
  • g_sector_g
  • g_arc_g
  • g_polygon_g
  • g_polyline_g
  • g_line_g
  • g_bezier_curve_g


The e_draft helper function is a very simple wrapper aroudn the graphics API and thus a good example of what can be achieved.


You can add an image for instance.