// <auto-generated/>
#pragma warning disable 1591
#pragma warning disable 0414
#pragma warning disable 0649
#pragma warning disable 0169

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)
        {
        }
        #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
