public virtual GeckoComparison GetGeckoboardComparisonForSiteCheck(string site, string check)
 {
     Caching.NoCache();
     return(myImplementation.GetGeckoboardComparisonForSiteCheck(new ComparisonArgs
     {
         Check = check,
         Site = site,
         Tag = QueryString.AsString("tag"),
         DecimalPlaces = GetDecimalPlacesFromRequest()
     }));
 }
        public GeckoPieChart GetGeckoboardPieChartForCheck(string check, string outcome, string operation)
        {
            var operationType = (DataOperationType)Enum.Parse(typeof(DataOperationType), operation, true);
            var outcomeType   = (OutcomeType)Enum.Parse(typeof(OutcomeType), outcome, true);

            Caching.NoCache();
            return(myImplementation.GetGeckoboardPieChartForCheck(new PieChartArgs
            {
                Site = QueryString.AsString("site"),
                Agent = QueryString.AsString("agent"),
                Check = check,
                Outcome = outcomeType,
                DataOperation = operationType
            }));
        }
        public GeckoLineChart GetGeckoboardLineChartForCheckRate(string check, string outcome, string operation, string rate)
        {
            var operationType = (DataOperationType)Enum.Parse(typeof(DataOperationType), operation, true);
            var outcomeType   = (OutcomeType)Enum.Parse(typeof(OutcomeType), outcome, true);

            Caching.NoCache();
            var data = myImplementation.GetGeckoboardLineChartForCheckRate(new LineChartArgs
            {
                Site                = QueryString.AsString("site"),
                Agent               = QueryString.AsString("agent"),
                Tag                 = QueryString.AsString("tag"),
                Check               = check,
                Unit                = rate,
                Limit               = QueryString.AsInt("limit", MAX_LINECHART_ITEMS),
                MaxItems            = MAX_LINECHART_ITEMS,
                Sample              = QueryString.AsInt("sample", 1),
                ScaleYDecimalPlaces = GetDecimalPlacesFromRequest(),
                DataOperation       = operationType,
                DecimalPlaces       = GetDecimalPlacesFromRequest(),
                Outcome             = outcomeType
            });

            return(data);
        }
 public virtual GeckoPieChart GetGeckoboardPieChartForSite(string site)
 {
     Caching.NoCache();
     return(myImplementation.GetGeckoboardPieChartForSite(site));
 }
 public virtual GeckoPieChart GetGeckoboardPieChartForAllSites()
 {
     Caching.NoCache();
     return(myImplementation.GetGeckoboardPieChartForAllSites());
 }
 public virtual GeckoComparison GetGeckoboardDayInterval(string date)
 {
     Caching.NoCache();
     return(myImplementation.GetGeckoboardDayInterval(date));
 }