コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 57, true);
                WriteLiteral("<span class=\"sampleName\">PivotChart / Chart Types</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(132, 176, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for ASP.NET core pivot chart control demonstrates different types of charts such as bar chart, column chart, and pie chart\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(336, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(338, 1077, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-chart", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db97b723641444ba9d9f07219796184b", async() => {
                    BeginContext(406, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(412, 540, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "80e74fa623fe4b2ca11192a2f8d9bd85", async() => {
                        BeginContext(427, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(437, 205, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ba9eaaf5898f4fdda3f1a5083201e6ad", async() => {
                            BeginContext(451, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(465, 72, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d87a019641aa4ac88e9af99b149e408b", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_0.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_1.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(537, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(551, 66, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "06529ebf9b9a42e08afa82e0ce9e6896", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_3.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(617, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(642, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(652, 137, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "98b62cb3082e49b19bf6c1ed006438df", async() => {
                            BeginContext(669, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(683, 78, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "efc11b8eeed54947a350178d9e0b3484", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(761, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(789, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(799, 131, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "46c8cd70b9ce4d2f8712d0d3519c385c", async() => {
                            BeginContext(815, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(829, 74, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "64b2cecb3a1449d28d90a89148939885", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_6.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_7.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(903, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(930, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(952, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(958, 155, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-common-series-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "10cb0c70577543ba94aa1568bd4c42be", async() => {
                        BeginContext(1021, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1031, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-chart-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c05e48fd69ff4fc2b36aa2e96b9652ca", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.NewTooltip>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_NewTooltip);
#line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible = true;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1081, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.CommonSeriesOptions>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type = global::Syncfusion.JavaScript.DataVisualization.SeriesType.Column;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1113, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1119, 45, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e5e7e00a63bd4720bd83dbef0840feb2", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ModelSize>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ModelSize);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Width = (string)__tagHelperAttribute_8.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Height = (string)__tagHelperAttribute_9.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1164, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1170, 93, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-x-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5226f08268d84e049fc423c4f486fec9", async() => {
                        BeginContext(1188, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1198, 40, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "72cfd3ed29c7410b923a1a1f9d78e05a", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_10.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1238, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1263, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1269, 86, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-y-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a7d922b8c2e4e929b0845e182c9f904", async() => {
                        BeginContext(1287, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1297, 33, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1738a477683b421f84a2ea2c92241021", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_11.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1330, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1355, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1361, 35, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-legend", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5beb76d6e8f9408aada79469f13e778a", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Legend>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Legend);
#line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount = 1;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("row-count", __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1396, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotChartProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotChartProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotChartProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotChartProperties.Load = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1415, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1443, 5725, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        function onload(args) {
            args.model.dataSource.data = [
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Alberta"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""British Columbia"" },
                                        { Amount: 300, Country: ""Canada"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Brunswick"" },
                                        { Amount: 150, Country: ""Canada"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 3, State: ""Manitoba"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Car"", Quantity: 4, State: ""Ontario"" },
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2007"", Product: ""Van"", Quantity: 1, State: ""Quebec"" },
                                        { Amount:");
                WriteLiteral(@" 200, Country: ""France"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Charente-Maritime"" },
                                        { Amount: 250, Country: ""France"", Date: ""FY 2006"", Product: ""Van"", Quantity: 4, State: ""Essonne"" },
                                        { Amount: 300, Country: ""France"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Garonne (Haute)"" },
                                        { Amount: 150, Country: ""France"", Date: ""FY 2008"", Product: ""Van"", Quantity: 2, State: ""Gers"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""Bayern"" },
                                        { Amount: 250, Country: ""Germany"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Brandenburg"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2008"", Product: ""Car"", Quantity: 4, State: ""Hamburg"" },
                                        { Amount: 200, Country: ");
                WriteLiteral(@"""Germany"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 4, State: ""Hessen"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2007"", Product: ""Van"", Quantity: 3, State: ""Nordrhein-Westfalen"" },
                                        { Amount: 100, Country: ""Germany"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Saarland"" },
                                        { Amount: 150, Country: ""United Kingdom"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 5, State: ""England"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Alabama"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Van"", Quantity: 4, State: ""California"" },
                                        { Amount: 100, Country: ""United States"", Date: ""FY 2006"", Product: ""Bike"", Quantity: 2, State: ""Colorado"" },
                                        { Amount:");
                WriteLiteral(@" 150, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""New Mexico"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 4, State: ""New York"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""North Carolina"" },
                                        { Amount: 300, Country: ""United States"", Date: ""FY 2007"", Product: ""Van"", Quantity: 4, State: ""South Carolina"" }
            ];
            loadTheme(args);
        }
        function ChartTypeChanged(args) {
            var chartTarget = $('#PivotChart1').data(""ejPivotChart"");
            chartTarget.model.type = args.selectedValue.toLowerCase();
            chartTarget.model.commonSeriesOptions.type = args.selectedValue.toLowerCase();
            if (jQuery.inArray(chartTarget.model.type, [""line"", ""spline"", ""area"", ""splinearea"", ""stepline"", ""steparea"", ""stackin");
                WriteLiteral(@"garea"", ""scatter""]) > -1)
                chartTarget.model.commonSeriesOptions.marker = {
                    shape: ej.PivotChart.SymbolShapes.Circle,
                    size: { height: 12, width: 12 },
                    visible: true, connectorLine: { height: 30, type: ""line"" },
                    border: { width: 3, color: 'white' }
                };
            else if (jQuery.inArray(chartTarget.model.type, [""funnel"", ""pyramid""]) > -1) {
                chartTarget.model.commonSeriesOptions.marker = {
                    dataLabel: {
                        visible: true,
                        shape: 'none',
                        font: { color: 'white', size: '12px', fontWeight: 'lighter' }
                    }
                }
            }
            else
                chartTarget.model.commonSeriesOptions.marker = { visible: false };
            if (chartTarget.model.type == ""pyramid"" || chartTarget.model.type == ""funnel"")
                chartTarget.model.legend.rowC");
                WriteLiteral(@"ount = 1;
            else
                chartTarget.model.legend.rowCount = 2;
            if (jQuery.inArray(chartTarget.model.type, [""pie"", ""doughnut""]) > -1)
                chartTarget.model.commonSeriesOptions.explode = true;
            else
                chartTarget.model.commonSeriesOptions.explode = false;
            chartTarget.renderControlSuccess({ ""JsonRecords"": JSON.stringify(chartTarget.getJSONRecords()), ""OlapReport"": chartTarget.getOlapReport() });
        }
        $(function () {
            $(""#sampleProperties"").ejPropertiesPanel();
        });
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(7193, 572, true);
                WriteLiteral(@"
    <style>
        #PivotChart1 {
            min-height: 275px;
            min-width: 525px;
            height: 460px;
            width: 100%;
            float: left;
        }
        .row .cols-prop-area {min-height:105px!important}
        .eventarea {margin-top:15px}

        .cols-prop-area {
            width: 250px !important;
            min-height: 93px !important;
        }

        .col-md-3 {
            height: 45px !important;
        }
        .cols-sample-area {
            width:100% !important;
        }
    </style>
");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(7795, 786, true);
                WriteLiteral(@"
    <ul id=""chartTypes"">
        <li>Column</li>
        <li>Spline</li>
        <li>Line</li>
        <li>Area</li>
        <li>SplineArea</li>
        <li>StepLine</li>
        <li>StepArea</li>
        <li>Pie</li>
        <li>Bar</li>
        <li>StackingArea</li>
        <li>StackingColumn</li>
        <li>StackingBar</li>
        <li>Pyramid</li>
        <li>Funnel</li>
        <li>Doughnut</li>
        <li>Scatter</li>
        <li>Bubble</li>
    </ul>
<div id=""sampleProperties"">
    <div class=""prop-grid"">
            <div class=""row"" style=""margin-top: 8px; float:left;padding-right:15px;padding-left:15px"">
                Chart Type
            </div>
            <div class=""row"">
                <div class=""col-md-3"">
                    ");
                EndContext();
                BeginContext(8581, 141, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c7eb6077d44a4b9882edb21ada22fcde", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
#line 153 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(8722, 74, true);
                WriteLiteral("\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
        }
コード例 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 57, true);
                WriteLiteral("<span class=\"sampleName\">PivotChart / Chart Types</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(132, 176, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for ASP.NET core pivot chart control demonstrates different types of charts such as bar chart, column chart, and pie chart\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(336, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(338, 1077, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-chart", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "333cd70929444547b3d881e768bd2c3a", async() => {
                    BeginContext(406, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(412, 540, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3f57f4d412284e888990caeacf0d55d4", async() => {
                        BeginContext(427, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(437, 205, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e58dfbe4a4164a60a47eca0bef0c98c9", async() => {
                            BeginContext(451, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(465, 72, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3c8f70705948405db0f7e7a6ac1bd1c2", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_0.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_1.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(537, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(551, 66, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3edca123621d4677a72d2b856fad42bd", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_3.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(617, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(642, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(652, 137, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f16b3c2b66b43ec9a906bef224e8ecc", async() => {
                            BeginContext(669, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(683, 78, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c36e8efaa62f47f2a21c7490571430d5", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(761, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(789, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(799, 131, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dae76d8d769e441695fa03d7337ad998", async() => {
                            BeginContext(815, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(829, 74, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f0c8f138f01140a7939f0eacf02de813", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_6.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_7.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(903, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(930, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(952, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(958, 155, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-common-series-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dbd84eef55554ebbb90acf63d21ca034", async() => {
                        BeginContext(1021, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1031, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-chart-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6726826a3ac245528b5939f623871f44", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.NewTooltip>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_NewTooltip);
#line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible = true;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1081, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.CommonSeriesOptions>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type = global::Syncfusion.JavaScript.DataVisualization.SeriesType.Column;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1113, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1119, 45, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9450d1c8038b46bd966ec6feeb4ecd13", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ModelSize>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ModelSize);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Width = (string)__tagHelperAttribute_8.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Height = (string)__tagHelperAttribute_9.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1164, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1170, 93, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-x-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f6e63f4e6b348c3959a839c60ecb148", async() => {
                        BeginContext(1188, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1198, 40, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7e6e16325efb42d1bd9240a2a5af6f53", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_10.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1238, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1263, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1269, 86, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-y-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9e9416a9c8164fff86ee25eca3d9b2da", async() => {
                        BeginContext(1287, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1297, 33, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a2b69991e6c46a78bb28a52cf3eaecb", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_11.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1330, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1355, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1361, 35, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-legend", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2fd5a4ef2f964d7bbfeb82d913018c17", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Legend>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Legend);
#line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount = 1;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("row-count", __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1396, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotChartProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotChartProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotChartProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotChartProperties.Load = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1415, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1443, 5725, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        function onload(args) {
            args.model.dataSource.data = [
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Alberta"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""British Columbia"" },
                                        { Amount: 300, Country: ""Canada"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Brunswick"" },
                                        { Amount: 150, Country: ""Canada"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 3, State: ""Manitoba"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Car"", Quantity: 4, State: ""Ontario"" },
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2007"", Product: ""Van"", Quantity: 1, State: ""Quebec"" },
                                        { Amount:");
                WriteLiteral(@" 200, Country: ""France"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Charente-Maritime"" },
                                        { Amount: 250, Country: ""France"", Date: ""FY 2006"", Product: ""Van"", Quantity: 4, State: ""Essonne"" },
                                        { Amount: 300, Country: ""France"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Garonne (Haute)"" },
                                        { Amount: 150, Country: ""France"", Date: ""FY 2008"", Product: ""Van"", Quantity: 2, State: ""Gers"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""Bayern"" },
                                        { Amount: 250, Country: ""Germany"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Brandenburg"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2008"", Product: ""Car"", Quantity: 4, State: ""Hamburg"" },
                                        { Amount: 200, Country: ");
                WriteLiteral(@"""Germany"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 4, State: ""Hessen"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2007"", Product: ""Van"", Quantity: 3, State: ""Nordrhein-Westfalen"" },
                                        { Amount: 100, Country: ""Germany"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Saarland"" },
                                        { Amount: 150, Country: ""United Kingdom"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 5, State: ""England"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Alabama"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Van"", Quantity: 4, State: ""California"" },
                                        { Amount: 100, Country: ""United States"", Date: ""FY 2006"", Product: ""Bike"", Quantity: 2, State: ""Colorado"" },
                                        { Amount:");
                WriteLiteral(@" 150, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""New Mexico"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 4, State: ""New York"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""North Carolina"" },
                                        { Amount: 300, Country: ""United States"", Date: ""FY 2007"", Product: ""Van"", Quantity: 4, State: ""South Carolina"" }
            ];
            loadTheme(args);
        }
        function ChartTypeChanged(args) {
            var chartTarget = $('#PivotChart1').data(""ejPivotChart"");
            chartTarget.model.type = args.selectedValue.toLowerCase();
            chartTarget.model.commonSeriesOptions.type = args.selectedValue.toLowerCase();
            if (jQuery.inArray(chartTarget.model.type, [""line"", ""spline"", ""area"", ""splinearea"", ""stepline"", ""steparea"", ""stackin");
                WriteLiteral(@"garea"", ""scatter""]) > -1)
                chartTarget.model.commonSeriesOptions.marker = {
                    shape: ej.PivotChart.SymbolShapes.Circle,
                    size: { height: 12, width: 12 },
                    visible: true, connectorLine: { height: 30, type: ""line"" },
                    border: { width: 3, color: 'white' }
                };
            else if (jQuery.inArray(chartTarget.model.type, [""funnel"", ""pyramid""]) > -1) {
                chartTarget.model.commonSeriesOptions.marker = {
                    dataLabel: {
                        visible: true,
                        shape: 'none',
                        font: { color: 'white', size: '12px', fontWeight: 'lighter' }
                    }
                }
            }
            else
                chartTarget.model.commonSeriesOptions.marker = { visible: false };
            if (chartTarget.model.type == ""pyramid"" || chartTarget.model.type == ""funnel"")
                chartTarget.model.legend.rowC");
                WriteLiteral(@"ount = 1;
            else
                chartTarget.model.legend.rowCount = 2;
            if (jQuery.inArray(chartTarget.model.type, [""pie"", ""doughnut""]) > -1)
                chartTarget.model.commonSeriesOptions.explode = true;
            else
                chartTarget.model.commonSeriesOptions.explode = false;
            chartTarget.renderControlSuccess({ ""JsonRecords"": JSON.stringify(chartTarget.getJSONRecords()), ""OlapReport"": chartTarget.getOlapReport() });
        }
        $(function () {
            $(""#sampleProperties"").ejPropertiesPanel();
        });
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(7193, 572, true);
                WriteLiteral(@"
    <style>
        #PivotChart1 {
            min-height: 275px;
            min-width: 525px;
            height: 460px;
            width: 100%;
            float: left;
        }
        .row .cols-prop-area {min-height:105px!important}
        .eventarea {margin-top:15px}

        .cols-prop-area {
            width: 250px !important;
            min-height: 93px !important;
        }

        .col-md-3 {
            height: 45px !important;
        }
        .cols-sample-area {
            width:100% !important;
        }
    </style>
");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(7795, 786, true);
                WriteLiteral(@"
    <ul id=""chartTypes"">
        <li>Column</li>
        <li>Spline</li>
        <li>Line</li>
        <li>Area</li>
        <li>SplineArea</li>
        <li>StepLine</li>
        <li>StepArea</li>
        <li>Pie</li>
        <li>Bar</li>
        <li>StackingArea</li>
        <li>StackingColumn</li>
        <li>StackingBar</li>
        <li>Pyramid</li>
        <li>Funnel</li>
        <li>Doughnut</li>
        <li>Scatter</li>
        <li>Bubble</li>
    </ul>
<div id=""sampleProperties"">
    <div class=""prop-grid"">
            <div class=""row"" style=""margin-top: 8px; float:left;padding-right:15px;padding-left:15px"">
                Chart Type
            </div>
            <div class=""row"">
                <div class=""col-md-3"">
                    ");
                EndContext();
                BeginContext(8581, 141, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4cbdd75c6972444db894b11b06fbdf06", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
#line 153 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\ChartTypes.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(8722, 74, true);
                WriteLiteral("\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
        }
コード例 #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 53, true);
                WriteLiteral("<span class=\"sampleName\">PivotChart / Default</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(128, 204, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot chart control describes how to bind relational data source, which is in JSON format at script-side\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(360, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(362, 1249, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-chart", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1f53a960c7c94af7b0323236638ea766", async() => {
                    BeginContext(430, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(436, 712, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7d9c5c19626543e7b493e5cd8f9379f4", async() => {
                        BeginContext(451, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(461, 285, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fa53a285c5654975a1ce473b4fef34f6", async() => {
                            BeginContext(475, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(489, 72, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "42542750c63e42dd9e9acd626530e3a4", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_0.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_1.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(561, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(575, 66, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "da75fc58d89341efa6de6186354f9e72", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_3.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(641, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(655, 66, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8724a32dc4384fc4a2e989ea431b1667", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(721, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(746, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(756, 137, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5d73da5624ef4203a88d505394a9796b", async() => {
                            BeginContext(773, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(787, 78, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "282d0a6989a549bf929750b3ba522614", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_6.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_7.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(865, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(893, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(903, 223, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2e802599e9c047f2b17725d48d04f872", async() => {
                            BeginContext(919, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(933, 74, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "291ec082135646e6aaa2a3bba1b34784", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_8.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_9.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1007, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(1021, 78, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09118baee2c40459bdf4a8c6ca57059", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_10.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_11.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1099, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1126, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1148, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1154, 155, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-common-series-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9dacd34219514de9ab86502d143667fa", async() => {
                        BeginContext(1217, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1227, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-chart-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0f2877d473824e57a5e47496caa18327", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.NewTooltip>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_NewTooltip);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Default.cshtml"
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible = true;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1277, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.CommonSeriesOptions>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Default.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type = global::Syncfusion.JavaScript.DataVisualization.SeriesType.Column;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Default.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1309, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1315, 45, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2c3ad96a555d4835a29791e22c601654", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ModelSize>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ModelSize);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Width = (string)__tagHelperAttribute_12.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Height = (string)__tagHelperAttribute_13.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1360, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1366, 93, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-x-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5d57fbb3d64844b7bd274760f282c374", async() => {
                        BeginContext(1384, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1394, 40, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0999be77810c488dac0f43a7fb84360f", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_14.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1434, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1459, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1465, 86, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-y-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1b68fc62bb4442149b0172e0bdd9f539", async() => {
                        BeginContext(1483, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1493, 33, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f14330ef554b45378da9b3bcd6ab86b2", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_15.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1526, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1551, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1557, 35, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-legend", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b18f49d2b8544719a6e96c902e19ba8d", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Legend>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Legend);
#line 32 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Default.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount = 2;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("row-count", __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1592, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotChartProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotChartProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotChartProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Default.cshtml"
                __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotChartProperties.Load = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1611, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1639, 3705, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        function onload(args) {
            args.model.dataSource.data = [
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Alberta"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""British Columbia"" },
                                        { Amount: 300, Country: ""Canada"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Brunswick"" },
                                        { Amount: 150, Country: ""Canada"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 3, State: ""Manitoba"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Car"", Quantity: 4, State: ""Ontario"" },
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2007"", Product: ""Van"", Quantity: 1, State: ""Quebec"" },
                                        { Amount:");
                WriteLiteral(@" 200, Country: ""France"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Charente-Maritime"" },
                                        { Amount: 250, Country: ""France"", Date: ""FY 2006"", Product: ""Van"", Quantity: 4, State: ""Essonne"" },
                                        { Amount: 300, Country: ""France"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Garonne (Haute)"" },
                                        { Amount: 150, Country: ""France"", Date: ""FY 2008"", Product: ""Van"", Quantity: 2, State: ""Gers"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""Bayern"" },
                                        { Amount: 250, Country: ""Germany"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Brandenburg"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2008"", Product: ""Car"", Quantity: 4, State: ""Hamburg"" },
                                        { Amount: 200, Country: ");
                WriteLiteral(@"""Germany"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 4, State: ""Hessen"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2007"", Product: ""Van"", Quantity: 3, State: ""Nordrhein-Westfalen"" },
                                        { Amount: 100, Country: ""Germany"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Saarland"" },
                                        { Amount: 150, Country: ""United Kingdom"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 5, State: ""England"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Alabama"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Van"", Quantity: 4, State: ""California"" },
                                        { Amount: 100, Country: ""United States"", Date: ""FY 2006"", Product: ""Bike"", Quantity: 2, State: ""Colorado"" },
                                        { Amount:");
                WriteLiteral(@" 150, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""New Mexico"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 4, State: ""New York"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""North Carolina"" },
                                        { Amount: 300, Country: ""United States"", Date: ""FY 2007"", Product: ""Van"", Quantity: 4, State: ""South Carolina"" }
            ];
            loadTheme(args);
        }
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(5369, 286, true);
                WriteLiteral(@"
    <style>
        #PivotChart1 {
            min-height: 275px; 
            min-width: 525px; 
            height: 460px; 
            width: 100%;
            float:left;
        }
        .cols-sample-area {
            width: 100% !important;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 53, true);
                WriteLiteral("<span class=\"sampleName\">PivotChart / Default</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(128, 204, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot chart control describes how to bind relational data source, which is in JSON format at script-side\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(360, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(362, 1249, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-chart", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "87d8b6531e6d4d0f8796107e17a6d3f1", async() => {
                    BeginContext(430, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(436, 712, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8810cb81ae24f6797e3fcbaba8dff7f", async() => {
                        BeginContext(451, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(461, 285, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "06c6aaf99f28415383f68b673efaa328", async() => {
                            BeginContext(475, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(489, 72, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae855990bfe64918aa28cbf05999b086", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_0.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_1.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(561, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(575, 66, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bc7ddaa0d288489390bc3326b6745ce7", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_3.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(641, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(655, 66, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c12ebc5df3334ef68c5926733be1bfca", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(721, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(746, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(756, 137, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0c583766c98f424191b6d48d73b832c4", async() => {
                            BeginContext(773, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(787, 78, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0295a5fe506842ed942afbace8c64d6d", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_6.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_7.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(865, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(893, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(903, 223, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a3ab237a626440d6902fc8b537263c3c", async() => {
                            BeginContext(919, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(933, 74, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4dec1d9ee01b45de8b88b0d1f2a61457", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_8.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_9.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1007, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(1021, 78, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6d094e9d4d174276bd9e652347108611", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_10.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_11.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1099, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1126, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1148, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1154, 155, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-common-series-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c95c96a4a85847189e0e6a5fbc52e367", async() => {
                        BeginContext(1217, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1227, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-chart-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "07c7d629276e42c6b84f46674403011e", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.NewTooltip>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_NewTooltip);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Default.cshtml"
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible = true;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1277, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.CommonSeriesOptions>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Default.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type = global::Syncfusion.JavaScript.DataVisualization.SeriesType.Column;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Default.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1309, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1315, 45, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b878f8dbf25c440fba00d5392ac2f44e", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ModelSize>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ModelSize);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Width = (string)__tagHelperAttribute_12.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Height = (string)__tagHelperAttribute_13.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1360, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1366, 93, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-x-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "018818ff82914ea2ab14dc24fdebb822", async() => {
                        BeginContext(1384, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1394, 40, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6f215b687f5b4be6a3fa41b7fed6af5d", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_14.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1434, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1459, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1465, 86, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-y-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cd5b195d13e24d59865f281f9d8ce269", async() => {
                        BeginContext(1483, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1493, 33, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9d938bfc28444ddf89b68b52080e9f1b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_15.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1526, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1551, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1557, 35, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-legend", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1884814c595046e99798703d25a7b18e", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Legend>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Legend);
#line 32 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Default.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount = 2;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("row-count", __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1592, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotChartProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotChartProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotChartProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Default.cshtml"
                __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotChartProperties.Load = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1611, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1639, 3705, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        function onload(args) {
            args.model.dataSource.data = [
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Alberta"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""British Columbia"" },
                                        { Amount: 300, Country: ""Canada"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Brunswick"" },
                                        { Amount: 150, Country: ""Canada"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 3, State: ""Manitoba"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Car"", Quantity: 4, State: ""Ontario"" },
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2007"", Product: ""Van"", Quantity: 1, State: ""Quebec"" },
                                        { Amount:");
                WriteLiteral(@" 200, Country: ""France"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Charente-Maritime"" },
                                        { Amount: 250, Country: ""France"", Date: ""FY 2006"", Product: ""Van"", Quantity: 4, State: ""Essonne"" },
                                        { Amount: 300, Country: ""France"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Garonne (Haute)"" },
                                        { Amount: 150, Country: ""France"", Date: ""FY 2008"", Product: ""Van"", Quantity: 2, State: ""Gers"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""Bayern"" },
                                        { Amount: 250, Country: ""Germany"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Brandenburg"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2008"", Product: ""Car"", Quantity: 4, State: ""Hamburg"" },
                                        { Amount: 200, Country: ");
                WriteLiteral(@"""Germany"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 4, State: ""Hessen"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2007"", Product: ""Van"", Quantity: 3, State: ""Nordrhein-Westfalen"" },
                                        { Amount: 100, Country: ""Germany"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Saarland"" },
                                        { Amount: 150, Country: ""United Kingdom"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 5, State: ""England"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Alabama"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Van"", Quantity: 4, State: ""California"" },
                                        { Amount: 100, Country: ""United States"", Date: ""FY 2006"", Product: ""Bike"", Quantity: 2, State: ""Colorado"" },
                                        { Amount:");
                WriteLiteral(@" 150, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""New Mexico"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 4, State: ""New York"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""North Carolina"" },
                                        { Amount: 300, Country: ""United States"", Date: ""FY 2007"", Product: ""Van"", Quantity: 4, State: ""South Carolina"" }
            ];
            loadTheme(args);
        }
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(5369, 286, true);
                WriteLiteral(@"
    <style>
        #PivotChart1 {
            min-height: 275px; 
            min-width: 525px; 
            height: 460px; 
            width: 100%;
            float:left;
        }
        .cols-sample-area {
            width: 100% !important;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #5
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 50, true);
                WriteLiteral("<span class=\"sampleName\">PivotChart / Olap</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(125, 179, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot chart control describes how to bind the OLAP cube data from SSAS (XML/A).\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(332, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(334, 1240, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-chart", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1be586ad718b49fbbf9be10e57b25004", async() => {
                    BeginContext(405, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(411, 700, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "530b08a694584ca889b302a6fc5a9882", async() => {
                        BeginContext(531, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(541, 109, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "488a79ef6ae64d31b45afcece5832aa1", async() => {
                            BeginContext(555, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(569, 56, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cb297dc4ade34e38af6341985d4c8c8e", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (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();
                            EndContext();
                            BeginContext(625, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(650, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(660, 137, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5aea8677b0d240c38837642a8b517dec", async() => {
                            BeginContext(677, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(691, 78, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "21f4eb76cd444d1db475c8084038c8c7", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_1.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(769, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(797, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(807, 282, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e6ae0fbfe5194e388c718d02166ddb16", async() => {
                            BeginContext(823, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(837, 225, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "09cd7cd7f9b64186a61ab48ed7e8bc4c", async() => {
                                BeginContext(866, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                                BeginContext(884, 148, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c045fb6783a348c998cbb19da99aebfb", async() => {
                                    BeginContext(896, 22, true);
                                    WriteLiteral("\r\n                    ");
                                    EndContext();
                                    BeginContext(918, 83, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "afde4b50e4c249fb81e2bc05622a48a5", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems);
                                    __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (string)__tagHelperAttribute_2.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1001, 18, true);
                                    WriteLiteral("\r\n                ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1032, 14, true);
                                WriteLiteral("\r\n            ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
#line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                            __Syncfusion_JavaScript_Models_Field.Axis = global::Syncfusion.JavaScript.AxisName.Column;

#line default
#line hidden
                            __tagHelperExecutionContext.AddTagHelperAttribute("axis", __Syncfusion_JavaScript_Models_Field.Axis, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1062, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1089, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Catalog = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Data = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1111, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1117, 155, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-common-series-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cfbf7f1977604fd58e7251bb90699d04", async() => {
                        BeginContext(1180, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1190, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-chart-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5538fdd56034453a99202d85edf3a186", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.NewTooltip>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_NewTooltip);
#line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible = true;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1240, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.CommonSeriesOptions>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type = global::Syncfusion.JavaScript.DataVisualization.SeriesType.Column;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1272, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1278, 45, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8dae740210c5497ba8afb63da3798f85", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ModelSize>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ModelSize);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Width = (string)__tagHelperAttribute_6.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Height = (string)__tagHelperAttribute_7.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1323, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1329, 93, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-x-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7fdb2de7d4424cdb9549bd041130ecd2", async() => {
                        BeginContext(1347, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1357, 40, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "118d9cefce5545808a72a198088df72b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1397, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1422, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1428, 86, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-y-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7ec46366cca841b8bfda57f09b54ac24", async() => {
                        BeginContext(1446, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1456, 33, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9a8c4dacda2642efb1c2940d2b848827", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_9.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1489, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1514, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1520, 35, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-legend", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "eca5141dc40b4ad4b348af70e976b969", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Legend>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Legend);
#line 33 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount = 2;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("row-count", __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1555, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotChartProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotChartProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotChartProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotChartProperties.Load = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1574, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1601, 284, true);
                WriteLiteral(@"
    <style>
        #PivotChart1 {
            min-height: 275px;
            min-width: 525px;
            height: 460px;
            width: 100%;
            float: left;
        }
        .cols-sample-area {
            width: 100% !important;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #6
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 50, true);
                WriteLiteral("<span class=\"sampleName\">PivotChart / Olap</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(125, 179, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot chart control describes how to bind the OLAP cube data from SSAS (XML/A).\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(332, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(334, 1240, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-chart", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e5e19b1fc2724e47aeaa619fbd5216f4", async() => {
                    BeginContext(405, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(411, 700, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "afa5a8dcf61f4e0baf5576b47d817897", async() => {
                        BeginContext(531, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(541, 109, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b03b5b2683274123aecb4054cc0ea645", async() => {
                            BeginContext(555, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(569, 56, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f28c5eb6884d40bd869ab4e8ef119a4d", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (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();
                            EndContext();
                            BeginContext(625, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(650, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(660, 137, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f6deb35f12be4d58b1d78bb7da43ec8e", async() => {
                            BeginContext(677, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(691, 78, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0c1ce6869b34aacb3a4111a8fab797e", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_1.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(769, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(797, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(807, 282, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d823a50382484dc593dc48696dbf1a23", async() => {
                            BeginContext(823, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(837, 225, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fbf5f3e63d8e48e6ab31c0db5ac05204", async() => {
                                BeginContext(866, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                                BeginContext(884, 148, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "879bd74aa09943b2ab73beb8b8941227", async() => {
                                    BeginContext(896, 22, true);
                                    WriteLiteral("\r\n                    ");
                                    EndContext();
                                    BeginContext(918, 83, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e5f90616e07349b7ac53d82d8e33ff01", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems);
                                    __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (string)__tagHelperAttribute_2.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1001, 18, true);
                                    WriteLiteral("\r\n                ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1032, 14, true);
                                WriteLiteral("\r\n            ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
#line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                            __Syncfusion_JavaScript_Models_Field.Axis = global::Syncfusion.JavaScript.AxisName.Column;

#line default
#line hidden
                            __tagHelperExecutionContext.AddTagHelperAttribute("axis", __Syncfusion_JavaScript_Models_Field.Axis, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1062, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1089, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Catalog = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Data = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1111, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1117, 155, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-common-series-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "987b14d4ec5742449d3e0cd8351bc19d", async() => {
                        BeginContext(1180, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1190, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-chart-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1368a2d544a648288e1579ae4074800a", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.NewTooltip>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_NewTooltip);
#line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                        __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible = true;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_DataVisualization_Models_NewTooltip.Visible, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1240, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.CommonSeriesOptions>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type = global::Syncfusion.JavaScript.DataVisualization.SeriesType.Column;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1272, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1278, 45, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f0549b3b43c416ab5c5cbc11c130885", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ModelSize>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ModelSize);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Width = (string)__tagHelperAttribute_6.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Height = (string)__tagHelperAttribute_7.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1323, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1329, 93, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-x-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c5ff92d035814dd2beae67108d7049d4", async() => {
                        BeginContext(1347, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1357, 40, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "908990165a2e4982bd3ccf3d4987e2c9", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1397, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1422, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1428, 86, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-y-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dbfbb921400f498cb99d194e7329d2b0", async() => {
                        BeginContext(1446, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1456, 33, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "21d95b6791a045eb9d2329fe0cffdd2f", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_9.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1489, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1514, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1520, 35, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-legend", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4cb5e03cb52f46ae87aadbd1ca8fa6ab", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Legend>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Legend);
#line 33 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount = 2;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("row-count", __Syncfusion_JavaScript_DataVisualization_Models_Legend.RowCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1555, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotChartProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotChartProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotChartProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotChart\Olap.cshtml"
                __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotChartProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotChartProperties.Load = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1574, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1601, 284, true);
                WriteLiteral(@"
    <style>
        #PivotChart1 {
            min-height: 275px;
            min-width: 525px;
            height: 460px;
            width: 100%;
            float: left;
        }
        .cols-sample-area {
            width: 100% !important;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(80, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("SampleHeading", async() => {
                BeginContext(105, 77, true);
                WriteLiteral("<span class=\"sampleName\">Chart / User Interaction/ Zooming and Panning</span>");
                EndContext();
            }
                          );
            BeginContext(185, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(212, 21, true);
                WriteLiteral("\r\n    <div>\r\n        ");
                EndContext();
                BeginContext(233, 805, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-chart", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "63bd4ba7f8024aa39507e086a8159c6b", async() => {
                    BeginContext(296, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(310, 42, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f6f8597b7e6242b5ae072417c8773b8d", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_ChartTitle = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ChartTitle>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ChartTitle);
                    __Syncfusion_JavaScript_DataVisualization_Models_ChartTitle.Text = (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();
                    EndContext();
                    BeginContext(352, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(366, 30, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bc332a0e3e9d46ab85e0aa5cc3e499f0", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ModelSize>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ModelSize);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Height = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(396, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(410, 37, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-legend", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "882a9def7a1340d7a1f9e96a3a6eea6b", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Legend>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Legend);
#line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend.Visible = false;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_DataVisualization_Models_Legend.Visible, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(447, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(461, 75, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-common-series-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "310683d0e35a42e287275592f4166e46", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.CommonSeriesOptions>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(536, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(550, 64, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-zooming", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b1cb198b68b34802b5b4695c621f8391", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Zooming = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Zooming>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Zooming);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Zooming.Enable = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_DataVisualization_Models_Zooming.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Zooming.EnableMouseWheel = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable-mouse-wheel", __Syncfusion_JavaScript_DataVisualization_Models_Zooming.EnableMouseWheel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(614, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(628, 100, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-x-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "715db6e5b1a4442f9aba177dc5ad5c20", async() => {
                        BeginContext(646, 18, true);
                        WriteLiteral("\r\n                ");
                        EndContext();
                        BeginContext(664, 31, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1bf065ef2e294a5a9c368f885d42cec8", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(695, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(728, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(742, 154, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-chart-series", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "06ed4bd0668f4a229a73d3d493a427f7", async() => {
                        BeginContext(758, 18, true);
                        WriteLiteral("\r\n                ");
                        EndContext();
                        BeginContext(776, 89, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-series", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "27a9a0c89f234595b9b38146955eaa54", async() => {
                            BeginContext(834, 20, true);
                            WriteLiteral("\r\n\r\n                ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Series = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Series>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Series);
#line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                        __Syncfusion_JavaScript_DataVisualization_Models_Series.Type = SeriesType.Line;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Series.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_DataVisualization_Models_Series.Name = (string)__tagHelperAttribute_3.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
#line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                        __Syncfusion_JavaScript_DataVisualization_Models_Series.Width = 2;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_DataVisualization_Models_Series.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(865, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ChartCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.ChartCollectionTag>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ChartCollectionTag);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(896, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(910, 107, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-y-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9dd21063736d477e84912ba31f9d81b9", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_YAxis = CreateTagHelper <global::Syncfusion.JavaScript.YAxis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_YAxis);
                    __Syncfusion_JavaScript_YAxis.LabelFormat = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                    __Syncfusion_JavaScript_YAxis.RangePadding = ChartRangePadding.Additional;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("range-padding", __Syncfusion_JavaScript_YAxis.RangePadding, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1017, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ChartProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ChartProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.CanResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("can-resize", __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.CanResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.Load = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1038, 10, true);
                WriteLiteral("\r\n</div>\r\n");
                EndContext();
            }
                          );
            BeginContext(1051, 826, true);
            WriteLiteral(@"<script type=""text/javascript"">
    function onchartload(sender) {
        loadTheme(sender);
        var data = GetData();
        sender.model.series[0].dataSource = data.Open;
        sender.model.series[0].xName = ""XValue"";
        sender.model.series[0].yName = ""YValue"";
    }
    function GetData() {
        var series1 = [];
        var value = 100;
        for (var i = 1; i < 250; i++) {
            if (Math.random() > .5) {
                value += Math.random();
            } else {
                value -= Math.random();
            }
            var point = { XValue: new Date(1970, i + 2, i), YValue: value };
            series1.push(point);
        }
        var data = { Open: series1 };
        return data;
    }
    $(""#controlarea"").css(""visibility"", ""visible"");
</script>

");
            EndContext();
        }
コード例 #8
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(80, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("SampleHeading", async() => {
                BeginContext(105, 77, true);
                WriteLiteral("<span class=\"sampleName\">Chart / User Interaction/ Zooming and Panning</span>");
                EndContext();
            }
                          );
            BeginContext(185, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(212, 21, true);
                WriteLiteral("\r\n    <div>\r\n        ");
                EndContext();
                BeginContext(233, 805, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-chart", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "745d15ec59e94b608417a45f4f53412f", async() => {
                    BeginContext(296, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(310, 42, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8b28d3696d6e49c5a26f2c36d7f18a36", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_ChartTitle = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ChartTitle>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ChartTitle);
                    __Syncfusion_JavaScript_DataVisualization_Models_ChartTitle.Text = (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();
                    EndContext();
                    BeginContext(352, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(366, 30, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "92499e7103c1410cb714ebc6a55ab58b", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ModelSize>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ModelSize);
                    __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Height = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(396, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(410, 37, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-legend", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "94bd8fa8ce4048b0bb6e912dcefc9aed", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Legend>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Legend);
#line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Legend.Visible = false;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_DataVisualization_Models_Legend.Visible, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(447, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(461, 75, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-common-series-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5e86c7e322a843338c90eeef0cb85965", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.CommonSeriesOptions>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(536, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(550, 64, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-zooming", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6f94e2a41114440a84dfed5d319d0414", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Zooming = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Zooming>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Zooming);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Zooming.Enable = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_DataVisualization_Models_Zooming.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                    __Syncfusion_JavaScript_DataVisualization_Models_Zooming.EnableMouseWheel = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable-mouse-wheel", __Syncfusion_JavaScript_DataVisualization_Models_Zooming.EnableMouseWheel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(614, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(628, 100, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-x-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d058428ee73a46a18e29fdf351fe5016", async() => {
                        BeginContext(646, 18, true);
                        WriteLiteral("\r\n                ");
                        EndContext();
                        BeginContext(664, 31, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "507052df16f846299b957502f2a4f2dd", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title);
                        __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(695, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(728, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(742, 154, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-chart-series", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ad85d4a7a87d41588cfb8b16844d9d02", async() => {
                        BeginContext(758, 18, true);
                        WriteLiteral("\r\n                ");
                        EndContext();
                        BeginContext(776, 89, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-series", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9b17aacda79e441980b1c1a645d49f2d", async() => {
                            BeginContext(834, 20, true);
                            WriteLiteral("\r\n\r\n                ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_DataVisualization_Models_Series = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Series>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Series);
#line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                        __Syncfusion_JavaScript_DataVisualization_Models_Series.Type = SeriesType.Line;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Series.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_DataVisualization_Models_Series.Name = (string)__tagHelperAttribute_3.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
#line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                        __Syncfusion_JavaScript_DataVisualization_Models_Series.Width = 2;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_DataVisualization_Models_Series.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(865, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ChartCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.ChartCollectionTag>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ChartCollectionTag);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(896, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(910, 107, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-y-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0de3ea2f27ef46d2841d01f69fad2602", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_YAxis = CreateTagHelper <global::Syncfusion.JavaScript.YAxis>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_YAxis);
                    __Syncfusion_JavaScript_YAxis.LabelFormat = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                    __Syncfusion_JavaScript_YAxis.RangePadding = ChartRangePadding.Additional;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("range-padding", __Syncfusion_JavaScript_YAxis.RangePadding, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1017, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ChartProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ChartProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml"
                __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.CanResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("can-resize", __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.CanResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.Load = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1038, 10, true);
                WriteLiteral("\r\n</div>\r\n");
                EndContext();
            }
                          );
            BeginContext(1051, 826, true);
            WriteLiteral(@"<script type=""text/javascript"">
    function onchartload(sender) {
        loadTheme(sender);
        var data = GetData();
        sender.model.series[0].dataSource = data.Open;
        sender.model.series[0].xName = ""XValue"";
        sender.model.series[0].yName = ""YValue"";
    }
    function GetData() {
        var series1 = [];
        var value = 100;
        for (var i = 1; i < 250; i++) {
            if (Math.random() > .5) {
                value += Math.random();
            } else {
                value -= Math.random();
            }
            var point = { XValue: new Date(1970, i + 2, i), YValue: value };
            series1.push(point);
        }
        var data = { Open: series1 };
        return data;
    }
    $(""#controlarea"").css(""visibility"", ""visible"");
</script>

");
            EndContext();
        }