public static DiagnosticData AddGuage(this Response response, InsightStatus status, double percentFilled, string displayValue, string label, GuageSize size = GuageSize.Medium, string description = "")
        {
            Guage guage = new Guage(status, percentFilled, displayValue, label, size, description);

            return(AddGuages(response, new List <Guage>()
            {
                guage
            }, GuageRenderDirection.Vertical));
        }
 /// <summary>
 /// Adds a Guage to Response
 /// </summary>
 /// <param name="response">Response</param>
 /// <param name="guage">Guage</param>
 /// <returns></returns>
 /// <example>
 /// This sample shows how to use <see cref="AddGuage"/> method.
 /// <code>
 /// public async static Task<![CDATA[<Response>]]> Run(DataProviders dp, OperationContext cxt, Response res)
 /// {
 ///     Guage g = new Guage(InsightStatus.Warning, 80.0, "80 %", "`80% Utilized`", GuageSize.Large, "`Some markdown string`");
 ///     res.AddGuage(g);
 ///     return res;
 ///}
 /// </code>
 /// </example>
 public static DiagnosticData AddGuage(this Response response, Guage guage)
 {
     if (guage == null)
     {
         return(null);
     }
     return(AddGuages(response, new List <Guage>()
     {
         guage
     }, GuageRenderDirection.Vertical));
 }