Add graph support for alerts in dashboard.