Layout problem when two Diagram in one page

5 posts, 0 answers
  1. Kaan
    Kaan avatar
    7 posts
    Member since:
    Jul 2016

    Posted 23 Sep 2016 Link to this post

    Hi,

    When there is one diagram in the page like:

    @(Html.Kendo().Diagram()
                .Name("diagram1")
                .Layout(l => l
                    .Type(DiagramLayoutType.Tree)
                    .Subtype(DiagramLayoutSubtype.Right)
                    .HorizontalSeparation(30)
                    .VerticalSeparation(20)
                )
                ...........
    )
    it renders correct (tree right).

    But when there is another diagram:

    @(Html.Kendo().Diagram()
                .Name("diagram2")
                )
                .Layout(l => l
                    .Type(DiagramLayoutType.Tree)
                    .Subtype(DiagramLayoutSubtype.Down)
                    .HorizontalSeparation(30)
                    .VerticalSeparation(20)
                )

    first diagram renders also "tree down"...

    So, what should I do?

     

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1502 posts

    Posted 27 Sep 2016 Link to this post

    Hello Kaan,

    I wasn't able to reproduce the mentioned issue with this dojo sample - http://dojo.telerik.com/oXudE Could you please try to reproduce the problem with this sample and then send it back to us?

    Regards,
    Danail Vasilev
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Kaan
    Kaan avatar
    7 posts
    Member since:
    Jul 2016

    Posted 27 Sep 2016 in reply to Danail Vasilev Link to this post

    Hi Danail,

    Yes, it seems in dojo sample works as it is. Can't you test in a C# project?

    Thx.

  4. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1502 posts

    Posted 29 Sep 2016 Link to this post

    Hello Kaan,

    Thank you for the clarification. I have logged this issue here - https://github.com/telerik/kendo-ui-core/issues/2231, so that you can track its status.

    I have also updated your Telerik points for reporting this issue to us.

    Regards,
    Danail Vasilev
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Kaan
    Kaan avatar
    7 posts
    Member since:
    Jul 2016

    Posted 29 Sep 2016 in reply to Danail Vasilev Link to this post

    Thank you Danail.
Back to Top