FusionCharts for Flex > Creating Widgets > Real-Time Capabilities > Alert Manager > Introduction

FusionWidgets introduces "Alert Manager" in all real time gauges. Alert Manager helps you define your own thresholds for data values and then perform specific actions for each defined threshold. For example, if you’re plotting a real-time temperature gauge and you wish to play a sound when the temperature reaches between say 90 and 100 Fahrenheit, you can easily do so using Alert Manager.

Alert Manager allows you define any number of alert threshold ranges for the gauge. The threshold range should not overlap. For each threshold range (from now on referred to as alert range), you can specify one of the following actions:

  • Generate a Flex event and pass parameters to it
  • Call a JavaScript function and pass parameters to it
  • Show a pre-defined annotation on the gauge
  • Play a MP3 sound, which is dynamically loaded

We'll next see how to implement Alert Manager for any real-time gauge using XML.