Slow RadChart in DockPanel

11 posts, 0 answers
  1. Filipe Rodrigues
    Filipe Rodrigues avatar
    21 posts
    Member since:
    Oct 2006

    Posted 18 May 2007 Link to this post

    Hi,

    My application becomes very slow when I generate radcharts inside dockpanels...

    Here is the code:

    Dim dp As New DockPanel
    dp.Text = "Panel"
    dp.CloseButtonVisible = False
    dp.DropDownButtonVisible = False
    Dim chart As New RadChart
    chart.Dock = DockStyle.Fill
    dp.Controls.Add(chart)
    DockingManager1.SetDock(dp, DockPosition.Fill)

    What I'm doing wrong?
  2. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 21 May 2007 Link to this post

    Hello Filipe Rodrigues,

    Unfortunately you are not doing anything wrong. We are aware of some performance issues with our new charting engine and are currently working on them as we speak. Resize operations require re-rendering of the image which is currently a costly operation. We would advise to reduce resizing as much as possible until we are able to improve runtime performance.

    We apologize for the inconvenience.

    Best wishes,
    Vladimir Milev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Filipe Rodrigues
    Filipe Rodrigues avatar
    21 posts
    Member since:
    Oct 2006

    Posted 22 May 2007 Link to this post

    Hi,
    The problem doesn't occurs only when the chart is resized! I put the chart with dock = none and the problem remains. I think the problem is when I put it in a dockpanel.
    How can I work around this?
    Thanks.
  5. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 22 May 2007 Link to this post

    Hello Filipe Rodrigues,
    We tested locally and were unable to verify the "slow" behavior that you have reported. Docking manager operates correctly. If there is a performance penalty it is caused explicitly by the charting control. The charting engine is being optimized at the moment so we believe performance will increase dramatically very soon (in one of the upcoming SPs maybe).

    Best wishes,
    Dimitar Kapitanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Filipe Rodrigues
    Filipe Rodrigues avatar
    21 posts
    Member since:
    Oct 2006

    Posted 28 May 2007 Link to this post

    Hi,
    I need to increase the radchart performance to show our prototype to a costumer!
    While the SP isn't ready, is there any work arround to the problem? Like clearing chart series, or chart resizing while resizing the dockpanel?
    Any help?
    Thanks
  7. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 31 May 2007 Link to this post

    Hi Filipe Rodrigues,

    We have already made some performance optimizations to our windows forms chart. If you submit a support ticket we can give you a unofficial build with the optimizations so you can do your demo.

    Best wishes,
    Vladimir Milev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. johns
    johns avatar
    20 posts
    Member since:
    Jul 2007

    Posted 06 Jul 2007 Link to this post

    What is the status of this problem.

    I am having the same issue.  I add many small charts even with no data series set to a flowpanel that is in a dock panel, and then dragging the panel is unusably slow.

    -John Schneider
  9. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 10 Jul 2007 Link to this post

    Hi guys,

    We will be releasing a service pack today which should solve the performance issue. In case you still experience problems with the upcoming version, please open a support ticket and send us your applications so that we can review them. 

    Thank you in advance.

     
    Greetings,
    Chavdar
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  10. johns
    johns avatar
    20 posts
    Member since:
    Jul 2007

    Posted 13 Jul 2007 Link to this post

    The service pack solved the problem.

    Thanks You!
  11. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 16 Jul 2007 Link to this post

    You are welcome, guys, we are glad we were able to help.

     
    Kind regards,
    Chavdar
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  12. gdijim
    gdijim avatar
    13 posts
    Member since:
    May 2007

    Posted 23 Jul 2007 Link to this post

    I just wanted to mention that the very first post in this series is a very good and concise "How-to" of how to use the dock panel and any subsequent controls programatically.

    Thanks!
    Jim
Back to Top
UI for WinForms is Visual Studio 2017 Ready