Login Register

SVG path

newbie need SVG path segment string

Hi there,

I'm pretty new to Dojo/x and SVG, am wanting to create custom marker sizes for my chart dynamically, can create shapes/circles of the size I want but in order to create markers I need the SVG path segment string (I tried finding information how to calculate by hand but yikes!). I've scoured the internet for information but have come up empty.

Basically I'd like to do this (Unless there is an easier way that I am missing :)

var circle = surface.createCircle({ cx: 25, cy: 25, r: r})
.setFill([0,0,255,0.1])

Syndicate content