in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

How to move the needle in a Circular Gauge

Last post 8/29/2008 9:35 AM by Rafael Ontivero. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
Previous Next
  • 8/29/2008 7:05 AM

    How to move the needle in a Circular Gauge

    Currently I'm using

      private void m_timer_Tick(object sender, EventArgs e)
      {
          m_gaugeR1.Needles[0].Angle++;
      }

    as a test, but needle does not move. In debugger, Angle changes but none moves in screen.

    Circular gauges does not have Text or Value or other standar properties (like  Digital ones), and the only property or function I've found to move the needle is Angle...

     

  • 8/29/2008 7:58 AM In reply to

    Re: How to move the needle in a Circular Gauge

    Answer

    I think you are looking for the Value property contained in the Scale object.  Try something like:

    m_gaugeR1.Scales[0].Value++

  • 8/29/2008 9:35 AM In reply to

    Re: How to move the needle in a Circular Gauge

    Yes!

    It works.

    Thanks a lot.

    Yes

Page 1 of 1 (3 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED