public void bindData(int clientID, int userID)
        {
            Series series1 = null;
            List <ProgressStatisticsView> claimStatistics = null;

            using (ProgressStatusManager repository = new ProgressStatusManager())
            {
                claimStatistics = repository.getProgressStatistics(clientID, userID);
            }

            if (claimStatistics != null && claimStatistics.Count > 0)
            {
                series1 = Chart1.Series[0];

                foreach (ProgressStatisticsView stats in claimStatistics)
                {
                    System.Web.UI.DataVisualization.Charting.DataPoint dataPoint = new System.Web.UI.DataVisualization.Charting.DataPoint();

                    dataPoint.AxisLabel = stats.ProgressDescription;

                    dataPoint.YValues = new double[] { stats.claimCount };

                    // do not show bar for empty values
                    dataPoint.IsEmpty = stats.claimCount.Equals(0);
                    dataPoint.ToolTip = "Click to drill down";

                    series1.Points.Add(dataPoint);

                    dataPoint.Url = string.Format("javascript:progressDrilldown('{0}','{1}');", stats.ProgressStatusID, stats.ProgressDescription);
                }
            }
        }
        public void bindData(int clientID)
        {
            Series series1 = null;
            List <ProgressStatisticsView> claimStatistics = null;

            using (ProgressStatusManager repository = new ProgressStatusManager()) {
                claimStatistics = repository.getProgressStatistics(clientID);
            }
            if (claimStatistics != null && claimStatistics.Count > 0)
            {
                series1 = Chart1.Series[0];

                foreach (ProgressStatisticsView stats in claimStatistics)
                {
                    System.Web.UI.DataVisualization.Charting.DataPoint dataPoint = new System.Web.UI.DataVisualization.Charting.DataPoint();

                    dataPoint.AxisLabel = stats.ProgressDescription;

                    dataPoint.YValues = new double[] { stats.claimCount };
                    //dataPoint.Url = "~/Protected/ClaimEdit.aspx";

                    // do not show bar for empty values
                    dataPoint.IsEmpty = stats.claimCount.Equals(0);
                    dataPoint.ToolTip = "Click to drill down";

                    series1.Points.Add(dataPoint);


                    //dataPoint.MapAreaAttributes = string.Format("onclick=\"alert('{0}')\";", stats.ProgressStatusID);
                    dataPoint.Url = string.Format("javascript:progressDrilldown('{0}','{1}');", stats.ProgressStatusID, stats.ProgressDescription);
                    //Chart1.Series[0].Points.AddXY(stats.ProgressDescription, stats.claimCount);
                }
                //series1.Sort(PointSortOrder.Ascending, "AxisLabel");
                //series1.MapAreaAttributes =
            }
        }