Server Performance with RadGauge for WPF

Thread is closed for posting
3 posts, 0 answers
  1. 78C3B137-E2EA-4459-8402-7347F45A7CFE
    78C3B137-E2EA-4459-8402-7347F45A7CFE avatar
    885 posts
    Member since:
    Nov 2003

    Posted 17 Apr 2009 Link to this post

    Requirements

    RadControls    2009.1.413.35
    version

     

    .NET version    3.5

     

    Visual Studio version

    VS 2008 SP1

    programming language

    C#

    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    This is a WPF Remake of the sample provided for Silverlight
    http://www.telerik.com/community/code-library/silverlight/general/raggauge-in-serverdashboard.aspx

    The documentation for the project is found at
    http://manni-at.spaces.live.com/blog/cns!82CF2A6C0D0C6F3C!179.entry
    This entry discusse the migration to WPF - the whole thing starts here:
    http://manni-at.spaces.live.com/blog/cns!82CF2A6C0D0C6F3C!172.entry but this is also linked in the first blog entry.

    How to run - open in VS2008 and run the WPF application in the project.
    I keep the service address in Settings (at the WPF project) - so if the service does not start at http://localhost:3169/PerfSvc.svc simply change the setting (there is only one).

    A Screenshot is incluede in the ZIP File

    Have fun

    Manfred
  2. 7A815B82-D962-4C17-8E92-85128E4335A2
    7A815B82-D962-4C17-8E92-85128E4335A2 avatar
    1681 posts
    Member since:
    Aug 2014

    Posted 21 Apr 2009 Link to this post

    Hi Manfred,

    Thank you for submitting this project, we really appreciate your involvement and we have updated your Telerik points for that.

    I have a couple quick notes on your code. You are using transformations on marker object to move it slightly from the original “OverCenter” location. You actually can do it using easy way: by changing Location and Offset properties. Location property allows you put marker in 7 predefined positions and Offset property allows you shift it using relative measure. The same position of marker can be achieved by using following values:

    <gauge:Marker x:Name="gauge_markerCPU"   
          Location="CenterInside" 
          Offset="0.01" 
          RelativeHeight="0.04"   
          RelativeWidth="0.08"   
          IsAnimated="True"   
          BorderBrush="#FFF38005" > 
    </gauge:Marker> 
     

    You are also using transformations to scale and rotate marker. You can achieve same result by simple change the RelativeHeight and RelativeWidth properties. The same size of marker can be achieved by using following values:

    <gauge:Marker x:Name="gauge_markerRAMUsed"   
      Location="OverCenter"   
      RelativeHeight="0.06"   
      RelativeWidth="0.03"   
      IsAnimated="True">  
    </gauge:Marker> 
     

    Kind regards,
    Andrey Murzov
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. 78C3B137-E2EA-4459-8402-7347F45A7CFE
    78C3B137-E2EA-4459-8402-7347F45A7CFE avatar
    885 posts
    Member since:
    Nov 2003

    Posted 21 Apr 2009 Link to this post

    Hi,

    I've got a message about your post -.already answered by me in the Silverlight sample.
    But I found that this thread is not listed in the WPF Samples Forums.

    Regards

    Manfred
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.