Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
259
How to create XamWebGauge like Live Data sample shown in demo?
posted

Hello,
  I'm experimenting with the Radial gauge and want to emulate the look of the infragistics XamWebGauge displaying "Live Data" from a web service.

In particular, I want to display the numeric text value in the text box in the center of the radial dial and
some text label to go with it.

Is there a code sample that demonstrates how to add the text box & label to the radial gauge?
Thanks in advance - D

Parents
  • 28496
    Verified Answer
    Offline posted

    you can view the source code for that sample by clicking the "code" button in the upper right.

    this sample uses a XamWebSegmentedDisplay instead of a TextBox, but the concept of the same.  the simplest way to do it is to just add the TextBox to your form and use its margins to position it over the gauge.

    alternatively, you can put the TextBox in the ControlTemplate for the gauge, but it will be harder to reference in c# code when setting the value.

Reply Children
No Data