Chart content positioning problems

Thread is closed for posting
5 posts, 0 answers
  1. Matthew
    Matthew avatar
    18 posts
    Member since:
    Mar 2009

    Posted 27 Mar 2009 Link to this post

    Hi.
    My chart was mostly functioning ok and looked good.
    I changed a little of the markup surrounding it - none of the chart creation code and suddenly it is rendering extremely wierdly the first time it's drawn.

    • The x-axis is half in the correct place (at the bottom) and half at the top in the same place as the title.
    • The y axis is displaced a little
    • The actual graph is drawn way below the x axis, and to the right.

    After re-drawing the chart a few times it comes to correct itself.
    why?
    cheers

    matt

    [More info. The chart fails to render when, on initial renderings the Visible property is set to false.
    On an initial rendering of the area I wan tit not to display so I can display some help text. Is there another way to do this?]

  2. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 30 Mar 2009 Link to this post

    Hello Matthew,

    Yes, you should be able to hide the chart using javascript and css. It is a much better approach then using the Visible property.

    Kind regards,
    Vladimir Milev
  3. Matthew
    Matthew avatar
    18 posts
    Member since:
    Mar 2009

    Posted 30 Mar 2009 Link to this post

    Now I have stopped trying to hide the chart
    Yet the layout is completely screwed with the x-axis at the top, and the chart 'overflowed' bottom right, outsied the size I explictly set the chart to be.

    Why might this be?

    So far I have wasted nearly two days just trying to get the chart to draw its elements in the correct place. It's just ridiculous.
  4. Matthew
    Matthew avatar
    18 posts
    Member since:
    Mar 2009

    Posted 31 Mar 2009 Link to this post

    Another day wasted.
    Winding back the code in source control of course fixed the problem.
    But winding forward till it breaks - well, what a waste of a day.

    1....
    Creating an empty Telerik TreeView.css file in the App__themes\(theme) folder breaks it
    Deletin that file - leaves it broken.
    Deleting all IE cache, cleaning the solution, killing the asp.net web site - leaves it broken.
    What on earth is caching it?

    2....
    If we are not supposed to set .Visible=false why do you let us do it? Why not throw an exception? Why not document it?
  5. Matthew
    Matthew avatar
    18 posts
    Member since:
    Mar 2009

    Posted 01 Apr 2009 Link to this post

    We have solved the problem.
    Note: the (embedded skinned) chart is inside a dock is inside a splitter pane arrangement.
    In another splitter pane is a tree.; All Telerik

    Changing the tree from having an embedded skin to file-based skin caused the map rendering to break.
    Even adding an emty tree.css file to the theme folder caused the map rendering to break.

    I think you have some issues here.

    Changing the map to also use a non-embedded theme fixed the problem

Back to Top