0

If I have an existing SVG element & I want the chart created by Rickshaw.graph() to be inserted at a certain (x,y) co-ordinate in the (previously)existing SVG element, is it possible to do it ?

Aejaz
  • 100
  • 8

1 Answers1

0

SVG Elements are elements, so add a <svg:g> to your svg style it with appropriate transforms, and tell rickshaw to render into it by passing it as element to the Rickshaw.Graph constructor.

Sean McMillan
  • 10,058
  • 6
  • 55
  • 65