Skip to content
DayPilot

LinkShape being ignored in Scheduler

Asked by Anonymous
10 months ago.

Hi,

For all my links I have specified the linkShape to be RightAngled, but it’s still creating curved links - any ideas?

Other properties in my link objects (width, style color) are working as expected, but linkShape seems to have no effect.

Here’s a sample of my array of links:

        {
            "from": "8485526",
            "to": "8485527",
            "type": "FinishToStart",
            "linkShape": "RightAngled",
            "style": "solid",
            "width": 6,
            "color": "grey"
        },
        {
            "from": "D8485526",
            "to": "8485526",
            "type": "FinishToStart",
            "linkShape": "RightAngled",
            "style": "dashed",
            "width": 6,
            "color": "grey"
        },
        {
            "from": "8485528",
            "to": "8485529",
            "type": "FinishToStart",
            "linkShape": "RightAngled",
            "style": "solid",
            "width": 6,
            "color": "grey"
        },
Answer posted by Dan Letecky [DayPilot]
10 months ago.

This is a global property that should be set in the Scheduler config (see linkShape in the API docs), rather than in individual link properties.

Comment posted by Anonymous
10 months ago.

Doh, of course is…..what a numpty!

Thanks Dan.

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.