radial gauge using real time data

4 posts, 0 answers
  1. umer
    umer avatar
    1 posts
    Member since:
    Mar 2015

    Posted 29 Mar 2015 Link to this post

    hello sir , im using your telerik library . sir we  are using the radial gauge but i want to use my real time data to move the needle of the gauge , can u please help me out how we can do the programming .
  2. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 31 Mar 2015 Link to this post

    Hello Umer,

    Thank you for writing.

    You can refer to our Demo application >> Gauges >> First look example where on a Timer.Tick the RadRadialGauge.Value is updated. Additionally, you can have a look at our Gauges >> Getting started help article >> Clock example. If you are still unable to achieve the exact requirement, please specify in details what you are trying to accomplish. Thus, we would be able to assist you further.

    I hope this information helps. Should you have further questions, I would be glad to help.
     
    Regards,
    Dess
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for WinForms is Visual Studio 2017 Ready
  4. umer
    umer avatar
    1 posts
    Member since:
    Mar 2015

    Posted 10 Apr 2015 in reply to Dess Link to this post

    sir this program is not related to our application , we are getting data from a eeg headset and trying to bring the data onto the gauge , how we can do this ??
  5. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 15 Apr 2015 Link to this post

    Hello Umer,

    Thank you for writing back.

    Following the examples from the referred Demo application and online documentation, I have prepared a sample code snippet demonstrating how to manipulate the RadRadialGauge.Value property on a Timer.Tick. Note that the RadialGaugeNeedle.BindValue property is set to true in order to indicate that the needle's value is bound to the gauge's value. In the code snippet below the value is set to a random generated number just for the example. You can use any custom object's property according to your specific requirement:
    Random rand = new Random();
    public Form1()
    {
        InitializeComponent();
     
        Timer timer = new Timer();
        timer.Interval = 1000;
        timer.Tick+=timer_Tick;
        timer.Start();
     
        this.radialGaugeNeedle1.BindValue = true;
    }
     
    private void timer_Tick(object sender, EventArgs e)
    {
        this.radRadialGauge1.Value = rand.Next(0, 180);
    }


    The attached gif file illustrates the behavior on my end. If it does not suit your scenario, it would be greatly appreciated if you give us more details about the exact requirement that you trying to achieve when manipulating the needle. Thank you.

    I hope this information helps. If you have any additional questions, please let me know.
     
    Regards,
    Dess
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top