Giter Site home page Giter Site logo

devexpress-examples / how-to-determine-whether-an-indicators-value-falls-into-a-particular-range-e3329 Goto Github PK

View Code? Open in Web Editor NEW
0.0 57.0 0.0 24 KB

.NET, Silverlight, DXGauges for Silverlight

License: Other

HTML 23.38% C# 26.83% ASP.NET 22.42% Visual Basic .NET 27.37%
dotnet dxgauges silverlight

how-to-determine-whether-an-indicators-value-falls-into-a-particular-range-e3329's Introduction

Files to look at:

How to determine whether an indicator's value falls into a particular range

[Run Online]

In some cases, you need to know whether or not the current value of an indicator belongs to a particular range. This example shows how to create a state indicator that changes its color depending on the current range.


Description

In this example, the Circular gauge is created with three ranges and two empty sections. Initially the gauge's needle doesn't belong to any range, so the state indicator is painted as a gray ellipse.

To solve this task it's necessary to handle the IndicatorEnter and IndicatorLeave events in the following way:
- if a needle 'enters' a range, it becomes painted with a range color;
- if a needle 'leaves' a range, it becomes painted in gray.

Note: In this example we set the IsInteractive property to True, so that you can click on a gauge and manually change the current needle value.




how-to-determine-whether-an-indicators-value-falls-into-a-particular-range-e3329's People

Contributors

devexpressexamplebot avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.