Support » Plugin: TreePress - Easy Family Trees & Ancestor Profiles » Show dashed lines instead of solid lines

  • Resolved intolap

    (@intolap)


    I am trying to show dashed lines instead of solid ones ina afamily tree using the plugin. In the codes I found a function –

    function drawLine(iXFrom, iYFrom, iXTo, iYTo) {
    m_Canvas.path(“M” + iXFrom + ” ” + iYFrom + “L” + iXTo + ” ” + iYTo);
    }

    This in returns another raphael js library function –

    paperproto.path = function(pathString) {
    pathString && !R.is(pathString, string) && !R.is(pathString[0], array) && (pathString += E);
    return thePath(R.format[apply](R, arguments), this);
    };

    This again returns a output from function –

    var thePath = function(pathString, SVG) {
    var el = $(“path”);
    SVG.canvas && SVG.canvas[appendChild](el);
    var p = new Element(el, SVG);
    p.type = “path”;
    setFillAndStroke(p, {
    fill: “none”,
    stroke: “#000”,
    path: pathString
    });
    return p;
    };

    But I am not able to set the parameter to display dashed lines instead of solid.

    Any help?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show dashed lines instead of solid lines’ is closed to new replies.