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 chart 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 chart. The threshold range just shouldn’t overlap. For each threshold range, you can specify one of the following actions:

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

All the data-streaming charts in FusionWidgets v3 suite support alert manager. You may please see the section "Alert Manager" on how to implement alert manager for data-streaming charts.

 
Setting alert manager control for individual datasets

In data streaming charts, you can additionally control the datasets that are checked by alert manager to raise any events.

For example, if you're comparing the stock price of Google and Dell on a single real-time line chart but want alerts to be defined and raised only for Google, you can disable the alert for Dell's data set using:

<dataset seriesName='Dell' showValues='0' checkForAlerts='0'>
</dataset>

The checkForAlerts attribute when set to 0 eliminates a dataset's value from being checked for alerts.

By default, if alerts are defined, all datasets are checked for alerts.