Hi,
sorry for not getting back to this as a few things came up. now i need to revisit this. i dont want the dash on the line series it self but on the marker. i did an implementation of markers using a combination of move and line:
Code: Select all
Highcharts.SVGRenderer.prototype.symbols.partialcoverage = function(x, y, w, h) {
var dashWidth=2;
var gapWidth=1;
w=14;
x=x-2
y=y-2
h=Math.floor(0.5*w);
var pointArray=[]
for(var currentPoint=x; currentPoint<= x+w; currentPoint+=dashWidth+gapWidth){
pointArray.push('M',currentPoint, y, 'L', ((currentPoint+dashWidth>x+w)?x+w:currentPoint+dashWidth), y)
}
for(var currentPoint=x; currentPoint<= x+w; currentPoint+=dashWidth+gapWidth){
pointArray.push('M',currentPoint, y+w, 'L', ((currentPoint+dashWidth>x+w)?x+w:currentPoint+dashWidth), y+w)
}
for(var currentPoint=y; currentPoint<= y+w; currentPoint+=dashWidth+gapWidth){
pointArray.push('M', x, currentPoint, 'L', x, ((currentPoint+dashWidth>y+w)?y+w:currentPoint+dashWidth))
}
for(var currentPoint=y; currentPoint<= y+w; currentPoint+=dashWidth+gapWidth){
pointArray.push('M', x+w, currentPoint, 'L', x+w, ((currentPoint+dashWidth>y+w)?y+w:currentPoint+dashWidth))
}
return pointArray
but the problem with this is i cant fill it as (i think there is no solid boundary to effect the fill.)
short of it is now i need the dash and a color fill