#pragma checksum "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b1425bd002282648a4d844f41453dda87344a11a"
// <auto-generated/>
#pragma warning disable 1591
namespace ChartTest.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\Jack\source\repos\ChartTest\ChartTest\_Imports.razor"
using System.Net.Http;

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

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

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

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

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

#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "C:\Users\Jack\source\repos\ChartTest\ChartTest\_Imports.razor"
using Microsoft.JSInterop;

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "C:\Users\Jack\source\repos\ChartTest\ChartTest\_Imports.razor"
using ChartTest;

#line default
#line hidden
#nullable disable
#nullable restore
#line 9 "C:\Users\Jack\source\repos\ChartTest\ChartTest\_Imports.razor"
using ChartTest.Shared;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
using Syncfusion.Blazor.Charts;

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
using Syncfusion.Blazor.Buttons;

#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.OpenComponent<Syncfusion.Blazor.Charts.SfChart>(0);
            __builder.AddAttribute(1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(2, "\r\n\r\n\r\n\r\n    ");
                __builder2.OpenComponent<Syncfusion.Blazor.Charts.ChartLegendSettings>(3);
                __builder2.AddAttribute(4, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 10 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                  false

#line default
#line hidden
#nullable disable
                ));
                __builder2.AddAttribute(5, "ToggleVisibility", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 10 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                                           false

#line default
#line hidden
#nullable disable
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(6, "\r\n\r\n\r\n    \r\n\r\n    ");
                __builder2.OpenComponent<Syncfusion.Blazor.Charts.ChartSeriesCollection>(7);
                __builder2.AddAttribute(8, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(9, "\r\n\r\n        ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Charts.ChartSeries>(10);
                    __builder3.AddAttribute(11, "DataSource", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Collections.Generic.IEnumerable<System.Object>>(
#nullable restore
#line 17 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                  MedalDetails

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(12, "DashArray", "5,5");
                    __builder3.AddAttribute(13, "XName", "X");
                    __builder3.AddAttribute(14, "YName", "Y");
                    __builder3.AddAttribute(15, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Charts.ChartSeriesType>(
#nullable restore
#line 17 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                                                                          ChartSeriesType.StackingArea100

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(16, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
                        __builder4.AddMarkupContent(17, "\r\n            ");
                        __builder4.OpenComponent<Syncfusion.Blazor.Charts.ChartMarker>(18);
                        __builder4.AddAttribute(19, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => {
                            __builder5.AddMarkupContent(20, "\r\n\r\n                ");
                            __builder5.OpenComponent<Syncfusion.Blazor.Charts.ChartDataLabel>(21);
                            __builder5.AddAttribute(22, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 20 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                         true

#line default
#line hidden
#nullable disable
                            ));
                            __builder5.AddAttribute(23, "Name", "Text");
                            __builder5.AddAttribute(24, "Position", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Charts.LabelPosition>(
#nullable restore
#line 20 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                                                     Syncfusion.Blazor.Charts.LabelPosition.Middle

#line default
#line hidden
#nullable disable
                            ));
                            __builder5.AddAttribute(25, "Template", (Microsoft.AspNetCore.Components.RenderFragment<Syncfusion.Blazor.Charts.ChartDataPointInfo>)((context) => (__builder6) => {
                                __builder6.AddMarkupContent(26, "\r\n\r\n");
#nullable restore
#line 24 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                          
                            var data = context as ChartDataPointInfo;
                        

#line default
#line hidden
#nullable disable
                                __builder6.AddContent(27, "                        ");
                                __builder6.OpenElement(28, "table");
                                __builder6.AddMarkupContent(29, "\r\n                            ");
                                __builder6.OpenElement(30, "tr");
                                __builder6.AddMarkupContent(31, "\r\n                                ");
                                __builder6.OpenElement(32, "td");
                                __builder6.AddAttribute(33, "align", "center");
                                __builder6.AddAttribute(34, "style", "background-color: #ffffff; border-style: solid;\r\n                                    font-size: 14px; color: Black; font-weight: bold; padding: 5px ");
                                __builder6.AddMarkupContent(35, "\r\n                                    ");
                                __builder6.AddContent(36, 
#nullable restore
#line 31 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                     data.Y

#line default
#line hidden
#nullable disable
                                );
                                __builder6.AddMarkupContent(37, "\r\n                                ");
                                __builder6.CloseElement();
                                __builder6.AddMarkupContent(38, "\r\n                            ");
                                __builder6.CloseElement();
                                __builder6.AddMarkupContent(39, "\r\n                        ");
                                __builder6.CloseElement();
                                __builder6.AddMarkupContent(40, "\r\n\r\n                    ");
                            }
                            ));
                            __builder5.CloseComponent();
                            __builder5.AddMarkupContent(41, "\r\n            ");
                        }
                        ));
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(42, "\r\n        ");
                    }
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(43, "\r\n\r\n        ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Charts.ChartSeries>(44);
                    __builder3.AddAttribute(45, "DataSource", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Collections.Generic.IEnumerable<System.Object>>(
#nullable restore
#line 42 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                  MedalDetails

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(46, "XName", "X");
                    __builder3.AddAttribute(47, "YName", "Y1");
                    __builder3.AddAttribute(48, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Charts.ChartSeriesType>(
#nullable restore
#line 42 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                                                           ChartSeriesType.StackingArea100

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

#line default
#line hidden
#nullable disable
                            ));
                            __builder5.AddAttribute(56, "Name", "Text");
                            __builder5.AddAttribute(57, "Position", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Charts.LabelPosition>(
#nullable restore
#line 45 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                                                     Syncfusion.Blazor.Charts.LabelPosition.Middle

#line default
#line hidden
#nullable disable
                            ));
                            __builder5.AddAttribute(58, "Template", (Microsoft.AspNetCore.Components.RenderFragment<Syncfusion.Blazor.Charts.ChartDataPointInfo>)((context) => (__builder6) => {
                                __builder6.AddMarkupContent(59, "\r\n\r\n");
#nullable restore
#line 49 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                          
                            var data = context as ChartDataPointInfo;
                        

#line default
#line hidden
#nullable disable
                                __builder6.AddContent(60, "                        ");
                                __builder6.OpenElement(61, "table");
                                __builder6.AddMarkupContent(62, "\r\n                            ");
                                __builder6.OpenElement(63, "tr");
                                __builder6.AddMarkupContent(64, "\r\n                                ");
                                __builder6.OpenElement(65, "td");
                                __builder6.AddAttribute(66, "align", "center");
                                __builder6.AddAttribute(67, "style", "background-color: #ffffff; border-style: solid;\r\n                                    font-size: 14px; color: Black; font-weight: bold; padding: 5px ");
                                __builder6.AddMarkupContent(68, "\r\n                                    ");
                                __builder6.AddContent(69, 
#nullable restore
#line 56 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                     data.Y

#line default
#line hidden
#nullable disable
                                );
                                __builder6.AddMarkupContent(70, "\r\n                                ");
                                __builder6.CloseElement();
                                __builder6.AddMarkupContent(71, "\r\n                            ");
                                __builder6.CloseElement();
                                __builder6.AddMarkupContent(72, "\r\n                        ");
                                __builder6.CloseElement();
                                __builder6.AddMarkupContent(73, "\r\n\r\n                    ");
                            }
                            ));
                            __builder5.CloseComponent();
                            __builder5.AddMarkupContent(74, "\r\n            ");
                        }
                        ));
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(75, "\r\n        ");
                    }
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(76, "\r\n\r\n        ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Charts.ChartSeries>(77);
                    __builder3.AddAttribute(78, "DataSource", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Collections.Generic.IEnumerable<System.Object>>(
#nullable restore
#line 67 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                  MedalDetails

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(79, "XName", "X");
                    __builder3.AddAttribute(80, "YName", "Y2");
                    __builder3.AddAttribute(81, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Charts.ChartSeriesType>(
#nullable restore
#line 67 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                                                           ChartSeriesType.StackingArea100

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(82, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
                        __builder4.AddMarkupContent(83, "\r\n            ");
                        __builder4.OpenComponent<Syncfusion.Blazor.Charts.ChartMarker>(84);
                        __builder4.AddAttribute(85, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => {
                            __builder5.AddMarkupContent(86, "\r\n\r\n                ");
                            __builder5.OpenComponent<Syncfusion.Blazor.Charts.ChartDataLabel>(87);
                            __builder5.AddAttribute(88, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 70 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                         true

#line default
#line hidden
#nullable disable
                            ));
                            __builder5.AddAttribute(89, "Name", "Text");
                            __builder5.AddAttribute(90, "Position", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Charts.LabelPosition>(
#nullable restore
#line 70 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                                                      Syncfusion.Blazor.Charts.LabelPosition.Middle

#line default
#line hidden
#nullable disable
                            ));
                            __builder5.AddAttribute(91, "Template", (Microsoft.AspNetCore.Components.RenderFragment<Syncfusion.Blazor.Charts.ChartDataPointInfo>)((context) => (__builder6) => {
                                __builder6.AddMarkupContent(92, "\r\n\r\n");
#nullable restore
#line 74 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                          
                            var data = context as ChartDataPointInfo;
                        

#line default
#line hidden
#nullable disable
                                __builder6.AddContent(93, "                        ");
                                __builder6.OpenElement(94, "table");
                                __builder6.AddMarkupContent(95, "\r\n                            ");
                                __builder6.OpenElement(96, "tr");
                                __builder6.AddMarkupContent(97, "\r\n                                ");
                                __builder6.OpenElement(98, "td");
                                __builder6.AddAttribute(99, "align", "center");
                                __builder6.AddAttribute(100, "style", "background-color: #ffffff; border-style: solid;\r\n                                    font-size: 14px; color: Black; font-weight: bold; padding: 5px;  ");
                                __builder6.AddMarkupContent(101, "\r\n                                    ");
                                __builder6.AddContent(102, 
#nullable restore
#line 81 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                     data.Y

#line default
#line hidden
#nullable disable
                                );
                                __builder6.AddMarkupContent(103, "\r\n                                ");
                                __builder6.CloseElement();
                                __builder6.AddMarkupContent(104, "\r\n                            ");
                                __builder6.CloseElement();
                                __builder6.AddMarkupContent(105, "\r\n                        ");
                                __builder6.CloseElement();
                                __builder6.AddMarkupContent(106, "\r\n\r\n                    ");
                            }
                            ));
                            __builder5.CloseComponent();
                            __builder5.AddMarkupContent(107, "\r\n            ");
                        }
                        ));
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(108, "\r\n        ");
                    }
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(109, "\r\n\r\n        ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Charts.ChartSeries>(110);
                    __builder3.AddAttribute(111, "DataSource", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Collections.Generic.IEnumerable<System.Object>>(
#nullable restore
#line 92 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                  MedalDetails

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(112, "XName", "X");
                    __builder3.AddAttribute(113, "YName", "Y3");
                    __builder3.AddAttribute(114, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Charts.ChartSeriesType>(
#nullable restore
#line 92 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                                                           ChartSeriesType.Line

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(115, "\r\n\r\n    ");
                }
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(116, "\r\n");
            }
            ));
            __builder.AddComponentReferenceCapture(117, (__value) => {
#nullable restore
#line 6 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
               ChartObj = (Syncfusion.Blazor.Charts.SfChart)__value;

#line default
#line hidden
#nullable disable
            }
            );
            __builder.CloseComponent();
            __builder.AddMarkupContent(118, "\r\n\r\n");
            __builder.OpenComponent<Syncfusion.Blazor.Buttons.SfButton>(119);
            __builder.AddAttribute(120, "Id", "button");
            __builder.AddAttribute(121, "Content", "Export");
            __builder.AddAttribute(122, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this, 
#nullable restore
#line 98 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                                 Export

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(123, "IsPrimary", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 98 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
                                                                    true

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(124, "CssClass", "e-flat");
            __builder.CloseComponent();
        }
        #pragma warning restore 1998
#nullable restore
#line 100 "C:\Users\Jack\source\repos\ChartTest\ChartTest\Pages\Index.razor"
      

    SfChart ChartObj;

    public static int UpperGuardRail = 415000;
    public static int CurrentBalance = 332000;
    public static int LowerGuardRail = 277000;

    private async Task Export(MouseEventArgs args)
    {
        await ChartObj.ExportAsync(ExportType.PNG, "pngImage");
    }

    private async Task Print(MouseEventArgs args)
    {
        await ChartObj.PrintAsync();
    }


    public class ChartData
    {
        public double X { get; set; }
        public double Y { get; set; }
        public double Y1 { get; set; }
        public double Y2 { get; set; }
        public double Y3 { get; set; } //Current balance


    }
    public List<ChartData> MedalDetails = new List<ChartData>
    {


          new ChartData{ X=2002, Y= LowerGuardRail, Y1= CurrentBalance, Y2= UpperGuardRail, Y3 = 50 },
          new ChartData{ X=2001, Y= LowerGuardRail, Y1= CurrentBalance, Y2= UpperGuardRail, Y3 = 50 },

    };

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