← Settings and activity 1 result found SVG marker symbol sizing by height and width instead of radius 1 vote Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) 1 comment · Highcharts Javascript API · Edit… · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close An error occurred while saving the comment Jeremy Francis commented · Mar 1, 2017 · Edit… · Delete… Here is an example of the custom SVG symbol used for the mean diamonds. Highcharts.SVGRenderer.prototype.symbols['diamond2'] = function (x,y,w,h) { return ['M',x,y+h/2,'L',x+w/2,y,'L',x+w,y+h/2,'L',x+w/2,y+h,'L',x,y+h/2,'L',x+w,y+h/2]; } Save Submitting... Jeremy Francis shared this idea · Feb 28, 2017
Here is an example of the custom SVG symbol used for the mean diamonds.
Highcharts.SVGRenderer.prototype.symbols['diamond2'] = function (x,y,w,h) { return ['M',x,y+h/2,'L',x+w/2,y,'L',x+w,y+h/2,'L',x+w/2,y+h,'L',x,y+h/2,'L',x+w,y+h/2]; }