#pragma checksum "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9b8b93bda5810f3d6ea044e6a79735de7382b3b6"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Home_History), @"mvc.1.0.view", @"/Views/Home/History.cshtml")]
namespace AspNetCore
{
    #line hidden
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Mvc;
    using Microsoft.AspNetCore.Mvc.Rendering;
    using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\_ViewImports.cshtml"
using MeteoWebApp;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\_ViewImports.cshtml"
using MeteoWebApp.Models;

#line default
#line hidden
#nullable disable
#nullable restore
#line 1 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
using System;

#line default
#line hidden
#nullable disable
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"9b8b93bda5810f3d6ea044e6a79735de7382b3b6", @"/Views/Home/History.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c7d9dcd9f7e5caf74659f6b7850561373116a8e8", @"/Views/_ViewImports.cshtml")]
    public class Views_Home_History : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<Tuple<List<Station>, List<DateTime>, List<string>, int, List<Measurement>, List<Measurement>, List<Measurement>>>
    {
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("method", "post", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        #line hidden
        #pragma warning disable 0649
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
        #pragma warning restore 0649
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
        #pragma warning disable 0169
        private string __tagHelperStringValueBuffer;
        #pragma warning restore 0169
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager
        {
            get
            {
                if (__backed__tagHelperScopeManager == null)
                {
                    __backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
                }
                return __backed__tagHelperScopeManager;
            }
        }
        private global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper;
        private global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper;
        private global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper;
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            WriteLiteral("\r\n");
            WriteLiteral("\r\n");
#nullable restore
#line 5 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  
    ViewData["Title"] = "Historie";

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<div class=""row row-cols-1 py-2"">
    <div class=""col-10 text-left"">
        <h2>Historie měření</h2>
    </div>

    <div class=""col-2 text-right"">
    </div>
</div>

<div class=""row row-cols-1 py-2"">
        <div class=""col-lg-12"">
            <div class=""card h-100 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-10"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
                    ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9b8b93bda5810f3d6ea044e6a79735de7382b3b64693", async() => {
                WriteLiteral(@" 
                        <div class=""row"">    
			                <div class=""col-12 text-center"">      
                                <h4>Výběr dat pro zobrazení</h4>
                            </div>
  			            </div>

                        <div class=""row row-col-2 "">    
			                
                            <div class=""col-4 text-right"">

                            <div class=""row row-col-2 "">                    
                                <div class=""col-5 text-right"">      
                                    Stanice:        
                                </div>

                                <div class=""col-7 text-left""> 
	                                <select name=""stationId"">
");
#nullable restore
#line 40 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         foreach(var station in Model.Item1)
                                        {

#line default
#line hidden
#nullable disable
                WriteLiteral("                                            ");
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9b8b93bda5810f3d6ea044e6a79735de7382b3b66083", async() => {
#nullable restore
#line 42 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                          Write(station.Name);

#line default
#line hidden
#nullable disable
                }
                );
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                BeginWriteTagHelperAttribute();
#nullable restore
#line 42 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                               WriteLiteral(station.StationId);

#line default
#line hidden
#nullable disable
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                WriteLiteral("\r\n");
#nullable restore
#line 43 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                        }

#line default
#line hidden
#nullable disable
                WriteLiteral(@"                                    </select>
                                </div>
  			                </div>


			                <div class=""row row-col-2 "">
                                <div class=""col-5 text-right"">      
                                    Období:      
                                </div>
                            <div class=""col-7 text-left"">     
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""radio"" name=""reportType"" id=""daily"" value=""1"" ");
#nullable restore
#line 55 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                        if(Model.Item4 == 1){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 55 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                 }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""daily"">
                                  Den
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""radio"" name=""reportType"" id=""weekly"" value=""2"" ");
#nullable restore
#line 61 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                         if(Model.Item4 == 2){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 61 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                  }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""weekly"">
                                    Týden
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""radio"" name=""reportType"" id=""monthly"" value=""3"" ");
#nullable restore
#line 67 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                          if(Model.Item4 == 3){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 67 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                   }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""monthly"">
                                    Měsíc
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""radio"" name=""reportType"" id=""annual"" value=""4"" ");
#nullable restore
#line 73 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                         if(Model.Item4 == 4){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 73 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                  }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""annual"">
                                    Rok
                                  </label>
                                </div>
                            </div>
                            </div>

                            <div class=""row row-col-2 "">
                            <div class=""col-5 text-right"">      
                                Od data:        
                            </div>
                            <div class=""col-7 text-left""> 
                                <input name=""firstDate"" type=""date""");
                BeginWriteAttribute("value", " value=\"", 4197, "\"", 4257, 1);
#nullable restore
#line 86 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
WriteAttributeValue("", 4205, Model.Item2.ElementAt(1).ToString("yyyy'-'MM'-'dd"), 4205, 52, false);

#line default
#line hidden
#nullable disable
                EndWriteAttribute();
                BeginWriteAttribute("min", " min=\"", 4258, "\"", 4316, 1);
#nullable restore
#line 86 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
WriteAttributeValue("", 4264, Model.Item2.ElementAt(0).ToString("yyyy'-'MM'-'dd"), 4264, 52, false);

#line default
#line hidden
#nullable disable
                EndWriteAttribute();
                BeginWriteAttribute("max", " max=\"", 4317, "\"", 4375, 1);
#nullable restore
#line 86 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
WriteAttributeValue("", 4323, Model.Item2.ElementAt(2).ToString("yyyy'-'MM'-'dd"), 4323, 52, false);

#line default
#line hidden
#nullable disable
                EndWriteAttribute();
                WriteLiteral(@" />

  			                </div>
  			                </div>
                              
                          </div>
                          <div class=""col-8 text-left""> 
                                <h5>Grafy pro zobrazení</h5>


                                <div class=""row row-col-3 "">
                                    <div class=""col-4 text-left"">
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""Temperature"" id=""graphs"" ");
#nullable restore
#line 99 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                    if(Model.Item3.Count == 0||Model.Item3.Contains("Temperature")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 99 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                        }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckDefault"">
                                    <a class=""text-dark"" href=""#Temperature"">Teplota</a>
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""TemperatureFeelsLike"" id=""graphs"" ");
#nullable restore
#line 105 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                             if(Model.Item3.Count == 0||Model.Item3.Contains("TemperatureFeelsLike")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 105 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                          }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#TemperatureFeelsLike"">Pocitová teplota</a>
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""DewPoint"" id=""graphs"" ");
#nullable restore
#line 111 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                 if(Model.Item3.Count == 0||Model.Item3.Contains("DewPoint")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 111 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                  }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#DewPoint"">Rosný bod</a>
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""Humidity"" id=""graphs"" ");
#nullable restore
#line 117 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                 if(Model.Item3.Count == 0||Model.Item3.Contains("Humidity")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 117 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                  }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#Humidity"">Vzdušná vlhkost</a>
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""Pressure"" id=""graphs"" ");
#nullable restore
#line 123 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                 if(Model.Item3.Count == 0||Model.Item3.Contains("Pressure")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 123 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                  }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#Pressure"">Tlak vzduchu</a>
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""SeaLevelPressure"" id=""graphs"" ");
#nullable restore
#line 129 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                         if(Model.Item3.Count == 0||Model.Item3.Contains("SeaLevelPressure")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 129 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                  }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#SeaLevelPressure"">Tlak vzduchu přepočtený na hladinu moře</a>
                                  </label>
                                </div>
                                </div>


                                 <div class=""col-4 text-left""> 
                                     <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""WindSpeed"" id=""graphs"" ");
#nullable restore
#line 139 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                  if(Model.Item3.Count == 0||Model.Item3.Contains("WindSpeed")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 139 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                    }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#WindSpeed"">Rychlost a směr větru</a>
                                    
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""RainAmount"" id=""graphs"" ");
#nullable restore
#line 146 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                   if(Model.Item3.Count == 0||Model.Item3.Contains("RainAmount")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 146 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                      }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#RainAmount"">Srážky</a>
                                    
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""UvIndex"" id=""graphs"" ");
#nullable restore
#line 153 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                if(Model.Item3.Count == 0||Model.Item3.Contains("UvIndex")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 153 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#UvIndex"">UV index</a>
                                    
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""SoilTemp"" id=""graphs"" ");
#nullable restore
#line 160 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                 if(Model.Item3.Count == 0||Model.Item3.Contains("SoilTemp")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 160 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                  }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#SoilTemp"">Teplota půdy</a>
                                    
                                  </label>
                                </div>
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""SoilMoisture"" id=""graphs"" ");
#nullable restore
#line 167 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                     if(Model.Item3.Count == 0||Model.Item3.Contains("SoilMoisture")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 167 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                          }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#SoilMoisture"">Vlhkost půdy</a>
                                    
                                  </label>
                                </div>

                                     
  			                </div>
                            <div class=""col-4 text-left""> 
                                
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""BatteryVoltage"" id=""graphs"" ");
#nullable restore
#line 179 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                       if(Model.Item3.Count == 0||Model.Item3.Contains("BatteryVoltage")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 179 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                              }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#BatteryVoltage"">Napětí baterie</a>
                                    
                                  </label>
                                </div>

                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""TemperatureAndTemperstureFeelsLike"" id=""graphs"" ");
#nullable restore
#line 187 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                           if(Model.Item3.Count == 0||Model.Item3.Contains("TemperatureAndTemperstureFeelsLike")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 187 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                      }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#TemperatureAndTemperstureFeelsLike"">Teplota + Pocitová teplota</a>
                                    
                                  </label>
                                </div>

                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""SoilTempAndTemperature"" id=""graphs"" ");
#nullable restore
#line 195 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                               if(Model.Item3.Count == 0||Model.Item3.Contains("SoilTempAndTemperature")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 195 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                              }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#SoilTempAndTemperature"">Teplota + Teplota půdy</a>
                                    
                                  </label>
                                </div>

                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""SoilMoistureAndHumidity"" id=""graphs"" ");
#nullable restore
#line 203 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                if(Model.Item3.Count == 0||Model.Item3.Contains("SoilMoistureAndHumidity")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 203 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#SoilMoistureAndHumidity"">Vlhkost + Vlhkost půdy</a>
                                    
                                  </label>
                                </div>
                                
                                <div class=""form-check"">
                                  <input class=""form-check-input"" type=""checkbox"" name=""graphs[]"" value=""TemperatureAndHumidity"" id=""graphs"" ");
#nullable restore
#line 211 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                               if(Model.Item3.Count == 0||Model.Item3.Contains("TemperatureAndHumidity")){

#line default
#line hidden
#nullable disable
                WriteLiteral("checked");
#nullable restore
#line 211 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                              }

#line default
#line hidden
#nullable disable
                WriteLiteral(@">
                                  <label class=""form-check-label"" for=""flexCheckChecked"">
                                      <a class=""text-dark"" href=""#TemperatureAndHumidity"">Teplota + Vlhkost</a>
                                    
                                  </label>
                                </div>
  			                </div>

  			                </div>

  			                </div>

			                <div class=""col-6 pt-2 pb-2 text-center"">      
    
                            </div>
   				            <div class=""col-6 pt-2 pb-2 text-center"">     
                                <input type=""submit"" value=""Zobrazit"" formaction=""History"">
                            </div>
  			            </div>
                    ");
            }
            );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral("\r\n                </div>\r\n  \t        </div>\r\n        </div>\r\n    </div>\r\n<!-- End of data selection -->\r\n\r\n\r\n<div class=\"text-center\">\r\n    <div class=\"pt-5\">\r\n");
#nullable restore
#line 240 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
          
        switch (Model.Item4) 
            {
                // Daily
                case 1:
                    {

#line default
#line hidden
#nullable disable
            WriteLiteral("                        <h2>Historie za den ");
#nullable restore
#line 246 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                       Write(Model.Item2.ElementAt(1).ToString("dd'.'MM'.'yyyy"));

#line default
#line hidden
#nullable disable
            WriteLiteral("</h2>\r\n                        <p>V grafech jsou zobrazeny hodnoty naměřené stanicí za 1 den</p>\r\n");
#nullable restore
#line 248 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                        break;
                    }
                // Weekly
                case 2:
                    {

#line default
#line hidden
#nullable disable
            WriteLiteral("                        <h2>Historie za týden od ");
#nullable restore
#line 253 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                            Write(Model.Item2.ElementAt(1).ToString("dd'.'MM'.'yyyy"));

#line default
#line hidden
#nullable disable
            WriteLiteral("</h2>\r\n                        <p>V grafech jsou zobrazeny průměrné, maximální a minimální hodnoty naměřené stanicí za 1 týden, průměrování po 1 hodině</p>\r\n");
#nullable restore
#line 255 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                        break;
                    }
                // Monthly
                case 3:
                    {

#line default
#line hidden
#nullable disable
            WriteLiteral("                        <h2>Historie za měsíc od ");
#nullable restore
#line 260 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                            Write(Model.Item2.ElementAt(1).ToString("dd'.'MM'.'yyyy"));

#line default
#line hidden
#nullable disable
            WriteLiteral("</h2>\r\n                        <p>V grafech jsou zobrazeny průměrné, maximální a minimální hodnoty naměřené stanicí za 1 měsíc, průměrování po 1 dni</p>\r\n");
#nullable restore
#line 262 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                        break;
                    }
                // Annual
                case 4:
                    {

#line default
#line hidden
#nullable disable
            WriteLiteral("                        <h2>Historie za rok od ");
#nullable restore
#line 267 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                          Write(Model.Item2.ElementAt(1).ToString("dd'.'MM'.'yyyy"));

#line default
#line hidden
#nullable disable
            WriteLiteral("</h2>\r\n                        <p>V grafech jsou zobrazeny průměrné, maximální a minimální hodnoty naměřené stanicí za 1 rok, průměrování po 1 týdnu</p>\r\n");
#nullable restore
#line 269 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                        break;
                    }
                default:
                    {

#line default
#line hidden
#nullable disable
            WriteLiteral("                        <h2>Historie za den ");
#nullable restore
#line 273 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                       Write(Model.Item2.ElementAt(1).ToString("dd'.'MM'.'yyyy"));

#line default
#line hidden
#nullable disable
            WriteLiteral("</h2>\r\n                        <p>V grafech jsou zobrazeny hodnoty naměřené stanicí</p>\r\n");
#nullable restore
#line 275 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                        break;

                    }
        }
        

#line default
#line hidden
#nullable disable
            WriteLiteral("    \r\n</div>\r\n\r\n    <div class=\"row row-cols-1 justify-content-center\">\r\n        <div class=\"col-lg-10\">\r\n            <!-- Common variables for graphs -->\r\n            <script>\r\n                var xLabelsLong = [\r\n");
#nullable restore
#line 288 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                switch(Model.Item4)
                                {
                                    // Week
                                    case 2:
                                    {
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 294 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         foreach (var item in Model.Item5)
                                        {
                                            string dateString = item.Timestamp.ToString("dd.MM.yyyy HH:00-");
                                            dateString += item.Timestamp.AddHours(1).ToString("HH:00");
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("\"");
#nullable restore
#line 298 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                     Write(dateString);

#line default
#line hidden
#nullable disable
            WriteLiteral("\",");
#nullable restore
#line 298 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                    
                                        }

#line default
#line hidden
#nullable disable
#nullable restore
#line 299 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                        break;
                                    }
                                    // Month
                                    case 3:
                                    {
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 305 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         foreach (var item in Model.Item5)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("\"");
#nullable restore
#line 307 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                     Write(item.Timestamp.ToString("dd.MM.yyyy"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\",");
#nullable restore
#line 307 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                               
                                        }

#line default
#line hidden
#nullable disable
#nullable restore
#line 308 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                        break;
                                    }
                                    // Year
                                    case 4:
                                    {
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 314 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         foreach (var item in Model.Item5)
                                        {
                                            string dateString = item.Timestamp.ToString("dd.MM.yyyy-");
                                            dateString += item.Timestamp.AddDays(7).ToString("dd.MM.yyyy");
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("\"");
#nullable restore
#line 318 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                     Write(dateString);

#line default
#line hidden
#nullable disable
            WriteLiteral("\",");
#nullable restore
#line 318 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                    
                                        }

#line default
#line hidden
#nullable disable
#nullable restore
#line 319 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                        break;
                                    }
                                    // Day
                                    default:
                                    {
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 325 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         foreach (var item in Model.Item5)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("\"");
#nullable restore
#line 327 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                     Write(item.Timestamp.ToString("dd.MM.yyyy HH:mm"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\",");
#nullable restore
#line 327 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                     
                                        }

#line default
#line hidden
#nullable disable
#nullable restore
#line 328 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                        break;
                                    }
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral("];\r\n                var xLabelsShort = [\r\n");
#nullable restore
#line 334 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                switch(Model.Item4)
                                {
                                    // Week
                                    case 2:
                                    {
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 340 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         foreach (var item in Model.Item5)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("\"");
#nullable restore
#line 342 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                     Write(item.Timestamp.ToString("dd.MM.yyyy HH:00"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\",");
#nullable restore
#line 342 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                     
                                        }

#line default
#line hidden
#nullable disable
#nullable restore
#line 343 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                        break;
                                    }
                                    // Month
                                    case 3:
                                    {
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 349 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         foreach (var item in Model.Item5)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("\"");
#nullable restore
#line 351 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                     Write(item.Timestamp.ToString("dd.MM.yyyy"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\",");
#nullable restore
#line 351 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                               
                                        }

#line default
#line hidden
#nullable disable
#nullable restore
#line 352 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                        break;
                                    }
                                    // Year
                                    case 4:
                                    {
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 358 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         foreach (var item in Model.Item5)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("\"");
#nullable restore
#line 360 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                     Write(item.Timestamp.ToString("MMMM yyyy"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\",");
#nullable restore
#line 360 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                              
                                        }

#line default
#line hidden
#nullable disable
#nullable restore
#line 361 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                        break;
                                    }
                                    // Day
                                    default:
                                    {
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 367 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         foreach (var item in Model.Item5)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("\"");
#nullable restore
#line 369 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                     Write(item.Timestamp.ToString("HH:00"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\",");
#nullable restore
#line 369 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                          
                                        }

#line default
#line hidden
#nullable disable
#nullable restore
#line 370 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                        break;
                                    }
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral("];\r\n                var xMaxTicks = \r\n");
#nullable restore
#line 376 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                switch(Model.Item4)
                                {
                                    // Week
                                    case 2:
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("7");
#nullable restore
#line 382 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      
                                        break;
                                    }
                                    // Month
                                    case 3:
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("15");
#nullable restore
#line 388 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                       
                                        break;
                                    }
                                    // Year
                                    case 4:
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("12");
#nullable restore
#line 394 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                       
                                        break;
                                    }
                                    // Day
                                    default:
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("12");
#nullable restore
#line 400 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                       
                                        break;
                                    }
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(";\r\n                var xValues = [\r\n");
#nullable restore
#line 406 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if (Model.Item4 == 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 409 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         foreach (var item in Model.Item5)
                                        {
                                            

#line default
#line hidden
#nullable disable
#nullable restore
#line 411 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                       Write(item.MeasurementId.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 411 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                         
                                        }

#line default
#line hidden
#nullable disable
#nullable restore
#line 412 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                    }
                                    else 
                                    {
                                        int id = 0;
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 417 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         foreach (var item in Model.Item5)
                                        {
                                            id++;
                                            

#line default
#line hidden
#nullable disable
#nullable restore
#line 420 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                       Write(id);

#line default
#line hidden
#nullable disable
#nullable restore
#line 420 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                               
                                        }

#line default
#line hidden
#nullable disable
#nullable restore
#line 421 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                    }
                                

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n            </script>\r\n\r\n");
#nullable restore
#line 427 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("Temperature"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- Temperature -->
            <div id=""Temperature"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      

                        <canvas id=""temperature"" style=""width:100%""></canvas>
                       
                        <script>
                            var yValues = [
");
#nullable restore
#line 441 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 443 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                   Write(item.Temperature.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 443 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                   
                                    }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 448 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 452 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 454 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).Temperature.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 454 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                    Write(Model.Item7.ElementAt(index).Temperature.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 454 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                             
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 456 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                            ];
                                new Chart(""temperature"", 
                                {
                                data: {
                                datasets: [
                                {
                                type: ""line"",
                                fill: false,
                                pointStyle: 'crossRot',
                                borderWidth: 1,
                                lineTension: 0,
                                radius: 5,
                                backgroundColor: ""rgba(0,0,255,1.0)"",
                                borderColor: ""rgba(0,0,255,1.0)"",
");
#nullable restore
#line 473 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if (Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Průměrná teplota\', ");
#nullable restore
#line 476 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                                
                                    } 
                                    else 
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Teplota\', ");
#nullable restore
#line 481 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                       
                                    }
                                

#line default
#line hidden
#nullable disable
            WriteLiteral("                                  data: yValues,\r\n                                  labels: xLabelsLong\r\n                                },\r\n");
#nullable restore
#line 487 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if(Model.Item4 != 1)
                                    {   
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral(@"{
                                          type: ""bar"",
                                          fill: false,
                                          lineTension: 0,
                                          backgroundColor: ""rgba(0,0,255,0.4)"",
                                          borderColor: ""rgba(0,0,255,0.4)"",
                                          label: 'Teplota min/max',
                                          data: yValues2,
                                          labels: xLabelsLong
                                        }");
#nullable restore
#line 499 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                
                                    }    
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                ],
                                labels: xLabelsShort,
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
");
#nullable restore
#line 521 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                              
                                                if(Model.Item4 != 1)
                                                { 
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
                                                        var text = tooltipItems.datasetIndex === 0 ? 'Průměrná teplota: ' : 'Teplota min/max: '
                                                        return text + tooltipItems.yLabel.toString()+"" °C"";
                                                    ");
#nullable restore
#line 527 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                           
                                                }
                                                else
                                                {
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("return \"Teplota: \" + tooltipItems.yLabel.toString()+\" °C\";");
#nullable restore
#line 531 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                           
                                                }
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""Teplota"",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
                                  }],
                                  yAxes: [");
            WriteLiteral(@"{
                                      ticks: 
                                      {
                                          precision: 0,
                                          callback: function(value, index, values) 
                                            {
                                                return  value + "" °C"";
                                            },
                                      }
                                  }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 573 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 576 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("TemperatureFeelsLike"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- TemperatureFeelsLike -->
            <div id=""TemperatureFeelsLike"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
 
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""temperature_feels_like"" style=""width:100%""></canvas>
                        <script>
                            var yValues = [
");
#nullable restore
#line 588 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 590 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.TemperatureFeelsLike.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 590 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                    
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 594 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 598 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 600 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).TemperatureFeelsLike.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 600 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                             Write(Model.Item7.ElementAt(index).TemperatureFeelsLike.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 600 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                                               
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 602 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                            ];
                            new Chart(""temperature_feels_like"", 
                            {
                                data: {
                                labels:  xLabelsShort,
                                datasets: [{
                                  type: ""line"",
                                  fill: false,
                                  pointStyle: 'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
");
#nullable restore
#line 618 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                        if (Model.Item4 != 1)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Průměrná pocitová teplota\', ");
#nullable restore
#line 621 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                             
                                                
                                        } 
                                        else 
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Pocitová teplota\', ");
#nullable restore
#line 626 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                    
                                        }
                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("                                  data: yValues,\r\n                                  labels: xLabelsLong\r\n                                },\r\n");
#nullable restore
#line 632 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if(Model.Item4 != 1)
                                    {   
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,0.4)"",
                                  borderColor: ""rgba(0,0,255,0.4)"",
                                  label: 'Pocitová teplota min/max',
                                  data: yValues2,
                                  labels: xLabelsLong
                                }");
#nullable restore
#line 644 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                        
                                
                            }    
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"]
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
                                            return ""Pocitová teplota: "" + tooltipItems.yLabel.toString()+"" °C"";
");
#nullable restore
#line 666 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                              
                                                if(Model.Item4 != 1)
                                                { 
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
                                                        var text = tooltipItems.datasetIndex === 0 ? 'Průměrná pocitová teplota: ' : 'Pocitová teplota min/max: '
                                                        return text + tooltipItems.yLabel.toString()+"" °C"";
                                                    ");
#nullable restore
#line 672 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                           
                                                }
                                                else
                                                {
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("return \"Pocitová teplota: \" + tooltipItems.yLabel.toString()+\" °C\";");
#nullable restore
#line 676 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                    
                                                }
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""Pocitová teplota"",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
                                  }],
                                 ");
            WriteLiteral(@" yAxes: [{
                                      ticks: 
                                      {
                                          precision: 0,
                                          callback: function(value, index, values) 
                                            {
                                                return  value + "" °C"";
                                            },
                                      }
                                  }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 718 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 721 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("DewPoint"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- DewPoint -->
            <div id=""DewPoint"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
 
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""dew_point"" style=""width:100%""></canvas>
                        <script>
                            var yValues = [
");
#nullable restore
#line 733 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 735 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.DewPoint.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 735 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                        
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 739 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 743 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 745 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).DewPoint.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 745 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                 Write(Model.Item7.ElementAt(index).DewPoint.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 745 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                       
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 747 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                            ];
                            new Chart(""dew_point"", 
                            {
                                
                                data: {
                                labels:  xLabelsShort,
                                datasets: [{
                                  type: ""line"",
                                  fill: false,
                                  pointStyle: 'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
");
#nullable restore
#line 764 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                        if (Model.Item4 != 1)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Průměrná teplota Rosného bodu\', ");
#nullable restore
#line 767 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                 
                                                
                                        } 
                                        else 
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Rosný bod\', ");
#nullable restore
#line 772 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                             
                                        }
                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("                                  data: yValues,\r\n                                  labels: xLabelsLong\r\n                                },\r\n");
#nullable restore
#line 778 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if(Model.Item4 != 1)
                                    {   
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,0.4)"",
                                  borderColor: ""rgba(0,0,255,0.4)"",
                                  label: 'Rosný bod min/max',
                                  data: yValues2,
                                  labels: xLabelsLong
                                }");
#nullable restore
#line 790 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                        
                                
                            }    
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"]
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
");
#nullable restore
#line 811 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                              
                                                if(Model.Item4 != 1)
                                                { 
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
                                                        var text = tooltipItems.datasetIndex === 0 ? 'Průměrná rosného bodu: ' : 'Rosný bod min/max: '
                                                        return text + tooltipItems.yLabel.toString()+"" °C"";
                                                    ");
#nullable restore
#line 817 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                           
                                                }
                                                else
                                                {
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("return \"Rosný bod: \" + tooltipItems.yLabel.toString()+\" °C\";");
#nullable restore
#line 821 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                             
                                                }
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""Rosný bod"",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
                                  }],
                                  yAxe");
            WriteLiteral(@"s: [{
                                      ticks: 
                                      {
                                          precision: 0,
                                          callback: function(value, index, values) 
                                            {
                                                return  value + "" °C"";
                                            },
                                      }
                                  }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 864 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 867 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("TemperatureAndTemperstureFeelsLike"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- TemperatureAndTemperstureFeelsLike -->
            <div id=""TemperatureAndTemperstureFeelsLike"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      

                        <canvas id=""temperatureAndTemperstureFeelsLike"" style=""width:100%""></canvas>
                       
                        <script>
                            var yValues = [
");
#nullable restore
#line 880 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 882 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.Temperature.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 882 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                           
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 886 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 888 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.TemperatureFeelsLike.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 888 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                    
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                            ];
                            
                            new Chart(""temperatureAndTemperstureFeelsLike"", 
                            { 
                                data: {
                                datasets: [
                                    {
                                  type: ""line"",
                                  fill: false,
                                  pointStyle: 'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  radius: 5,
                                  backgroundColor: ""rgba(255,0,0,1.0)"",
                                  borderColor: ""rgba(255,0,0,1.0)"",
                                  label: 'Teplota',
                                  data: yValues,
                                  labels: xLabelsLong
                                },{
                                  type: ""line"",
                                  fil");
            WriteLiteral(@"l: false,
                                  pointStyle: 'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  radius: 5,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
                                  label: 'Pocitová teplota',
                                  data: yValues2,
                                  labels: xLabelsLong
                                }
                                ],
                                labels:  xLabelsShort,
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                           ");
            WriteLiteral(@"         callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
                                            var text = tooltipItems.datasetIndex === 0 ? 'Teplota: ' : 'Pocitová teplota: '
                                            return text + tooltipItems.yLabel.toString()+"" °C"";
                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""Teplota a pocitová teplota");
            WriteLiteral(@""",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
                                  }],
                                  yAxes: [{
                                      ticks: 
                                      {
                                          precision:0,
                                          callback: function(value, index, values) 
                                            {
     ");
            WriteLiteral(@"                                           return  value + "" °C"";
                                            },
                                      }
                                  }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 981 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 984 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("Humidity"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- Humidity -->
            <div id=""Humidity"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
 
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""humidity"" style=""width:100%""></canvas>
                        <script>
                            var yValues = [
");
#nullable restore
#line 996 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 998 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.Humidity.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 998 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                        
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 1002 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 1006 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 1008 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).Humidity.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1008 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                 Write(Model.Item7.ElementAt(index).Humidity.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 1008 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                       
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 1010 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                            ];
                            new Chart(""humidity"", 
                            {
                                
                                data: {
                                labels:  xLabelsShort,
                                datasets: [{
                                  type: ""line"",
                                  fill: false,
                                  pointStyle: 'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
");
#nullable restore
#line 1027 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if (Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Průměrná vlhkost\', ");
#nullable restore
#line 1030 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                                
                                    } 
                                    else 
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Vlhkost\', ");
#nullable restore
#line 1035 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                       
                                    }
                                

#line default
#line hidden
#nullable disable
            WriteLiteral("                                  data: yValues,\r\n                                  labels: xLabelsLong\r\n                                },\r\n");
#nullable restore
#line 1041 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if(Model.Item4 != 1)
                                    {   
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,0.4)"",
                                  borderColor: ""rgba(0,0,255,0.4)"",
                                  label: 'Vlhkost min/max',
                                  data: yValues2,
                                  labels: xLabelsLong
                                }");
#nullable restore
#line 1053 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                        
                                
                            }    
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"]
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
");
#nullable restore
#line 1074 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                              
                                                if(Model.Item4 != 1)
                                                { 
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
                                                        var text = tooltipItems.datasetIndex === 0 ? 'Průměrná vlhkost: ' : 'Vlhkost min/max: '
                                                        return text + tooltipItems.yLabel.toString()+"" %"";
                                                    ");
#nullable restore
#line 1080 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                           
                                                }
                                                else
                                                {
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("return \"Vlhkost: \" + tooltipItems.yLabel.toString()+\" %\";");
#nullable restore
#line 1084 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                          
                                                }
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""Vzdušná vlhkost"",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
                                  }],
                                  ");
            WriteLiteral(@"yAxes: [{
                                      ticks: 
                                      {
                                          min: 0,
                                          max: 100,
                                          precision:0,
                                          callback: function(value, index, values) 
                                            {
                                                return  value + "" %"";
                                            },
                                      }
                                  }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 1128 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 1131 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("TemperatureAndHumidity"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- TemperatureAndHumidity -->
            <div id=""TemperatureAndHumidity"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
 
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""temperatureAndHumidity"" style=""width:100%""></canvas>
                        <script>
                            var yValues = [
");
#nullable restore
#line 1143 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 1145 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.Temperature.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1145 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                           
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 1149 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 1151 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.Humidity.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1151 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                        
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                            ];
                            new Chart(""temperatureAndHumidity"", 
                            {
                                data: {
                                labels:  xLabelsShort,
                                datasets: [{
                                  type: ""line"",
                                  fill: false,
                                  yAxisID: 'A',
                                  pointStyle: 'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
");
#nullable restore
#line 1167 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if (Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Průměrná teplota\', ");
#nullable restore
#line 1170 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                                
                                    } 
                                    else 
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Teplota\', ");
#nullable restore
#line 1175 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                       
                                    }
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  data: yValues,
                                  labels: xLabelsLong
                                },{
                                  type: ""line"",
                                  fill: false,
                                  yAxisID: 'B',
                                  pointStyle: 'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,255,255,1.0)"",
                                  borderColor: ""rgba(0,255,255,1.0)"",
");
#nullable restore
#line 1189 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if (Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Průměrná vlhkost\', ");
#nullable restore
#line 1192 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                                
                                    } 
                                    else 
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Vlhkost\', ");
#nullable restore
#line 1197 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                       
                                    }
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  data: yValues2,
                                  labels: xLabelsLong
                                }]
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
              ");
            WriteLiteral(@"                              if(tooltipItems.datasetIndex === 0)
                                            {
                                                var text = data.datasets[tooltipItems.datasetIndex].label + "": ""
                                            return text + tooltipItems.yLabel.toString()+"" °C"";
                                            }
                                            else
                                            {
                                                var text = data.datasets[tooltipItems.datasetIndex].label + "": ""
                                            return text + tooltipItems.yLabel.toString()+"" %"";
                                            }
                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""Teplota a vzdušná vlh");
            WriteLiteral(@"kost"",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
                                  }],
                                  yAxes: [
                                      {
                                        id: 'A',
                                        type: 'linear',
                                        position: 'left',
                                      ticks: 
                        ");
            WriteLiteral(@"              {
                                          precision:0,
                                          callback: function(value, index, values) 
                                            {
                                                return  value + "" °C"";
                                            }
                                      }
                                      },
                                      {
                                        id: 'B',
                                        type: 'linear',
                                        position: 'right',
                                      ticks: 
                                      {
                                          min: 0,
                                          max: 100,
                                          precision:0,
                                          callback: function(value, index, values) 
                                            {
                             ");
            WriteLiteral(@"                   return  value + "" %"";
                                            }
                                      }
                                  }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 1288 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 1291 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("Pressure"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- Pressure -->
            <div id=""Pressure"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
 
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""pressure"" style=""width:100%""></canvas>
                        <script>
                            var yValues = [
");
#nullable restore
#line 1303 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 1305 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.Pressure.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1305 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                        
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 1309 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 1313 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 1315 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).Pressure.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1315 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                 Write(Model.Item7.ElementAt(index).Pressure.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 1315 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                       
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 1317 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                            ];
                            new Chart(""pressure"", 
                            {
                                
                                data: {
                                labels:  xLabelsShort,
                                datasets: [{
                                  type: ""line"",
                                  fill: false,
                                  pointStyle: 'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
");
#nullable restore
#line 1334 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                        if (Model.Item4 != 1)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Průměrný absolutní tlak\', ");
#nullable restore
#line 1337 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                           
                                                
                                        } 
                                        else 
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Absolutní tlak\', ");
#nullable restore
#line 1342 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                  
                                        }
                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("                                  data: yValues,\r\n                                  labels: xLabelsLong\r\n                                },\r\n");
#nullable restore
#line 1348 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if(Model.Item4 != 1)
                                    {   
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral(@"{
                                          type: ""bar"",
                                          fill: false,
                                          lineTension: 0,
                                          backgroundColor: ""rgba(0,0,255,0.4)"",
                                          borderColor: ""rgba(0,0,255,0.4)"",
                                          label: 'Absolutní tlak min/max',
                                          data: yValues2,
                                          labels: xLabelsLong
                                        }");
#nullable restore
#line 1360 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                
                                
                                    }    
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"]
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
");
#nullable restore
#line 1381 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                              
                                                if(Model.Item4 != 1)
                                                { 
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
                                                        var text = tooltipItems.datasetIndex === 0 ? 'Průměrný absolutní tlak: ' : 'Absolutní tlak min/max: '
                                                        return text + tooltipItems.yLabel.toString()+"" hPa"";
                                                    ");
#nullable restore
#line 1387 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                           
                                                }
                                                else
                                                {
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("return \"Absolutní tlak: \" + tooltipItems.yLabel.toString()+\" hPa\";");
#nullable restore
#line 1391 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                   
                                                }
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""Absolutní tlak"",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
                                  }],
                                  y");
            WriteLiteral(@"Axes: [{
                                      ticks: 
                                      {
                                          precision: 0,
                                          callback: function(value, index, values) 
                                            {
                                                return  value + "" hPa"";
                                            },
                                      }
                                  }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 1433 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 1436 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("SeaLevelPressure"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- SeaLevelPressure -->
            <div id=""SeaLevelPressure"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""pressure_at_sea_level"" style=""width:100%""></canvas>
                        <script>
                            var yValues = [
");
#nullable restore
#line 1447 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 1449 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SeaLevelPressure.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1449 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 1453 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 1457 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 1459 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).SeaLevelPressure.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1459 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                         Write(Model.Item7.ElementAt(index).SeaLevelPressure.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 1459 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                                       
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 1461 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                            ];
                            new Chart(""pressure_at_sea_level"", 
                            {
                                
                                data: {
                                labels:  xLabelsShort,
                                datasets: [{
                                  type: ""line"",
                                  fill: false,
                                  pointStyle: 'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
                                  label: 'Tlak přepočtený na hladinu moře',
");
#nullable restore
#line 1479 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                        if (Model.Item4 != 1)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Průměrný tlak přepočtený na hladinu moře\', ");
#nullable restore
#line 1482 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                            
                                                
                                        } 
                                        else 
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Tlak přepočtený na hladinu moře\', ");
#nullable restore
#line 1487 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                   
                                        }
                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("                                  data: yValues,\r\n                                  labels: xLabelsLong\r\n                                },\r\n");
#nullable restore
#line 1493 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if(Model.Item4 != 1)
                                    {   
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,0.4)"",
                                  borderColor: ""rgba(0,0,255,0.4)"",
                                  label: 'Tlak přepočtený na hladinu moře min/max',
                                  data: yValues2,
                                  labels: xLabelsLong
                                }");
#nullable restore
#line 1505 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                        
                                
                            }    
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"]
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {

");
#nullable restore
#line 1527 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                              
                                                if(Model.Item4 != 1)
                                                { 
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
                                                        var text = tooltipItems.datasetIndex === 0 ? 'Průměrný tlak přepočtený na hladinu moře: ' : 'Tlak přepočtený na hladinu moře min/max: '
                                                        return text + tooltipItems.yLabel.toString()+"" hPa"";
                                                    ");
#nullable restore
#line 1533 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                           
                                                }
                                                else
                                                {
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("return \"Tlak přepočtený na hladinu moře: \" + tooltipItems.yLabel.toString()+\" hPa\";");
#nullable restore
#line 1537 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                    
                                                }
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""Tlak přepočtený na hladinu moře"",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
                                  }],
                  ");
            WriteLiteral(@"                yAxes: [{
                                      ticks: 
                                      {
                                          precision: 0,
                                          callback: function(value, index, values) 
                                            {
                                                return  value + "" hPa"";
                                            },
                                      }
                                  }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 1579 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 1582 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("WindSpeed"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- WindSpeed -->
            <div id=""WindSpeed"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
 
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""wind"" style=""width:100%""></canvas>
                        <script>
                            var yValues = [
");
#nullable restore
#line 1594 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 1596 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.WindSpeed.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1596 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                         
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 1600 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 1604 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 1606 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).WindSpeed.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1606 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                  Write(Model.Item7.ElementAt(index).WindSpeed.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 1606 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                         
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 1608 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var angle = [\r\n");
#nullable restore
#line 1613 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 1615 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.WindAngle.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1615 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                         
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            const arrow = new Image();\r\n                            arrow.src = \"");
#nullable restore
#line 1619 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    Write(Url.Action("", "", null, "http"));

#line default
#line hidden
#nullable disable
            WriteLiteral(@"img/arrow.png"";                          
                            new Chart(""wind"", 
                           {
                                type: ""line"",
                                data: {
                                labels:  xLabelsShort,
                                datasets: [{
                                  fill: false,
                                  pointStyle:arrow,
                                  borderWidth: 1,
                                  lineTension: 0,
                                  rotation:angle,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
");
#nullable restore
#line 1633 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                        if (Model.Item4 != 1)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Průměrná rychlost větru\', ");
#nullable restore
#line 1636 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                           
                                                
                                        } 
                                        else 
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Rychlost větru\', ");
#nullable restore
#line 1641 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                  
                                        }
                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("                                  data: yValues,\r\n                                  labels: xLabelsLong\r\n                                },\r\n");
#nullable restore
#line 1647 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if(Model.Item4 != 1)
                                    {   
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,0.4)"",
                                  borderColor: ""rgba(0,0,255,0.4)"",
                                  label: 'Rychlost větru min/max',
                                  data: yValues2,
                                  labels: xLabelsLong
                                }");
#nullable restore
#line 1659 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                        
                            }    
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"]
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
                                            
");
#nullable restore
#line 1680 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                              
                                                if(Model.Item4 != 1)
                                                { 
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
                                                        if(tooltipItems.datasetIndex === 0)
                                                        {var text = ""Průměrná rychlost větru: "" + tooltipItems.yLabel.toString() + "" m/s Směr:"" + data.datasets[tooltipItems.datasetIndex].rotation[tooltipItems.index] + ""°""}
                                                        else
                                                        {var text = ""Rychlost větru min/max: "" + tooltipItems.yLabel.toString()+"" m/s""}

                                                        return text;
                                                    ");
#nullable restore
#line 1690 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                           
                                                }
                                                else
                                                {
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("return \"Rychlost: větru\" + tooltipItems.yLabel.toString()+\" m/s Směr:\" + data.datasets[tooltipItems.datasetIndex].rotation[tooltipItems.index] + \"°\";");
#nullable restore
#line 1694 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                      
                                                }
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""Rychlost a směr větru (0° = Sever, 90° = Východ,  180° = Jih, 270° = Západ)"",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
             ");
            WriteLiteral(@"                     }],
                                  yAxes: [{
                                      ticks: 
                                      {
                                          precision:2,
                                          callback: function(value, index, values) 
                                            {
                                                return  value + "" m/s"";
                                            },
                                      }
                                  }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 1736 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 1739 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("RainAmount"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- RainAmount -->
            <div id=""RainAmount"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
 
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""rain_amount"" style=""width:100%""></canvas>
                        <script>
                            var yValues = [
");
#nullable restore
#line 1751 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 1753 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.RainAmount.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1753 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                          
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 1756 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    float rainSum = 0;

                                    foreach (var item in Model.Item5)
                                    {
                                        rainSum += item.RainAmount;
                                        

#line default
#line hidden
#nullable disable
#nullable restore
#line 1762 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                   Write(rainSum.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1762 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                          
                                    }
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                            ];
                            new Chart(""rain_amount"", 
                            {
                                data: {
                                labels: xLabelsShort,
                                datasets: [{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0"",
                                  borderColor: ""rgba(0,0,255,1.0"",
                                  label: 'Srážky',
                                  data: yValues,
                                  labels: xLabelsLong
                                },{
                                  type: ""line"",
                                  fill: true,
                                  pointStyle: 'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                          ");
            WriteLiteral(@"        backgroundColor: ""rgba(0,0,255,0.2)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
                                  label: 'Úhrn srážek',
                                  data: yValues2,
                                  labels: xLabelsLong
                                }
                                ]
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].lab");
            WriteLiteral(@"els[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
                                            var text = tooltipItems.datasetIndex === 0 ? 'Srážky: ' : 'Úhrn srážek: '
                                            return text + tooltipItems.yLabel.toString()+"" mm"";
                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""Srážky"",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
      ");
            WriteLiteral(@"                                    autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
                                  }],
                                  yAxes: [{
                                      ticks: 
                                      {
                                          min: 0,
                                          precision:0,
                                          callback: function(value, index, values) 
                                            {
                                                return  value + "" mm"";
                                            }
                                      },
                                  }],
                                }
                              }
                  ");
            WriteLiteral("          });\r\n                            </script>\r\n                        </div><!--end of column -->\r\n  \t\t\t        </div><!--end of row -->\r\n                </div>\r\n  \t        </div><!--end of graph format -->\r\n    ");
#nullable restore
#line 1851 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 1854 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("UvIndex"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- UvIndex -->
            <div id=""UvIndex"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""uv_index"" style=""width:100%""></canvas>
                        <script>
                            var yValues = [
");
#nullable restore
#line 1865 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 1867 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.UvIndex.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1867 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                       
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 1871 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 1875 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 1877 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).UvIndex.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 1877 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                Write(Model.Item7.ElementAt(index).UvIndex.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 1877 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                     
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 1879 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                            ];
                            new Chart(""uv_index"", 
                            {
                               
                                data: {
                                labels: xLabelsShort,
                                datasets: [{ 
                                  type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
                                  label: 'UV index',
");
#nullable restore
#line 1897 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                        if (Model.Item4 != 1)
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Průměrný UV index\', ");
#nullable restore
#line 1900 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                     
                                                
                                        } 
                                        else 
                                        {
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'UV index\', ");
#nullable restore
#line 1905 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                            
                                        }
                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("                                  data: yValues,\r\n                                  labels: xLabelsLong\r\n                                },\r\n");
#nullable restore
#line 1911 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if(Model.Item4 != 1)
                                    {   
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,0.4)"",
                                  borderColor: ""rgba(0,0,255,0.4)"",
                                  label: 'UV index min/max',
                                  data: yValues2,
                                  labels: xLabelsLong
                                }");
#nullable restore
#line 1923 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                        
                                
                            }    
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"]
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
");
#nullable restore
#line 1944 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                              
                                                if(Model.Item4 != 1)
                                                { 
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
                                                        var text = tooltipItems.datasetIndex === 0 ? 'Průměrný UV index: ' : 'UV index min/max: '
                                                        return text + tooltipItems.yLabel.toString();
                                                    ");
#nullable restore
#line 1950 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                           
                                                }
                                                else
                                                {
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("return \"UV index: \" + tooltipItems.yLabel.toString();");
#nullable restore
#line 1954 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                      
                                                }
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""UV index"",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
                                  }],
                                  yAxes: ");
            WriteLiteral(@"[{
                                      ticks: 
                                      {
                                          min: 0,
                                          max: 5,
                                          maxTicksLimit: 10,
                                          callback: function(value, index, values) 
                                            {
                                                return value;
                                            },
                                      }
                                  }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 1998 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 2001 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("SoilTemp"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- SoilTemp -->
            <div id=""SoilTemp"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""soil_temp"" style=""width:100%""></canvas>
                        <script>
                            var yValues1 = [
");
#nullable restore
#line 2012 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2014 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilTemp1.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2014 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                         
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 2018 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2020 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilTemp2.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2020 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                         
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues3 = [\r\n");
#nullable restore
#line 2024 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2026 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilTemp3.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2026 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                         
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues4 = [\r\n");
#nullable restore
#line 2030 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 2034 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 2036 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).SoilTemp1.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2036 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                  Write(Model.Item7.ElementAt(index).SoilTemp1.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 2036 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                         
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 2038 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues5 = [\r\n");
#nullable restore
#line 2043 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 2047 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 2049 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).SoilTemp2.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2049 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                  Write(Model.Item7.ElementAt(index).SoilTemp2.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 2049 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                         
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 2051 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues6 = [\r\n");
#nullable restore
#line 2056 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 2060 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 2062 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).SoilTemp3.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2062 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                  Write(Model.Item7.ElementAt(index).SoilTemp3.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 2062 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                         
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 2064 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            \r\n");
#nullable restore
#line 2069 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                Measurement itema = new Measurement();
                                foreach (var item in Model.Item5)
                                {
                                    itema = item;
                                }
                                

#line default
#line hidden
#nullable disable
            WriteLiteral("var ylabel1= \'");
#nullable restore
#line 2075 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilTempDepth1);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral("\r\n");
            WriteLiteral("var ylabel2= \'");
#nullable restore
#line 2077 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilTempDepth2);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral("\r\n");
            WriteLiteral("var ylabel3= \'");
#nullable restore
#line 2079 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilTempDepth3);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral(@"
                            new Chart(""soil_temp"", 
                            {
                                
                                data: {
                                labels: xLabelsShort,
                                datasets: [{
                                    type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(255,0,0,1.0)"",
                                  borderColor: ""rgba(255,0,0,1.0)"",
                                  data: yValues1,
                                  label:
");
#nullable restore
#line 2097 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná teplota půdy v \'+ ylabel1,");
#nullable restore
#line 2100 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Teplota půdy v \'+ ylabel1,");
#nullable restore
#line 2104 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                },
                                {
                                    type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,255,0,1.0)"",
                                  borderColor: ""rgba(0,255,0,1.0)"",
                                  data: yValues2,
                                  label:
");
#nullable restore
#line 2119 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná teplota půdy v \'+ ylabel2,");
#nullable restore
#line 2122 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Teplota půdy v \'+ ylabel2,");
#nullable restore
#line 2126 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                },
                                {
                                    type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
                                  data: yValues3,
                                  label:
");
#nullable restore
#line 2141 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná teplota půdy v \'+ ylabel3,");
#nullable restore
#line 2144 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Teplota půdy v \'+ ylabel3,");
#nullable restore
#line 2148 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral("                                  labels: xLabelsLong\r\n                                },\r\n");
#nullable restore
#line 2153 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if(Model.Item4 != 1)
                                    {   
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(255,0,0,0.4)"",
                                  borderColor: ""rgba(255,0,0,0.4)"",
                                  label: 'Teplota půdy min/max ' + ylabel1,
                                  data: yValues4,
                                  labels: xLabelsLong
                                },
                                {
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,255,0,0.4)"",
                                  borderColor: ""rgba(0,255,0,0.4)"",
                                  label: 'Teplota půdy min/max ' + ylabel2,
                                  data: yValues5,
                                  labels: xLabelsLong
      ");
            WriteLiteral(@"                          },{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,0.4)"",
                                  borderColor: ""rgba(0,0,255,0.4)"",
                                  label: 'Teplota půdy min/max ' + ylabel3,
                                  data: yValues6,
                                  labels: xLabelsLong
                                },");
#nullable restore
#line 2184 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                
                            }   
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"]
                              },
                              options: {
                                legend: {display: true,
                                },
                                tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
                                            var text = data.datasets[tooltipItems.datasetIndex].label + "": ""
                                            return text + tooltipItems.yLabel.toString()+"" °C"";
                                        ");
            WriteLiteral(@"}
                                    }
                                },
                                title: {
                                  display: true,
                                  text: ""Teplota půdy"",
                                  fontSize: 16
                                },
                                scales: {
                                  xAxes: 
                                  [{
                                      ticks: {
                                            autoSkip:true,
                                            maxTicksLimit: xMaxTicks,
                                            min: Math.min.apply(this, xValues) - 2,
                                            max: Math.max.apply(this, xValues) + 2}}],
                                  yAxes: 
                                  [{
                                      ticks: {
                                      precision: 0,
                                      callback: functio");
            WriteLiteral(@"n(value, index, values) 
                                        {
                                            return  value + "" °C"";
                                        }
                                        }}],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 2237 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
#nullable restore
#line 2239 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("SoilTempAndTemperature"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- SoilTempAndTemperature -->
            <div id=""SoilTempAndTemperature"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""soil_temp_and_temperature"" style=""width:100%""></canvas>
                        <script>
                            var yValues1 = [
");
#nullable restore
#line 2250 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2252 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilTemp1.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2252 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                         
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 2256 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2258 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilTemp2.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2258 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                         
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues3 = [\r\n");
#nullable restore
#line 2262 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2264 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilTemp3.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2264 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                         
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues4 = [\r\n");
#nullable restore
#line 2268 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2270 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.Temperature.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2270 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                           
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            \r\n");
#nullable restore
#line 2274 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                Measurement itema = new Measurement();
                                foreach (var item in Model.Item5)
                                {
                                    itema = item;
                                }
                                

#line default
#line hidden
#nullable disable
            WriteLiteral("var ylabel1= \'");
#nullable restore
#line 2280 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilTempDepth1);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral("\r\n");
            WriteLiteral("var ylabel2= \'");
#nullable restore
#line 2282 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilTempDepth2);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral("\r\n");
            WriteLiteral("var ylabel3= \'");
#nullable restore
#line 2284 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilTempDepth3);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral(@"
                            new Chart(""soil_temp_and_temperature"", 
                            {
                                
                                data: {
                                labels: xLabelsShort,
                                datasets: [{
                                  type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(255,0,0,1.0)"",
                                  borderColor: ""rgba(255,0,0,1.0)"",
                                  data: yValues1,
                                  label:
");
#nullable restore
#line 2302 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná teplota půdy v \'+ ylabel1,");
#nullable restore
#line 2305 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Teplota půdy v \'+ ylabel1,");
#nullable restore
#line 2309 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                },
                                {
                                  type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,255,0,1.0)"",
                                  borderColor: ""rgba(0,255,0,1.0)"",
                                  data: yValues2,
                                  label:
");
#nullable restore
#line 2324 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná teplota půdy v \'+ ylabel2,");
#nullable restore
#line 2327 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Teplota půdy v \'+ ylabel2,");
#nullable restore
#line 2331 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                },
                                {
                                  type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
                                  data: yValues3,
                                  label:
");
#nullable restore
#line 2346 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná teplota půdy v \'+ ylabel3,");
#nullable restore
#line 2349 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Teplota půdy v \'+ ylabel3,");
#nullable restore
#line 2353 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                },
                                {
                                  type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,255,255,1.0)"",
                                  borderColor: ""rgba(0,255,255,1.0)"",
                                  data: yValues4,
                                  label:
");
#nullable restore
#line 2368 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná teplota vzduchu\',");
#nullable restore
#line 2371 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Teplota vzduchu\',");
#nullable restore
#line 2375 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                       
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                },
                                ]
                              },
                              options: {
                                legend: {display: true,
                                },
                                tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
                                            var text = data.datasets[tooltipItems.datasetIndex].label + "": "" 
             ");
            WriteLiteral(@"                               return text + tooltipItems.yLabel.toString()+"" °C"";
                                        }
                                    }
                                },
                                title: {
                                  display: true,
                                  text: ""Teplota půdy a vzduchu"",
                                  fontSize: 16
                                },
                                scales: {
                                  xAxes: 
                                  [{
                                      ticks: {
                                            autoSkip:true,
                                            maxTicksLimit: xMaxTicks,
                                            min: Math.min.apply(this, xValues) - 2,
                                                   max: Math.max.apply(this, xValues) + 2}}],
                                  yAxes: [{ticks: {
                                      preci");
            WriteLiteral(@"sion: 0,
                                      callback: function(value, index, values) 
                                                    {
                                                        return  value + "" °C"";
                                                    }
                                                    }}],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 2428 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 2431 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("SoilMoisture"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- SoilMoisture -->
            <div id=""SoilMoisture"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""soil_moisture"" style=""width:100%""></canvas>
                        <script>
                            var yValues1 = [
");
#nullable restore
#line 2442 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2444 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilMoisture1.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2444 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                             
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 2448 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2450 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilMoisture2.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2450 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                             
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues3 = [\r\n");
#nullable restore
#line 2454 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2456 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilMoisture3.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2456 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                             
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues4 = [\r\n");
#nullable restore
#line 2460 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 2464 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 2466 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).SoilMoisture1.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2466 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                      Write(Model.Item7.ElementAt(index).SoilMoisture1.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 2466 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                                 
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 2468 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues5 = [\r\n");
#nullable restore
#line 2473 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 2477 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 2479 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).SoilMoisture2.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2479 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                      Write(Model.Item7.ElementAt(index).SoilMoisture2.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 2479 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                                 
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 2481 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues6 = [\r\n");
#nullable restore
#line 2486 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 2490 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 2492 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).SoilMoisture3.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2492 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                      Write(Model.Item7.ElementAt(index).SoilMoisture3.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 2492 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                                 
                                        index++;
                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 2494 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     
                                }
                            

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n");
#nullable restore
#line 2498 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                Measurement itema = new Measurement();
                                foreach (var item in Model.Item5)
                                {
                                    itema = item;
                                }
                                

#line default
#line hidden
#nullable disable
            WriteLiteral("var ylabel1= \'");
#nullable restore
#line 2504 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilMoistureDepth1);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral("\r\n");
            WriteLiteral("var ylabel2= \'");
#nullable restore
#line 2506 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilMoistureDepth2);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral("\r\n");
            WriteLiteral("var ylabel3= \'");
#nullable restore
#line 2508 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilMoistureDepth3);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral(@"                            
                            new Chart(""soil_moisture"", 
                            {
                                
                                data: {
                                labels: xLabelsShort,
                                datasets: [{
                                  type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(255,0,0,1.0)"",
                                  borderColor: ""rgba(255,0,0,1.0)"",
                                  data: yValues1,
                                  label:
");
#nullable restore
#line 2526 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná vlhkost půdy v \'+ ylabel1,");
#nullable restore
#line 2529 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Vlhkost půdy v \'+ ylabel1,");
#nullable restore
#line 2533 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                },
                                {
                                  type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,255,0,1.0)"",
                                  borderColor: ""rgba(0,255,0,1.0)"",
                                  data: yValues2,
                                  label:
");
#nullable restore
#line 2548 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná vlhkost půdy v \'+ ylabel2,");
#nullable restore
#line 2551 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Vlhkost půdy v \'+ ylabel2,");
#nullable restore
#line 2555 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                },
                                {
                                  type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
                                  data: yValues3,
                                  label: 
");
#nullable restore
#line 2570 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná vlhkost půdy v \'+ ylabel3,");
#nullable restore
#line 2573 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Vlhkost půdy v \'+ ylabel3,");
#nullable restore
#line 2577 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral("                                  labels: xLabelsLong\r\n                                },\r\n");
#nullable restore
#line 2582 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if(Model.Item4 != 1)
                                    {   
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(255,0,0,0.4)"",
                                  borderColor: ""rgba(255,0,0,0.4)"",
                                  label: 'Vlhkost půdy min/max v '+ ylabel1,
                                  data: yValues4,
                                  labels: xLabelsLong
                                },
                                {
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,255,0,0.4)"",
                                  borderColor: ""rgba(0,255,0,0.4)"",
                                  label: 'Vlhkost půdy  min/max v '+ ylabel2,
                                  data: yValues5,
                                  labels: xLabelsLong
   ");
            WriteLiteral(@"                             },{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,0.4)"",
                                  borderColor: ""rgba(0,0,255,0.4)"",
                                  label: 'Vlhkost půdy  min/max v '+ ylabel3,
                                  data: yValues6,
                                  labels: xLabelsLong
                                },");
#nullable restore
#line 2613 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                         
                                
                            }   
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"]
                              },
                              options: {
                                legend: {display: true,
                                },
                                tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
                                            var text = data.datasets[tooltipItems.datasetIndex].label + "": ""
                                            return text + tooltipItems.yLabel.toString()+"" %"";
                                        }");
            WriteLiteral(@"

                                    }
                                },
                                title: {
                                  display: true,
                                  text: ""Vlhkost půdy"",
                                  fontSize: 16
                                },
                                scales: {
                                  xAxes: [{ticks: {
                                      autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                      min: Math.min.apply(this, xValues) - 2,
                                                   max: Math.max.apply(this, xValues) + 2}}],
                                  yAxes: 
                                  [{
                                      ticks: 
                                      { 
                                          min: 0,
                                          max: 100,
                                          ste");
            WriteLiteral(@"pSize: 10,
                                          precision: 0,
                                          callback: function(value, index, values) 
                                        {
                                            return  value.toFixed(yValues) + ""%"";
                                        },
                                        }
                                    }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 2670 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 2673 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("SoilMoistureAndHumidity"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- SoilMoistureAndHumidity -->
            <div id=""SoilMoistureAndHumidity"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""soil_moisture_and_humidity"" style=""width:100%""></canvas>
                        <script>
                            var yValues1 = [
");
#nullable restore
#line 2684 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2686 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilMoisture1.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2686 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                             
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 2690 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2692 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilMoisture2.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2692 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                             
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues3 = [\r\n");
#nullable restore
#line 2696 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2698 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.SoilMoisture3.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2698 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                             
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues4 = [\r\n");
#nullable restore
#line 2702 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2704 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.Humidity.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2704 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                        
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n");
#nullable restore
#line 2707 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                Measurement itema = new Measurement();
                                foreach (var item in Model.Item5)
                                {
                                    itema = item;
                                }
                                

#line default
#line hidden
#nullable disable
            WriteLiteral("var ylabel1= \'");
#nullable restore
#line 2713 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilMoistureDepth1);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral("\r\n");
            WriteLiteral("var ylabel2= \'");
#nullable restore
#line 2715 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilMoistureDepth2);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral("\r\n");
            WriteLiteral("var ylabel3= \'");
#nullable restore
#line 2717 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                      Write(itema.SoilMoistureDepth3);

#line default
#line hidden
#nullable disable
            WriteLiteral("\';");
            WriteLiteral(@"                            
                            new Chart(""soil_moisture_and_humidity"", 
                            {
                                data: {
                                labels: xLabelsShort,
                                datasets: [{
                                    type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(255,0,0,1.0)"",
                                  borderColor: ""rgba(255,0,0,1.0)"",
                                  data: yValues1,
                                  label:
");
#nullable restore
#line 2734 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná vlhkost půdy v \'+ ylabel1,");
#nullable restore
#line 2737 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Vlhkost půdy v \'+ ylabel1,");
#nullable restore
#line 2741 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                },
                                {
                                  type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,255,0,1.0)"",
                                  borderColor: ""rgba(0,255,0,1.0)"",
                                  data: yValues2,
                                  label:
");
#nullable restore
#line 2756 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná vlhkost půdy v \'+ ylabel2,");
#nullable restore
#line 2759 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Vlhkost půdy v \'+ ylabel2,");
#nullable restore
#line 2763 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                },
                                {
                                  type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
                                  data: yValues3,
                                  label: 
");
#nullable restore
#line 2778 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná vlhkost půdy v \'+ ylabel3,");
#nullable restore
#line 2781 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                         
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Vlhkost půdy v \'+ ylabel3,");
#nullable restore
#line 2785 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                },
                                {
                                  type: ""line"",
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,255,255,1.0)"",
                                  borderColor: ""rgba(0,255,255,1.0)"",
                                  data: yValues4,
                                  label: 
");
#nullable restore
#line 2800 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                    if(Model.Item4 != 1)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Průměrná vlhkost vzduchu\',");
#nullable restore
#line 2803 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                
                                    }
                                    else
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("\'Vlhkost vzduchu\',");
#nullable restore
#line 2807 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                       
                                    }
                                  

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                  labels: xLabelsLong
                                }]
                              },
                              options: {
                                legend: {display: true,
                                },
                                tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
                                            var text = data.datasets[tooltipItems.datasetIndex].label + "": "" 
                                            retu");
            WriteLiteral(@"rn text + tooltipItems.yLabel.toString()+"" %"";
                                        }
                                    }
                                },
                                title: {
                                  display: true,
                                  text: ""Vlhkost půdy a vzduchu"",
                                  fontSize: 16
                                },
                                scales: {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }}],
                                  yAxes: 
                        ");
            WriteLiteral(@"          [{
                                      ticks: 
                                      { 
                                          min: 0,
                                          max: 100,
                                          stepSize: 10,
                                          precision: 0,
                                          callback: function(value, index, values) 
                                        {
                                            return  value + "" %"";
                                        },
                                        }
                                    }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format -->
    ");
#nullable restore
#line 2868 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 2871 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
  if(Model.Item3.Count == 0||Model.Item3.Contains("BatteryVoltage"))
{
    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<!-- BatteryVoltage -->
            <div id=""BatteryVoltage"" class=""card h-10 overflow-hidden text-black rounded-5 shadow-lg bg-light bg-opacity-50"">
                <div class=""d-flex flex-column h-100 text-shadow-1"">
 
                    <div class=""row"">    
			            <div class=""col-12 text-center"">      
                        <canvas id=""battery_voltage"" style=""width:100%""></canvas>
                        <script>
                            var yValues = [
");
#nullable restore
#line 2883 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              foreach (var item in Model.Item5)
                            {
                                

#line default
#line hidden
#nullable disable
#nullable restore
#line 2885 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                           Write(item.BatteryVoltage.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2885 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                              
                            }

#line default
#line hidden
#nullable disable
            WriteLiteral("                            ];\r\n                            var yValues2 = [\r\n");
#nullable restore
#line 2889 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                              
                                if (Model.Item4 != 1)
                                {
                                    int index = 0;
                                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 2893 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                     foreach (var item in Model.Item5)
                                    {
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral("[");
#nullable restore
#line 2895 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                 Write(Model.Item6.ElementAt(index).BatteryVoltage.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral(",");
#nullable restore
#line 2895 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                       Write(Model.Item7.ElementAt(index).BatteryVoltage.ToString(System.Globalization.CultureInfo.InvariantCulture));

#line default
#line hidden
#nullable disable
            WriteLiteral("],");
#nullable restore
#line 2895 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                                                                                                                                                                                   
                                        index++;
                                                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 2897 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                     
                                                }
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                            ];
                            new Chart(""battery_voltage"", 
                            {
                                type: ""line"",
                                data: {
                                labels: xLabelsShort,
                                datasets: [{
                                  fill: false,
                                  pointStyle:'crossRot',
                                  borderWidth: 1,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,1.0)"",
                                  borderColor: ""rgba(0,0,255,1.0)"",
                                  label: 'Napětí baterie',
");
#nullable restore
#line 2914 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                    
                                                if (Model.Item4 != 1)
                                                {
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Průměrné napětí baterie\', ");
#nullable restore
#line 2917 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                   
                                                
                                                } 
                                                else 
                                                {
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("label: \'Napětí baterie\', ");
#nullable restore
#line 2922 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                          
                                                }
                                            

#line default
#line hidden
#nullable disable
            WriteLiteral("                                  data: yValues,\r\n                                  labels: xLabelsLong\r\n                                },\r\n");
#nullable restore
#line 2928 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                  
                                    if(Model.Item4 != 1)
                                    {   
                                

#line default
#line hidden
#nullable disable
            WriteLiteral(@"{
                                  type: ""bar"",
                                  fill: false,
                                  lineTension: 0,
                                  backgroundColor: ""rgba(0,0,255,0.4)"",
                                  borderColor: ""rgba(0,0,255,0.4)"",
                                  label: 'Napětí baterie min/max',
                                  data: yValues2,
                                  labels: xLabelsLong
                                }");
#nullable restore
#line 2940 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                        
                                
                            }    
                            

#line default
#line hidden
#nullable disable
            WriteLiteral(@"]
                              },
                              options: 
                              {
                              legend: 
                              {
                                  display: true,
                              },
                              tooltips: 
                                {
                                    callbacks: 
                                    {
                                        title:function(tooltipItems, context){
                                            // date at tooltip
                                            return context.datasets[tooltipItems[0].datasetIndex].labels[tooltipItems[0].index]
                                        },
                                        label: function(tooltipItems, data) 
                                        {
");
#nullable restore
#line 2961 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                              
                                                if(Model.Item4 != 1)
                                                { 
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
                                                        var text = tooltipItems.datasetIndex === 0 ? 'Průměrné napětí baterie: ' : 'Napětí baterie min/max: '
                                                        return text + tooltipItems.yLabel.toString()+"" V"";
                                                    ");
#nullable restore
#line 2967 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                           
                                                }
                                                else
                                                {
                                                    

#line default
#line hidden
#nullable disable
            WriteLiteral("return \"Napětí baterie: \" + tooltipItems.yLabel.toString()+\" V\";");
#nullable restore
#line 2971 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
                                                                                                                                 
                                                }
                                        

#line default
#line hidden
#nullable disable
            WriteLiteral(@"                                        }
                                    }
                                },
                              title: 
                              {
                                display: true,
                                text: ""Napětí baterie"",
                                fontSize: 16
                              },
                              scales: 
                              {
                                  xAxes: 
                                  [{
                                      ticks: 
                                      {
                                          autoSkip:true,
                                          maxTicksLimit: xMaxTicks,
                                          min: Math.min.apply(this, xValues) - 2,
                                          max: Math.max.apply(this, xValues) + 2
                                      }
                                  }],
                                  y");
            WriteLiteral(@"Axes: 
                                  [{
                                      ticks: 
                                      {
                                          min: 3.0,
                                          max: 4.5,
                                          stepSize: 0.5,
                                          precision: 1,
                                         
                                          callback: function(value, index, values) 
                                          {
                                                return  value + "" V"";
                                          },
                                      }
                                  }],
                                }
                              }
                            });
                            </script>
                        </div><!--end of column -->
  			        </div><!--end of row -->
                </div>
  	        </div><!--end of graph format --");
            WriteLiteral(">\r\n    ");
#nullable restore
#line 3018 "F:\VUT\Magistr\ZAV-PRACE\dot_net_project\MeteoWebApp\MeteoWebApp\Views\Home\History.cshtml"
           
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n        </div>\r\n    </div>\r\n</div>\r\n");
        }
        #pragma warning restore 1998
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<Tuple<List<Station>, List<DateTime>, List<string>, int, List<Measurement>, List<Measurement>, List<Measurement>>> Html { get; private set; }
    }
}
#pragma warning restore 1591
