#pragma checksum "C:\Users\mayur\source\repos\Charts\Pages\Index.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "bc9486964b2663e3423c1c811e3f7aa87b36052a"
// <auto-generated/>
#pragma warning disable 1591
namespace BlazorApp.Pages
{
    #line hidden
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Components;
#nullable restore
#line 1 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using System.Net.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using Microsoft.AspNetCore.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using Microsoft.AspNetCore.Components.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms;

#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing;

#line default
#line hidden
#nullable disable
#nullable restore
#line 6 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using Microsoft.AspNetCore.Components.Web;

#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using Microsoft.AspNetCore.Components.Web.Virtualization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using Microsoft.JSInterop;

#line default
#line hidden
#nullable disable
#nullable restore
#line 9 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using BlazorApp;

#line default
#line hidden
#nullable disable
#nullable restore
#line 10 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using BlazorApp.Shared;

#line default
#line hidden
#nullable disable
#nullable restore
#line 11 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using Syncfusion.Blazor;

#line default
#line hidden
#nullable disable
#nullable restore
#line 12 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using Syncfusion.Blazor.Charts;

#line default
#line hidden
#nullable disable
#nullable restore
#line 13 "C:\Users\mayur\source\repos\Charts\_Imports.razor"
using Syncfusion.Blazor.Data;

#line default
#line hidden
#nullable disable
    [Microsoft.AspNetCore.Components.RouteAttribute("/")]
    public partial class Index : Microsoft.AspNetCore.Components.ComponentBase
    {
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "button");
            __builder.AddAttribute(1, "class", "btn btn-primary");
            __builder.AddAttribute(2, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this, 
#nullable restore
#line 3 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                          Toggle

#line default
#line hidden
#nullable disable
            ));
            __builder.AddMarkupContent(3, "\r\n    Collapse\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(4, "\r\n");
            __builder.OpenElement(5, "button");
            __builder.AddAttribute(6, "class", "btn btn-primary");
            __builder.AddAttribute(7, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this, 
#nullable restore
#line 6 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                          ToggleWithRefresh

#line default
#line hidden
#nullable disable
            ));
            __builder.AddMarkupContent(8, "\r\n    Collapse with refresh\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(9, "\r\n\r\n\r\n");
            __builder.OpenElement(10, "div");
            __builder.AddAttribute(11, "class", "bg-warning");
            __builder.AddAttribute(12, "style", "width:600px;height:500px;");
            __builder.OpenElement(13, "div");
            __builder.AddAttribute(14, "class", "d-flex w-100 h-100");
#nullable restore
#line 14 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
     if (!collapse)
    {

#line default
#line hidden
#nullable disable
            __builder.AddMarkupContent(15, "<div style=\"width: 100px;\">\r\n            Hello\r\n        </div>");
#nullable restore
#line 19 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
    }

#line default
#line hidden
#nullable disable
            __builder.OpenElement(16, "div");
            __builder.AddAttribute(17, "class", "w-100 h-100 flex-grow-1 bg-success");
            __builder.OpenComponent<Syncfusion.Blazor.Charts.SfChart>(18);
            __builder.AddAttribute(19, "Height", "100%");
            __builder.AddAttribute(20, "Width", "100%");
            __builder.AddAttribute(21, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.OpenComponent<Syncfusion.Blazor.Charts.ChartArea>(22);
                __builder2.AddAttribute(23, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.OpenComponent<Syncfusion.Blazor.Charts.ChartAreaBorder>(24);
                    __builder3.AddAttribute(25, "Width", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Double>(
#nullable restore
#line 23 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                               0

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.CloseComponent();
                }
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(26, "\r\n            ");
                __builder2.OpenComponent<Syncfusion.Blazor.Charts.ChartPrimaryXAxis>(27);
                __builder2.AddAttribute(28, "Title", "In Kilograms");
                __builder2.AddAttribute(29, "Minimum", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
#nullable restore
#line 24 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                                             0

#line default
#line hidden
#nullable disable
                ));
                __builder2.AddAttribute(30, "Maximum", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
#nullable restore
#line 24 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                                                         6

#line default
#line hidden
#nullable disable
                ));
                __builder2.AddAttribute(31, "Interval", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Double>(
#nullable restore
#line 24 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                                                                      1

#line default
#line hidden
#nullable disable
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(32, "\r\n            ");
                __builder2.OpenComponent<Syncfusion.Blazor.Charts.ChartPrimaryYAxis>(33);
                __builder2.AddAttribute(34, "Title", "In Grams");
                __builder2.AddAttribute(35, "LabelFormat", "{value}g");
                __builder2.AddAttribute(36, "Minimum", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
#nullable restore
#line 26 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                                                                0

#line default
#line hidden
#nullable disable
                ));
                __builder2.AddAttribute(37, "Maximum", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
#nullable restore
#line 26 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                                                                            6000

#line default
#line hidden
#nullable disable
                ));
                __builder2.AddAttribute(38, "Interval", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Double>(
#nullable restore
#line 26 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                                                                                            1000

#line default
#line hidden
#nullable disable
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(39, "\r\n            ");
                __builder2.OpenComponent<Syncfusion.Blazor.Charts.ChartTooltipSettings>(40);
                __builder2.AddAttribute(41, "Enable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 28 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                          true

#line default
#line hidden
#nullable disable
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(42, "\r\n            ");
                __builder2.OpenComponent<Syncfusion.Blazor.Charts.ChartSeriesCollection>(43);
                __builder2.AddAttribute(44, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.OpenComponent<Syncfusion.Blazor.Charts.ChartSeries>(45);
                    __builder3.AddAttribute(46, "DataSource", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Collections.Generic.IEnumerable<System.Object>>(
#nullable restore
#line 30 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                          ChartPoints

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(47, "XName", "x");
                    __builder3.AddAttribute(48, "YName", "y");
                    __builder3.AddAttribute(49, "Opacity", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Double>(
#nullable restore
#line 30 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                                                                    1

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(50, "Fill", "#1e90ff");
                    __builder3.AddAttribute(51, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Charts.ChartSeriesType>(
#nullable restore
#line 30 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                                                                                            ChartSeriesType.Column

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(52, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
                        __builder4.OpenComponent<Syncfusion.Blazor.Charts.ChartMarker>(53);
                        __builder4.AddAttribute(54, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => {
                            __builder5.OpenComponent<Syncfusion.Blazor.Charts.ChartDataLabel>(55);
                            __builder5.AddAttribute(56, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 32 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                                 true

#line default
#line hidden
#nullable disable
                            ));
                            __builder5.AddAttribute(57, "Position", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Charts.LabelPosition>(
#nullable restore
#line 32 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                                                 LabelPosition.Top

#line default
#line hidden
#nullable disable
                            ));
                            __builder5.AddAttribute(58, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder6) => {
                                __builder6.OpenComponent<Syncfusion.Blazor.Charts.ChartDataLabelFont>(59);
                                __builder6.AddAttribute(60, "FontWeight", "600");
                                __builder6.CloseComponent();
                            }
                            ));
                            __builder5.CloseComponent();
                        }
                        ));
                        __builder4.CloseComponent();
                    }
                    ));
                    __builder3.CloseComponent();
                }
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(61, "\r\n            ");
                __builder2.OpenComponent<Syncfusion.Blazor.Charts.ChartLegendSettings>(62);
                __builder2.AddAttribute(63, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 38 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                          true

#line default
#line hidden
#nullable disable
                ));
                __builder2.CloseComponent();
            }
            ));
            __builder.AddComponentReferenceCapture(64, (__value) => {
#nullable restore
#line 22 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
                                                   chart = (Syncfusion.Blazor.Charts.SfChart)__value;

#line default
#line hidden
#nullable disable
            }
            );
            __builder.CloseComponent();
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(65, "\r\n\r\n");
            __builder.AddMarkupContent(66, "<style>\r\n    .e-chart{\r\n        height: inherit !important;\r\n        width: inherit !important;\r\n    }\r\n</style>");
        }
        #pragma warning restore 1998
#nullable restore
#line 54 "C:\Users\mayur\source\repos\Charts\Pages\Index.razor"
       
    SfChart chart;
    public List<DoubleData> ChartPoints { get; set; } = new List<DoubleData>
    {
    new DoubleData { x = 1, y = 2500 },
    new DoubleData { x = 2, y = 2000 },
    new DoubleData { x = 3, y = 4000 },
    new DoubleData { x = 4, y = 3500},
    new DoubleData { x = 5, y = 5000 }
    };
    public class DoubleData
    {
        public double x { get; set; }
        public double y { get; set; }
    }

    bool collapse = false;


    void Toggle()
    {
        collapse = !collapse;
    }

    void ToggleWithRefresh()
    {
        collapse = !collapse;
        chart.Refresh(); 

    }

#line default
#line hidden
#nullable disable
    }
}
#pragma warning restore 1591
