This is a migrated thread and some comments may be shown as answers.

TargetCapType points in the wrong direction

3 Answers 55 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Kristoffer
Top achievements
Rank 1
Kristoffer asked on 28 Jan 2013, 11:26 AM
I have a custom style for my connections. I set the target cap type as follows:
<Setter Property="TargetCapType" Value="Arrow1Filled" />

The result is an arrow pointing in the wrong direction, which is kind of ugly. See attached image!

How can I fix this?

3 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 31 Jan 2013, 11:29 AM
Hi Kristoffer,

Can you send us a sample solution demonstrating the issue so that we can test it on our side? This way we will be able to further investigate its cause and advice you how to get over it.

All the best,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Kristoffer
Top achievements
Rank 1
answered on 31 Jan 2013, 11:48 AM
Hi,

Thanks. I believe I found the issue. It seems my custom connection produced this weird artifact when I explicitly set the target cap in its constructor:

public MyChartConnection(Link link)
{
    SourceConnectorPosition = ConnectorPosition.Auto;
    TargetConnectorPosition = ConnectorPosition.Auto;

    SourceCapType = link.SourceCapType;
    TargetCapType = link.TargetCapType;
}

Could have had something to do with my connector names too. Not sure. I refactored large parts of the code since this issue!

0
Tina Stancheva
Telerik team
answered on 31 Jan 2013, 11:51 AM
Hello Kristoffer,

Thank you for getting back to us. I'm glad that you managed to fix the issue. However, if you encounter it again, please let us know so that we can take a closer look at it.

Kind regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Diagram
Asked by
Kristoffer
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Kristoffer
Top achievements
Rank 1
Share this question
or