#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 52, true); WriteLiteral("<span class=\"sampleName\">PivotGrid / Default</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(127, 186, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control shows how to bind pivot data which is in JSON format at script-side\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(341, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(343, 625, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "71de45c576d6448a97c966dcb78ce93c", async() => { BeginContext(472, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(478, 472, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a5f9afe26114cfe8ee2f20d72564fad", async() => { BeginContext(493, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(503, 125, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2c836a539d6e450096abec75ee331376", async() => { BeginContext(517, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(531, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "76cb0cb770a847b2bfd5662a7a7c9feb", 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(603, 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(628, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(638, 131, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "188863eb46da42b8ba7daec25fc59439", async() => { BeginContext(655, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(669, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9bf01a88d0b84e08bb3b900eb0a842fe", 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(741, 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(769, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(779, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d639f572d0404da6867f5cd51d580507", async() => { BeginContext(795, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(809, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e9da1c976df548d28d4bf25333545fc6", 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); __Syncfusion_JavaScript_Models_Field.Format = (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(901, 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(928, 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(950, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Default.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotGridProperties.Load = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Default.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-grouping-bar", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Default.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.EnableMemberEditorSorting = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-member-editor-sorting", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableMemberEditorSorting, 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(968, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(996, 3675, 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"" } ]; } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(4696, 223, true); WriteLiteral("\r\n <style>\r\n #PivotGrid1 {\r\n width: 100%;\r\n height: 350px;\r\n overflow: auto;\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 61, true); WriteLiteral("<span class=\"sampleName\">PivotGrid / User Interaction</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(136, 202, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control shows how to re-arrange the fields to change pivot report and pivot view at runtime\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(366, 29, true); WriteLiteral("\r\n<div class=\"control\">\r\n "); EndContext(); BeginContext(395, 704, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ffa8bb1b9aa444569900f221387c4206", async() => { BeginContext(537, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(547, 530, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1ade83f83834ecb93cbf06e21fea3fe", async() => { BeginContext(562, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(576, 151, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f46662137f9d4b0d92cb2892f118d285", async() => { BeginContext(590, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(608, 90, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "63cbf5d99adf424aa9e56e2116614f30", async() => { BeginContext(666, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __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(698, 14, 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(727, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(741, 139, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cc939e8a49814f2fb0fd39a285686cbd", async() => { BeginContext(758, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(776, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ec3cc33815ef49a69d7ab1d5a446164a", 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(848, 14, 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(880, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(894, 157, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d8ad4b312dc04ed2a72a96d7bc0f2af4", async() => { BeginContext(910, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(928, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db49e1cb7f8142f389fb248c2234a271", 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); __Syncfusion_JavaScript_Models_Field.Format = (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(1020, 14, 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(1051, 10, 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(1077, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-grouping-bar", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotGridProperties.Load = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_PivotGridProperties.PivotTableFieldListID = (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(1099, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1105, 79, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-schema-designer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8b26467700642dfa00f673d15474483", async() => { } ); __Syncfusion_JavaScript_PivotSchemaDesignerProperties = CreateTagHelper <global::Syncfusion.JavaScript.PivotSchemaDesignerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotSchemaDesignerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1184, 10, true); WriteLiteral("\r\n</div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1220, 6144, true); WriteLiteral(@" <script type=""text/javascript""> var pivot_dataset = [ { 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: 200, Country: ""France"", Date: ""FY 2005"", Prod"); WriteLiteral(@"uct: ""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: ""Germany"", Date: ""FY 2008"", Product: ""Bike"", Q"); WriteLiteral(@"uantity: 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: 150, Country: ""United States"", Date: ""FY 2008"); WriteLiteral(@""", 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"" } ]; function onload(args) { args.model.dataSource.data = pivot_dataset; } var pivotGrid, relationalRadioBtn, olapRadioBtn; $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function renderGrid(args) { pivotGrid = $(""#PivotGrid1"").data(""ejPivotGrid""); relationalRadioBtn = $('#rdbRelational').data(""ejRadioButton""); olapRadioBtn = $('#rdbOlap'"); WriteLiteral(@").data(""ejRadioButton""); var pivotdataSource = { data: pivot_dataset, cube: """", rows: [{ fieldName: ""Country"", fieldCaption: ""Country"" }, { fieldName: ""State"", fieldCaption: ""State"" }], columns: [{ fieldName: ""Product"", fieldCaption: ""Product"" }], values: [{ fieldName: ""Amount"", fieldCaption: ""Amount"", format: ""currency"" }, { fieldName: ""Quantity"", fieldCaption: ""Quantity"" }], filters: [] }; var olapDataSource = { data: ""//bi.syncfusion.com/olap/msmdpump.dll"", catalog: ""Adventure Works DW 2008 SE"", cube: ""Adventure Works"", rows: [{ fieldName: ""[Date].[Fiscal]"" }], columns: [{ fieldName: ""[Customer].[Customer Geography]"" }], values: [{ measures: [{ fieldName: ""[Measures].[Internet Sales Amount]"" }], axis: ""columns"" }], filters: [] }; "); WriteLiteral(@" $("".e-pivotgrid"").remove(); $("".e-pivotschemadesigner"").remove(); var gridPanel = ej.buildTag(""div#PivotGrid1"", """")[0].outerHTML; var gridSchemaPanel = ej.buildTag(""div#PivotSchemaDesigner1"", """")[0].outerHTML; $(gridPanel).appendTo("".control""); $(gridSchemaPanel).appendTo("".control""); $(""#PivotGrid1"").ejPivotGrid({ dataSource: relationalRadioBtn.model.checked ? pivotdataSource : olapRadioBtn.model.checked ? olapDataSource : pivotdataSource, pivotTableFieldListID: ""PivotSchemaDesigner1"", isResponsive: true, enableGroupingBar: true, }); if (olapRadioBtn.model.checked) $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner({ olap: { showKPI: false, showNamedSets: true } }); else $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner(); } </script> </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(7389, 971, true); WriteLiteral(@" <style> .e-pivotgrid { width: 55%; height: 630px; display: inline-block; float: left; overflow: auto; } .e-pivotschemadesigner { width: 40% !important; display: inline-block; margin-left: 10px; } .cols-prop-area { margin-top: 30px; width: 35%; height: 120px; min-height: 50px; float: left; } .radioBtnLabel { margin-left: 5px; } .cols-prop-area { width: 416px !important; min-height: 93px !important; } .col-md-3 { height: 30px !important; } .cols-sample-area { width: 100% !important; } </style> "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(8390, 264, true); WriteLiteral(@" <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row""> <div class=""col-md-3"" style=""width:120px""> Data Source </div> <div class=""col-md-3"" style=""width:120px""> "); EndContext(); BeginContext(8654, 173, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6f0a1bb385b540199051067ebfaaed24", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); #line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (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(8827, 94, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\" style=\"width:120px\">\r\n "); EndContext(); BeginContext(8921, 156, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ad28c43f29e84e1b8d0a0ceaa06ad2bf", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); #line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (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(9077, 58, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 61, true); WriteLiteral("<span class=\"sampleName\">PivotTreeMap / Color Mapping</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(136, 186, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot tree map describes how to differentiate the leaf nodes using various color codes\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(350, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(356, 851, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-treemap", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "609d0979edf3439bb57487df830bd9fb", async() => { BeginContext(423, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(433, 749, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a7416a0ee2514d2d9bf05f82b8774255", async() => { BeginContext(553, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(567, 117, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a898bfa5e1e64d52b1cd83832c3c822f", async() => { BeginContext(581, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(599, 56, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3c5af194cb23494088a33722de406a54", 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(655, 14, 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(684, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(698, 145, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7992fd933f2a47b987fda12f2ea8b66a", async() => { BeginContext(715, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(733, 78, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9af12742a6fc4ca9b42899b2f2a95236", 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(811, 14, 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(843, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(857, 299, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b030a7589f2a47cb9cc1fff4512488ac", async() => { BeginContext(873, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(891, 234, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7d513205b9d84728b37f83f4c4bab81b", async() => { BeginContext(920, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(942, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6f88b3bb080f45df9acecd94ed6f8a36", async() => { BeginContext(954, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(980, 76, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "38c06c75965b4103bdc70cdac823a079", 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(1056, 22, 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(1091, 18, 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\PivotTreeMap\ColorMapping.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(1125, 14, 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(1156, 10, 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(1182, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotTreeMapProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotTreeMapProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotTreeMapProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_PivotTreeMapProperties.RenderSuccess = (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(1207, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1235, 2644, true); WriteLiteral(@" <script> var ddlTarget, treemapTarget; $(function () { ddlTarget = $('#mapping').data(""ejDropDownList""); ddlTarget.selectItemByText(ddlTarget.items[0].innerHTML); $(""#mapping"").ejDropDownList(""option"", ""change"", ""onTypeChange""); renderTreeMap = $('#PivotTreeMap1').data(""ejPivotTreeMap""); }); function onTypeChange(args) { treemapTarget = $('#PivotTreeMap1TreeMapContainer').data(""ejTreeMap""); treemapTarget.model.colorValuePath = """"; treemapTarget.model.enableGradient = false; treemapTarget.model.showLegend = false; treemapTarget.model.legendSettings.leftLabel = """"; treemapTarget.model.legendSettings.rightLabel = """"; treemapTarget.model.rangeColorMapping = []; if ((!ej.isNullOrUndefined(ddlTarget)) && ddlTarget._currentText.toLocaleLowerCase() == ""range"") { treemapTarget.model.colorValuePath = ""Value""; treemapTarget.model.rangeColorMapping.push( "); WriteLiteral(@"{ color: ""#a2e2fe"", from: ""0"", to: ""10"" }, { color: ""#9de24f"", from: ""11"", to: ""250"" }, { color: ""#ffff66"", from: ""251"", to: ""1000"" }, { color: ""#C4C24A"", from: ""1001"", to: ""3000"" }, { color: ""#f6b53f"", from: ""3001"", to: ""5000"" }, { color: ""#6FAAB0"", from: ""5001"", to: ""10000"" }, { color: ""#FF0040"", from: ""10001"", to: ""20000"" } ) } else { treemapTarget.model.colorValuePath = ""Index""; treemapTarget.model.rangeColorMapping.push( { color: ""#9de24f"", from: ""0"", to: ""0"" }, { color: ""#a2e2fe"", from: ""1"", to: ""1"" }, { color: ""#ffff66"", from: ""2"", to: ""2"" }, { color: ""#FF0040"", from: ""3"", to: ""3"" }, { color: ""#f6b53f"", from: ""4"", to: ""4"" }, { color: ""#6FAAB0"", from: ""5"", to: ""5"" }, { color: ""#C4C24A"", from: ""6"", to: ""6"" } ) } treemapTarget.refresh(); } </s"); WriteLiteral(@"cript> <!--Tooltip labels can be localized here--> <script id=""tooltipTemplate"" type=""application/jsrender""> <div style=""background:White; color:black; font-size:12px; font-weight:normal; border: 1px solid #4D4D4D; white-space: nowrap;border-radius: 2px; margin-right: 25px; min-width: 110px;padding-right: 5px; padding-left: 5px; padding-bottom: 2px ;width: auto; height: auto;""> <div>Measure(s) : {{:~Measures(#data)}}</div><div>Row : {{:~Row(#data)}}</div><div>Column : {{:~Column(#data)}}</div><div>Value : {{:~Value(#data)}}</div> </div> </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3904, 278, true); WriteLiteral(@" <style> #PivotTreeMap1 { width: 100%; height: 450px; min-height: 275px; min-width: 525px; } .row .cols-prop-area {min-height:130px!important} .mapping {margin-top:15px} </style> "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(4212, 414, true); WriteLiteral(@" <ul id=""mapping1""> <li>Normal</li> <li>Range</li> </ul> <div id=""sampleProperties""> <div class=""prop-grid content"" style=""padding-top:8px""> <div class=""mapping""> <div class=""row"" style=""float:left;padding:4px;line-height: 25px;""> Color Mapping </div> <div class=""row""> <div class=""col-md-3""> "); EndContext(); BeginContext(4626, 133, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3c5cb3f738d24fcd9bbb99f5379ae06d", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); #line 101 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotTreeMap\ColorMapping.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_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(4759, 82, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n"); EndContext(); } ); }
#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(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 51, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Olap</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(126, 198, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to bind the pivot data, which is in JSON format at script-side.\">\r\n"); EndContext(); } ); BeginContext(327, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(354, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(356, 981, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "efab018cd37e46a58dd7e145418f30fa", async() => { BeginContext(559, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(565, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cb7ea6bc3e084e9cb3f7d5eb0dd2064c", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (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(596, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(602, 715, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "60ebc73e47ab44ffb901f1b60ca8d665", async() => { BeginContext(722, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(732, 125, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a96c4342cd5421b9e60e09576cfe95e", async() => { BeginContext(746, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(760, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "475ba598124b4ba4a6592903f23d470c", 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(832, 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(857, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(867, 136, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8ec33dcacd69420d97211eaea4eee787", async() => { BeginContext(884, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(898, 77, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "13b0e0617a0647a19b6de5be6013bf46", 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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(975, 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(1003, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1013, 282, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "25edeb6d83c24593a58702e7d71fb359", async() => { BeginContext(1029, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1043, 225, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ee80e52bccf84b4b8c218c5a986b2591", async() => { BeginContext(1072, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1090, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "82a4b6d4c4614af6b6d34d9fe30fa301", async() => { BeginContext(1102, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1124, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5e07e4e55ab74f41ad2989614309b534", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1207, 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(1238, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\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(1268, 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(1295, 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_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (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(1317, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (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(1337, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1365, 1678, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3068, 205, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px; \r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 54, true); WriteLiteral("<span class=\"sampleName\">PivotGrid / Exporting</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(129, 165, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control demos on export to Excel, CSV and PDF formats.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(322, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(324, 639, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e33a5148da8147ac97504f1b33c210ff", async() => { BeginContext(421, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(427, 518, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2812d7c64974409e95294e19e3ea2717", async() => { BeginContext(442, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(452, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4accfbc4f9b6424da1adeaebef81b6e4", async() => { BeginContext(466, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(480, 95, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3e0c65ab07846f3b7a401a3d9d57f66", 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); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_Field.ShowSubTotal = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-sub-total", __Syncfusion_JavaScript_Models_Field.ShowSubTotal, 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(575, 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(600, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(610, 154, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0c10c19e964b4ba6942836e0296f1029", async() => { BeginContext(627, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(641, 95, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "da30494926274b9c9fa153ea34bf20b8", 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); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_Field.ShowSubTotal = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-sub-total", __Syncfusion_JavaScript_Models_Field.ShowSubTotal, 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(736, 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(764, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(774, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6bf10da8d51c4e56af7e541a3dd49d5d", async() => { BeginContext(790, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(804, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "290e18612f664f57b9f21f1e367edc98", 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); __Syncfusion_JavaScript_Models_Field.Format = (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(896, 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(923, 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(945, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotGridProperties.Load = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.EnableRowGrandTotal = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-row-grand-total", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableRowGrandTotal, 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(963, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(991, 4400, 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"" } ]; } function exportPivotGrid(args) { var dropDownObj = $('#GridExporting').data(""ejDropDownList""); var pGridObj = $('#PivotGrid1').data(""ejPivotGrid""); var exportOption = dropDownObj.model.value; if (exportOption == ""Excel"") pGridObj.exportPivotGrid(""ExcelExport"", ""Sample""); else if (exportOption == ""Word"") "); WriteLiteral(@" pGridObj.exportPivotGrid(""WordExport"", ""Sample""); else if (exportOption == ""PDF"") pGridObj.exportPivotGrid(""PDFExport"", ""Sample""); } $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(5416, 478, true); WriteLiteral(@" <style> #PivotGrid1 { width: 100%; height: 350px; overflow: auto; } #ExportBtn { margin-left: 80px; } .cols-prop-area { width: 300px !important; min-height: 93px !important; } .col-md-3 { height: 45px !important; } .cols-sample-area { width: 100% !important; } </style> "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(5924, 421, true); WriteLiteral(@" <ul id=""Exporting""> <li>Excel</li> <li>PDF</li> <li>Word</li> </ul> <br /> <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row"" style=""float:left;margin-left:30px !important; padding-top: 8px;""> Export Option : </div> <div class=""row"" style=""margin-right:20px;""> <div class=""col-md-3""> "); EndContext(); BeginContext(6345, 118, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f8879e9702d34d9ba662683445c75ecd", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); #line 104 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6463, 69, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n <div>\r\n "); EndContext(); BeginContext(6532, 108, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "16bef36b2a024eabbf84225cc95ec4e5", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ButtonProperties.Height = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); #line 109 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Type = global::Syncfusion.JavaScript.ButtonType.Button; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_Models_ButtonProperties.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(6640, 22, true); WriteLiteral("\r\n </div>\r\n</div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 55, true); WriteLiteral("<span class=\"sampleName\">PivotTreeMap / Default</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(130, 182, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot tree map control describes how to bind the OLAP cube data from SSAS (XML/A).\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(340, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(346, 821, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-treemap", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dc8f50ace93e4736b3875d32e2a26974", async() => { BeginContext(383, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(393, 749, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0cbb3f021774385aa61249416f47c03", async() => { BeginContext(513, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(527, 133, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "045d08b75b3948ad8e3785a8ba538469", async() => { BeginContext(541, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(559, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2fd18c99cfd349c38c08187a15df5b90", 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(631, 14, 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(660, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(674, 129, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cda5bfb56bb24edeb3138f875f552329", async() => { BeginContext(691, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(709, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "94d64ae276724edfa4f6fe0be849e828", 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(771, 14, 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(803, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(817, 299, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d57673942b444d98be100a89ac6ccd0a", async() => { BeginContext(833, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(851, 234, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "56712d527a6140fe80fbd6460cffe4ce", async() => { BeginContext(880, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(902, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2bb3741ce2f44c3fa775ba6043c6cb8d", async() => { BeginContext(914, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(940, 76, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d59ff4a985b64762951a43a868c13716", 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(1016, 22, 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(1051, 18, 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\PivotTreeMap\Default.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(1085, 14, 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(1116, 10, 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(1142, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotTreeMapProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotTreeMapProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotTreeMapProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1167, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1195, 582, true); WriteLiteral(@" <!--Tooltip labels can be localized here--> <script id=""tooltipTemplate"" type=""application/jsrender""> <div style=""background:White; color:black; font-size:12px; font-weight:normal; border: 1px solid #4D4D4D; white-space: nowrap;border-radius: 2px; margin-right: 25px; min-width: 110px;padding-right: 5px; padding-left: 5px; padding-bottom: 2px ;width: auto; height: auto;""> <div>Measure(s) : {{:~Measures(#data)}}</div><div>Row : {{:~Row(#data)}}</div><div>Column : {{:~Column(#data)}}</div><div>Value : {{:~Value(#data)}}</div> </div> </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(1802, 184, true); WriteLiteral("\r\n <style>\r\n #PivotTreeMap1 {\r\n width: 100%;\r\n height: 450px;\r\n min-height: 275px; \r\n min-width: 525px;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 53, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Paging</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(128, 192, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to load large records with paging to improve performance.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(348, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(350, 1130, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "63c608587b86453e9cfc9e81fca24648", async() => { BeginContext(574, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(580, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "797bfb84c1b942caafa650ce520e57c3", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (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(611, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(617, 843, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7f541c467f384050a02eb620b924c2f2", async() => { BeginContext(737, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(747, 107, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3dd5f17222cd44d099156151b0df4c13", async() => { BeginContext(761, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(775, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "aa439e1a08e546a5826a48d7eff2fc96", 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(829, 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(854, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(864, 137, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4f86cb009ba64dd49228c7e155b6be00", async() => { BeginContext(881, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(895, 78, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d11bef1e026b4f4cbc71bc0dbb650ec9", 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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(973, 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(1001, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1011, 282, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1ec9e302ae8a495ba7569f87c56a957f", async() => { BeginContext(1027, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1041, 225, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db6c36406d684165828b7e94a11d48d9", async() => { BeginContext(1070, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1088, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "994a2fcbb2ff48baaf7d8103628b9f0c", async() => { BeginContext(1100, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1122, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d11d52ce5e894f908238a10df592268c", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1205, 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(1236, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.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(1266, 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(1293, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1303, 135, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pager-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "19fbb66abaf247d1bb6f90b389dbf1dd", async() => { } ); __Syncfusion_JavaScript_Models_PagerOptions = CreateTagHelper <global::Syncfusion.JavaScript.Models.PagerOptions>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PagerOptions); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorical-page-size", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorical-current-page", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("series-page-size", __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("series-current-page", __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage, 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(1438, 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_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (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(1460, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-paging", __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (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(1480, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1508, 2273, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } function renderClient(args) { pivotClient = $(""#PivotClient1"").data(""ejPivotClient""); paging = $('#Paging').data(""ejRadioButton""); pivotClient.model.enablePaging = false; pivotClient.model.enableVirtualScrolling = false; if (paging.model.checked) pivotClient.model.enablePaging = true; "); WriteLiteral(" else\r\n pivotClient.model.enableVirtualScrolling = true;\r\n pivotClient._load();\r\n }\r\n\t\t$(function () {\r\n $(\"#sampleProperties\").ejPropertiesPanel();\r\n });\r\n </script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3806, 646, true); WriteLiteral(@" <style> #PivotClient1 { min-height: 275px; min-width: 525px } .cols-prop-area { margin-top: 30px; width: 35%; height: 120px; min-height: 50px; float: left; } .radioBtnLabel { margin-left: 5px; } .cols-prop-area { width: 416px !important; min-height: 93px !important; } .col-md-3 { height: 30px !important; } .cols-sample-area { width: 100% !important; } </style> "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(4482, 296, true); WriteLiteral(@" <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row""> <div class=""col-md-3"" style=""width:120px""> Paging Type </div> <div class=""col-md-3"" style=""width:120px""> "); EndContext(); BeginContext(4778, 160, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c7337a396674444d9a898dd551bb17bb", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4938, 106, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\" style=\"width:120px\">\r\n "); EndContext(); BeginContext(5044, 186, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "29fe9f574b1748ff91618f95ee990e0b", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_21.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5230, 74, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 54, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Default</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(129, 198, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to bind the pivot data, which is in JSON format at script-side.\">\r\n"); EndContext(); } ); BeginContext(330, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(357, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(365, 846, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ca3b1cb9959f43e4ba29219bc7dc700f", async() => { BeginContext(624, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(634, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8c435ca2d1734fbd8af668265977cf7b", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (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(665, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(675, 512, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a787eeebfd304f8f9db136a5b19442c5", async() => { BeginContext(690, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(704, 133, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "390c9b0fbc3f4a1b919700d8dee72d6b", async() => { BeginContext(718, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(736, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "62877faa2d5344bf84d43993f9c00a27", 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); __Syncfusion_JavaScript_Models_Field.FieldCaption = (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(808, 14, 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(837, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(851, 139, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70047477d44c4491afbcb807c2020566", async() => { BeginContext(868, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(886, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a4f2d19493843c4ab872f7e71283956", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(958, 14, 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(990, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1004, 157, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "14681e1c854e4eb8bcf50002c4d99d5a", async() => { BeginContext(1020, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1038, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ce42ee94f0943229671c747f3f37a5d", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_Field.Format = (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(1130, 14, 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(1161, 10, 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(1187, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Default.cshtml" __Syncfusion_JavaScript_Models_PivotClientProperties.EnableMemberEditorSorting = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-member-editor-sorting", __Syncfusion_JavaScript_Models_PivotClientProperties.EnableMemberEditorSorting, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.Load = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (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(1211, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1239, 5275, 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"" } ]; } function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Country"" }, labelRotation: 270 }; this._pivot"); WriteLiteral(@"Chart.model.primaryYAxis = { title: { text: ""Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.model.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else "); WriteLiteral(" args.saveReportSetting.url = \"//js.syncfusion.com/ejservices/api/PivotClient/Olap\";\r\n return args;\r\n }\r\n\r\n </script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(6539, 204, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px;\r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 55, true); WriteLiteral("<span class=\"sampleName\">PivotTreeMap / Default</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(130, 182, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot tree map control describes how to bind the OLAP cube data from SSAS (XML/A).\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(340, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(346, 821, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-treemap", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "338f92125129424d9b66c8695f1f4da3", async() => { BeginContext(383, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(393, 749, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3fa6e722727e40ddbdb1e644799f8136", async() => { BeginContext(513, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(527, 133, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cb251528e31844dc84325c1ac41ddd5f", async() => { BeginContext(541, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(559, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "68ad77d2078c488e907b1a0fc3a37fd7", 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(631, 14, 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(660, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(674, 129, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cc904fefc9194187b94a6023c890da83", async() => { BeginContext(691, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(709, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "46baa3f1302a4f8db076a3d19978b336", 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(771, 14, 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(803, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(817, 299, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "93dec7ecc9c740eb89e2fd7a809663ee", async() => { BeginContext(833, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(851, 234, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "91590f0034734a0eba020e95203d1d79", async() => { BeginContext(880, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(902, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "05b412bcc1f742859c6238611a6fa954", async() => { BeginContext(914, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(940, 76, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a4806d028694ed78614b53da7632aa1", 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(1016, 22, 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(1051, 18, 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\PivotTreeMap\Default.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(1085, 14, 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(1116, 10, 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(1142, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotTreeMapProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotTreeMapProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotTreeMapProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1167, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1195, 582, true); WriteLiteral(@" <!--Tooltip labels can be localized here--> <script id=""tooltipTemplate"" type=""application/jsrender""> <div style=""background:White; color:black; font-size:12px; font-weight:normal; border: 1px solid #4D4D4D; white-space: nowrap;border-radius: 2px; margin-right: 25px; min-width: 110px;padding-right: 5px; padding-left: 5px; padding-bottom: 2px ;width: auto; height: auto;""> <div>Measure(s) : {{:~Measures(#data)}}</div><div>Row : {{:~Row(#data)}}</div><div>Column : {{:~Column(#data)}}</div><div>Value : {{:~Value(#data)}}</div> </div> </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(1802, 184, true); WriteLiteral("\r\n <style>\r\n #PivotTreeMap1 {\r\n width: 100%;\r\n height: 450px;\r\n min-height: 275px; \r\n min-width: 525px;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 53, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Paging</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(128, 192, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to load large records with paging to improve performance.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(348, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(350, 1130, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "feac822fd49746ecaaa69db938b456eb", async() => { BeginContext(574, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(580, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f734d0e533e2462d8ac4e1bb03a1214b", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (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(611, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(617, 843, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a05a4542b3f4ceca2226279988b6757", async() => { BeginContext(737, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(747, 107, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e48dee9b4ea947429a0b10e0546873d6", async() => { BeginContext(761, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(775, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2cfb4273f1e54caf8047dd40a57cff22", 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(829, 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(854, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(864, 137, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3ccfb31e87a4b948369012b7a808590", async() => { BeginContext(881, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(895, 78, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7b2bf435198742adb85c3a35e1fe5147", 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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(973, 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(1001, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1011, 282, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e6912cfcf9594130981c106a87b2afd3", async() => { BeginContext(1027, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1041, 225, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f86abbe728f24c089eb8279158ab6852", async() => { BeginContext(1070, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1088, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a18573e279c244589d326c01c63a4f0e", async() => { BeginContext(1100, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1122, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d89349ab4e3747f6a790feb6eb387b7d", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1205, 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(1236, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.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(1266, 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(1293, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1303, 135, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pager-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d30a58e15ea94354bbe49a793d989b26", async() => { } ); __Syncfusion_JavaScript_Models_PagerOptions = CreateTagHelper <global::Syncfusion.JavaScript.Models.PagerOptions>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PagerOptions); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorical-page-size", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorical-current-page", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("series-page-size", __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("series-current-page", __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage, 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(1438, 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_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (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(1460, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-paging", __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (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(1480, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1508, 2273, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } function renderClient(args) { pivotClient = $(""#PivotClient1"").data(""ejPivotClient""); paging = $('#Paging').data(""ejRadioButton""); pivotClient.model.enablePaging = false; pivotClient.model.enableVirtualScrolling = false; if (paging.model.checked) pivotClient.model.enablePaging = true; "); WriteLiteral(" else\r\n pivotClient.model.enableVirtualScrolling = true;\r\n pivotClient._load();\r\n }\r\n\t\t$(function () {\r\n $(\"#sampleProperties\").ejPropertiesPanel();\r\n });\r\n </script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3806, 646, true); WriteLiteral(@" <style> #PivotClient1 { min-height: 275px; min-width: 525px } .cols-prop-area { margin-top: 30px; width: 35%; height: 120px; min-height: 50px; float: left; } .radioBtnLabel { margin-left: 5px; } .cols-prop-area { width: 416px !important; min-height: 93px !important; } .col-md-3 { height: 30px !important; } .cols-sample-area { width: 100% !important; } </style> "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(4482, 296, true); WriteLiteral(@" <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row""> <div class=""col-md-3"" style=""width:120px""> Paging Type </div> <div class=""col-md-3"" style=""width:120px""> "); EndContext(); BeginContext(4778, 160, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "35341707e298492694cba8b27cb48fc9", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4938, 106, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\" style=\"width:120px\">\r\n "); EndContext(); BeginContext(5044, 186, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6a018bc8eb544b8ca31c8156ef26f639", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_21.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5230, 74, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 54, true); WriteLiteral("<span class=\"sampleName\">PivotGrid / Exporting</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(129, 165, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control demos on export to Excel, CSV and PDF formats.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(322, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(324, 639, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70553542346146abb4526d86130e2760", async() => { BeginContext(421, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(427, 518, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f0eb003ea7a74a0b856f4dbc0f7a9128", async() => { BeginContext(442, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(452, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae0d72c6656141a0834c6a7039fb3c1d", async() => { BeginContext(466, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(480, 95, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "88a36d9da2d240b7b840c6711a9ecc02", 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); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_Field.ShowSubTotal = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-sub-total", __Syncfusion_JavaScript_Models_Field.ShowSubTotal, 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(575, 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(600, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(610, 154, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "191be77592b54c9e85e17fe8b72a3bd4", async() => { BeginContext(627, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(641, 95, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2e8d0b705a2a40a9b7a40dbebb6527f0", 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); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_Field.ShowSubTotal = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-sub-total", __Syncfusion_JavaScript_Models_Field.ShowSubTotal, 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(736, 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(764, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(774, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4bfeba4707354f3086e06a5e4649b4a9", async() => { BeginContext(790, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(804, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ade39ac03ebf45de8d3d32dfcf26e8f6", 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); __Syncfusion_JavaScript_Models_Field.Format = (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(896, 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(923, 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(945, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotGridProperties.Load = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.EnableRowGrandTotal = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-row-grand-total", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableRowGrandTotal, 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(963, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(991, 4400, 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"" } ]; } function exportPivotGrid(args) { var dropDownObj = $('#GridExporting').data(""ejDropDownList""); var pGridObj = $('#PivotGrid1').data(""ejPivotGrid""); var exportOption = dropDownObj.model.value; if (exportOption == ""Excel"") pGridObj.exportPivotGrid(""ExcelExport"", ""Sample""); else if (exportOption == ""Word"") "); WriteLiteral(@" pGridObj.exportPivotGrid(""WordExport"", ""Sample""); else if (exportOption == ""PDF"") pGridObj.exportPivotGrid(""PDFExport"", ""Sample""); } $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(5416, 478, true); WriteLiteral(@" <style> #PivotGrid1 { width: 100%; height: 350px; overflow: auto; } #ExportBtn { margin-left: 80px; } .cols-prop-area { width: 300px !important; min-height: 93px !important; } .col-md-3 { height: 45px !important; } .cols-sample-area { width: 100% !important; } </style> "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(5924, 421, true); WriteLiteral(@" <ul id=""Exporting""> <li>Excel</li> <li>PDF</li> <li>Word</li> </ul> <br /> <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row"" style=""float:left;margin-left:30px !important; padding-top: 8px;""> Export Option : </div> <div class=""row"" style=""margin-right:20px;""> <div class=""col-md-3""> "); EndContext(); BeginContext(6345, 118, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6d11f5964e5a4d28bd2cf135e623276c", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); #line 104 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6463, 69, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n <div>\r\n "); EndContext(); BeginContext(6532, 108, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "5c887f79e97748fb96feb4e88ec2cf92", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ButtonProperties.Height = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); #line 109 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Type = global::Syncfusion.JavaScript.ButtonType.Button; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_Models_ButtonProperties.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(6640, 22, true); WriteLiteral("\r\n </div>\r\n</div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 51, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Olap</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(126, 198, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to bind the pivot data, which is in JSON format at script-side.\">\r\n"); EndContext(); } ); BeginContext(327, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(354, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(356, 981, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "677d1e23800c43fcb75f8c64812abd8b", async() => { BeginContext(559, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(565, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a500e2d54e442a6b5015cb10f5370d0", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (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(596, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(602, 715, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "42874fa5787c4975bb9e9467b1605d48", async() => { BeginContext(722, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(732, 125, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1710b0f81c294fa8933529b04b39c0e3", async() => { BeginContext(746, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(760, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e73c29e29d64440f85acc5629f9b83b4", 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(832, 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(857, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(867, 136, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c53b43ab9fca4dafa43bda63e987c1be", async() => { BeginContext(884, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(898, 77, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f6fb1e3f84194d4a9f664705eae18471", 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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(975, 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(1003, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1013, 282, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9d585fc93da345b49da6fb61a2faf261", async() => { BeginContext(1029, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1043, 225, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79cf27c8c2d44dbe99e9e1f5d62b0e38", async() => { BeginContext(1072, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1090, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f5f5aa227a8048dfb891e6540eca372f", async() => { BeginContext(1102, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1124, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d681d25cc9294e4f9969b02c6300c506", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1207, 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(1238, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\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(1268, 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(1295, 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_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (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(1317, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (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(1337, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1365, 1678, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3068, 205, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px; \r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 52, true); WriteLiteral("<span class=\"sampleName\">PivotGrid / Default</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(127, 186, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control shows how to bind pivot data which is in JSON format at script-side\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(341, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(343, 625, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "80465fb9be4d471c88816362c51f848d", async() => { BeginContext(472, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(478, 472, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4da8562bc9b449e3b4b90de2d2fb3e37", async() => { BeginContext(493, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(503, 125, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "88672a976f7d4dea9a581f41e2741818", async() => { BeginContext(517, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(531, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6e78c87e2b384e758ebbc5146ab1e967", 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(603, 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(628, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(638, 131, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a6ab4b86f2674380a0ada5c89edbc05c", async() => { BeginContext(655, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(669, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7d8ff0e18b044345b06de0ba5999e281", 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(741, 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(769, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(779, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "afd817dbdad74b1485cc9cf0ada47da5", async() => { BeginContext(795, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(809, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "627d2a5c0b1a485f997ce75ee182bdd6", 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); __Syncfusion_JavaScript_Models_Field.Format = (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(901, 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(928, 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(950, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Default.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotGridProperties.Load = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Default.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-grouping-bar", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Default.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.EnableMemberEditorSorting = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-member-editor-sorting", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableMemberEditorSorting, 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(968, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(996, 3675, 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"" } ]; } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(4696, 223, true); WriteLiteral("\r\n <style>\r\n #PivotGrid1 {\r\n width: 100%;\r\n height: 350px;\r\n overflow: auto;\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#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(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 54, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Default</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(129, 198, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to bind the pivot data, which is in JSON format at script-side.\">\r\n"); EndContext(); } ); BeginContext(330, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(357, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(365, 846, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "32e59b9f66e341a3a278c386b82ac33b", async() => { BeginContext(624, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(634, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "74bf0cd58efd499fa5b5601397d6f8e7", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (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(665, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(675, 512, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cecf923832784f3dbd2a44e59c192a43", async() => { BeginContext(690, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(704, 133, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "249a3b6088f14b1689b7d96a99842abb", async() => { BeginContext(718, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(736, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "efe244fab6884498b9fa5fb875d1923e", 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); __Syncfusion_JavaScript_Models_Field.FieldCaption = (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(808, 14, 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(837, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(851, 139, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "26de53b0be474eec830a080522b498cb", async() => { BeginContext(868, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(886, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f95904f07c3f4e9186e3f0be7fab73a0", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(958, 14, 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(990, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1004, 157, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "260e8b04865a4ddb9c90f0e9dbac7c3b", async() => { BeginContext(1020, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1038, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ad65c137db5943d789a01531313f1d4f", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_Field.Format = (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(1130, 14, 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(1161, 10, 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(1187, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Default.cshtml" __Syncfusion_JavaScript_Models_PivotClientProperties.EnableMemberEditorSorting = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-member-editor-sorting", __Syncfusion_JavaScript_Models_PivotClientProperties.EnableMemberEditorSorting, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.Load = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (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(1211, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1239, 5275, 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"" } ]; } function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Country"" }, labelRotation: 270 }; this._pivot"); WriteLiteral(@"Chart.model.primaryYAxis = { title: { text: ""Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.model.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else "); WriteLiteral(" args.saveReportSetting.url = \"//js.syncfusion.com/ejservices/api/PivotClient/Olap\";\r\n return args;\r\n }\r\n\r\n </script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(6539, 204, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px;\r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 49, true); WriteLiteral("<span class=\"sampleName\">PivotGrid / Olap</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(124, 170, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control shows how to bind OLAP Cube data from SSAS (XML/A).\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(322, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(324, 904, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "865c4586ca7645ea854e3b40a4f56dc4", async() => { BeginContext(376, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(382, 828, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4bafb7c3996e40779ec3d150fe03cf31", async() => { BeginContext(502, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(512, 125, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c5857de9235b45a3bf0b98d50d3a57e0", async() => { BeginContext(526, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(540, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5d0aec080ba847999d812b801a531eba", 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(612, 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(637, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(647, 136, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1d15930c26394deba64e98dd9b0d8851", async() => { BeginContext(664, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(678, 77, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1d1e68e6510e4685bd1fa528b450f344", 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(755, 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(783, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(793, 395, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3b443e311f534b21a89e9a2cc60ba67b", async() => { BeginContext(809, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(823, 338, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8ff6b58d55e648c3af14d71f02ca4b80", async() => { BeginContext(852, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(870, 261, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8f8397e674f34cea81875b6dec732d9c", async() => { BeginContext(882, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(904, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "427b58eae75646fa91cb55486e5962a0", 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(987, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1009, 91, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "523348e3a3ee4fb2bd08aaa919e28ab8", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1100, 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(1131, 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\PivotGrid\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(1161, 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(1188, 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_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (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(1210, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Olap.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, 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(1228, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(1255, 223, true); WriteLiteral("\r\n <style>\r\n #PivotGrid1 {\r\n width: 100%;\r\n height: 350px;\r\n overflow: auto;\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 65, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Calculated Members</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(140, 181, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to render the calculated members and measures.\">\r\n"); EndContext(); } ); BeginContext(324, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(351, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(353, 1491, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7c1ff2f9696e418bbc6f433da47bdd2a", async() => { BeginContext(556, 5, true); WriteLiteral("\r\n "); EndContext(); BeginContext(561, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-icon-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e02f0013e394401f8b7e41d44a84946a", async() => { } ); __Syncfusion_JavaScript_PivotClientToolbarIconSettings = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientToolbarIconSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientToolbarIconSettings); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\CalculatedMembers.cshtml" __Syncfusion_JavaScript_PivotClientToolbarIconSettings.EnableCalculatedMember = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-calculated-member", __Syncfusion_JavaScript_PivotClientToolbarIconSettings.EnableCalculatedMember, 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(644, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(650, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f72a5be996e4d539aa669ab189c3382", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (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(681, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(687, 1129, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e826dcfc7ae0480dba96a29b69416c47", async() => { BeginContext(807, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(817, 109, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "11d94dd78d3249b8b304dbd6635cc669", async() => { BeginContext(831, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(845, 56, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a10b1435da6c402b9fd0762427735551", 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(901, 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(926, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(936, 393, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d2306b7526b84577984a9408060caf02", async() => { BeginContext(953, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(967, 242, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "488518314d284ae18ddd3218c36dfef5", 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.Expression = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_Field.HierarchyUniqueName = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1209, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1223, 78, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e165a2eb7f064a1f87d0560aab32308f", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (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(1301, 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(1329, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1339, 445, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f70eea3e3c24a3d9fa0162155e43042", async() => { BeginContext(1355, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1369, 388, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9694fc6fd94c467c95fef2364cdc02d7", async() => { BeginContext(1398, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1416, 311, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "64a3ab7215224918aeda89ddfc67242a", async() => { BeginContext(1428, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1450, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b9ef1f3123b14680b881ed4d1ef558f3", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1533, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1555, 141, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "99c048c3d0c947d1bff7f3c7e62fc4db", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_MeasuresItems.Expression = (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(1696, 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(1727, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\CalculatedMembers.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(1757, 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(1784, 16, true); WriteLiteral("\r\n \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_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (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(1816, 10, true); WriteLiteral("\r\n\r\n \r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1844, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1872, 1678, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3575, 205, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px; \r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#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(); } ); }
#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(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 61, true); WriteLiteral("<span class=\"sampleName\">PivotTreeMap / Color Mapping</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(136, 186, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot tree map describes how to differentiate the leaf nodes using various color codes\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(350, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(356, 851, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-treemap", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "45fa713a659248d49d50ccf93d2d2457", async() => { BeginContext(423, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(433, 749, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a12fd99ae2ef46939adb4b3d507e92af", async() => { BeginContext(553, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(567, 117, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e4fe29a3bc9c44c6859c1801afa888f2", async() => { BeginContext(581, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(599, 56, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d03d75c3181b4c9ab0e0f02566937cdf", 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(655, 14, 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(684, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(698, 145, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e18712851ebf40f8a6fa30349a5ab533", async() => { BeginContext(715, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(733, 78, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7492b1e9ecaf41f39919f858ac9dedf3", 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(811, 14, 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(843, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(857, 299, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3086b546f7bf4e76809903b33ad0f7d0", async() => { BeginContext(873, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(891, 234, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "103a0dfa8e8b4b55ad6a9eac132e667e", async() => { BeginContext(920, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(942, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "72cba0b375f54bee881441d70084849f", async() => { BeginContext(954, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(980, 76, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7146cee2288c400e837484082b0b5a8f", 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(1056, 22, 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(1091, 18, 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\PivotTreeMap\ColorMapping.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(1125, 14, 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(1156, 10, 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(1182, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotTreeMapProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotTreeMapProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotTreeMapProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_PivotTreeMapProperties.RenderSuccess = (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(1207, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1235, 2644, true); WriteLiteral(@" <script> var ddlTarget, treemapTarget; $(function () { ddlTarget = $('#mapping').data(""ejDropDownList""); ddlTarget.selectItemByText(ddlTarget.items[0].innerHTML); $(""#mapping"").ejDropDownList(""option"", ""change"", ""onTypeChange""); renderTreeMap = $('#PivotTreeMap1').data(""ejPivotTreeMap""); }); function onTypeChange(args) { treemapTarget = $('#PivotTreeMap1TreeMapContainer').data(""ejTreeMap""); treemapTarget.model.colorValuePath = """"; treemapTarget.model.enableGradient = false; treemapTarget.model.showLegend = false; treemapTarget.model.legendSettings.leftLabel = """"; treemapTarget.model.legendSettings.rightLabel = """"; treemapTarget.model.rangeColorMapping = []; if ((!ej.isNullOrUndefined(ddlTarget)) && ddlTarget._currentText.toLocaleLowerCase() == ""range"") { treemapTarget.model.colorValuePath = ""Value""; treemapTarget.model.rangeColorMapping.push( "); WriteLiteral(@"{ color: ""#a2e2fe"", from: ""0"", to: ""10"" }, { color: ""#9de24f"", from: ""11"", to: ""250"" }, { color: ""#ffff66"", from: ""251"", to: ""1000"" }, { color: ""#C4C24A"", from: ""1001"", to: ""3000"" }, { color: ""#f6b53f"", from: ""3001"", to: ""5000"" }, { color: ""#6FAAB0"", from: ""5001"", to: ""10000"" }, { color: ""#FF0040"", from: ""10001"", to: ""20000"" } ) } else { treemapTarget.model.colorValuePath = ""Index""; treemapTarget.model.rangeColorMapping.push( { color: ""#9de24f"", from: ""0"", to: ""0"" }, { color: ""#a2e2fe"", from: ""1"", to: ""1"" }, { color: ""#ffff66"", from: ""2"", to: ""2"" }, { color: ""#FF0040"", from: ""3"", to: ""3"" }, { color: ""#f6b53f"", from: ""4"", to: ""4"" }, { color: ""#6FAAB0"", from: ""5"", to: ""5"" }, { color: ""#C4C24A"", from: ""6"", to: ""6"" } ) } treemapTarget.refresh(); } </s"); WriteLiteral(@"cript> <!--Tooltip labels can be localized here--> <script id=""tooltipTemplate"" type=""application/jsrender""> <div style=""background:White; color:black; font-size:12px; font-weight:normal; border: 1px solid #4D4D4D; white-space: nowrap;border-radius: 2px; margin-right: 25px; min-width: 110px;padding-right: 5px; padding-left: 5px; padding-bottom: 2px ;width: auto; height: auto;""> <div>Measure(s) : {{:~Measures(#data)}}</div><div>Row : {{:~Row(#data)}}</div><div>Column : {{:~Column(#data)}}</div><div>Value : {{:~Value(#data)}}</div> </div> </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3904, 278, true); WriteLiteral(@" <style> #PivotTreeMap1 { width: 100%; height: 450px; min-height: 275px; min-width: 525px; } .row .cols-prop-area {min-height:130px!important} .mapping {margin-top:15px} </style> "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(4212, 414, true); WriteLiteral(@" <ul id=""mapping1""> <li>Normal</li> <li>Range</li> </ul> <div id=""sampleProperties""> <div class=""prop-grid content"" style=""padding-top:8px""> <div class=""mapping""> <div class=""row"" style=""float:left;padding:4px;line-height: 25px;""> Color Mapping </div> <div class=""row""> <div class=""col-md-3""> "); EndContext(); BeginContext(4626, 133, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a5a806b305f643a08d8b31a9288260ba", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); #line 101 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotTreeMap\ColorMapping.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_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(4759, 82, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n"); EndContext(); } ); }
#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(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 65, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Calculated Members</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(140, 181, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to render the calculated members and measures.\">\r\n"); EndContext(); } ); BeginContext(324, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(351, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(353, 1491, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8c26366c57064cabb0df0ffb2d60bfc0", async() => { BeginContext(556, 5, true); WriteLiteral("\r\n "); EndContext(); BeginContext(561, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-icon-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "726b144442d2441d826b01177551e844", async() => { } ); __Syncfusion_JavaScript_PivotClientToolbarIconSettings = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientToolbarIconSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientToolbarIconSettings); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\CalculatedMembers.cshtml" __Syncfusion_JavaScript_PivotClientToolbarIconSettings.EnableCalculatedMember = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-calculated-member", __Syncfusion_JavaScript_PivotClientToolbarIconSettings.EnableCalculatedMember, 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(644, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(650, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8cf8ac435c1341eeaa6eb2f3f6349938", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (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(681, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(687, 1129, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4c2c8c45a56d42bbbd95acb2f5ec242f", async() => { BeginContext(807, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(817, 109, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "832a716c182e48d58d089d661d1489ef", async() => { BeginContext(831, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(845, 56, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1d55f321173644f59beec603d1317d2b", 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(901, 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(926, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(936, 393, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ee6c9b3f4c14308b033dd0b52bf6537", async() => { BeginContext(953, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(967, 242, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "33747efd06c24600961bbd7db51d40c1", 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.Expression = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_Field.HierarchyUniqueName = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1209, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1223, 78, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d8db8fc4a76a483bac6043f34028b759", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (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(1301, 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(1329, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1339, 445, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d415b620d2934e7f8e84e499984d65e0", async() => { BeginContext(1355, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1369, 388, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "39c1d0ebd1ee47c9bf2749cf3cf23353", async() => { BeginContext(1398, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1416, 311, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8639985d7845475bb2f46ffbfd290315", async() => { BeginContext(1428, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1450, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f6066c9d70ee45388002fdddc56b9915", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1533, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1555, 141, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0a910ee2b8e64b1c9f377563cf76f1ac", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_MeasuresItems.Expression = (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(1696, 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(1727, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\CalculatedMembers.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(1757, 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(1784, 16, true); WriteLiteral("\r\n \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_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (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(1816, 10, true); WriteLiteral("\r\n\r\n \r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1844, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1872, 1678, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3575, 205, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px; \r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#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(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 49, true); WriteLiteral("<span class=\"sampleName\">PivotGrid / Olap</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(124, 170, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control shows how to bind OLAP Cube data from SSAS (XML/A).\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(322, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(324, 904, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "15e45f01937a4fecb928229930cca21c", async() => { BeginContext(376, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(382, 828, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "10345b7b3db048d18bd7fe657ea33206", async() => { BeginContext(502, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(512, 125, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d506657cc502449dab889aa8c0486373", async() => { BeginContext(526, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(540, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8b718d461e1f43dfb140f7e875ec1b5a", 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(612, 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(637, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(647, 136, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "00f6a9d761074e7abba094867ea6edc2", async() => { BeginContext(664, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(678, 77, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e095bf528b344f0682e1c18d308e79a9", 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(755, 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(783, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(793, 395, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "05c874e0da3c42b090673cbe8e43ea3b", async() => { BeginContext(809, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(823, 338, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a5823d1ed03b4b82997da66072637910", async() => { BeginContext(852, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(870, 261, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a83882cf9a764c5ca5610d2f7bf5a84d", async() => { BeginContext(882, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(904, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9ed63087550a4dc384ffee56856df3f2", 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(987, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1009, 91, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1d7a7bfb8caf453a9a3728079c26d9ad", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1100, 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(1131, 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\PivotGrid\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(1161, 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(1188, 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_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (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(1210, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Olap.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, 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(1228, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(1255, 223, true); WriteLiteral("\r\n <style>\r\n #PivotGrid1 {\r\n width: 100%;\r\n height: 350px;\r\n overflow: auto;\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 61, true); WriteLiteral("<span class=\"sampleName\">PivotGrid / User Interaction</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(136, 202, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control shows how to re-arrange the fields to change pivot report and pivot view at runtime\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(366, 29, true); WriteLiteral("\r\n<div class=\"control\">\r\n "); EndContext(); BeginContext(395, 704, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6ab7a6a249ed4ff4b75ab08e9f2e9495", async() => { BeginContext(537, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(547, 530, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "680183e537cd4a699fd0710a7944a685", async() => { BeginContext(562, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(576, 151, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3b58d8d917664d448a2a56882fa9ea17", async() => { BeginContext(590, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(608, 90, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "39f353f928c8459aa0f393dfeae1d92c", async() => { BeginContext(666, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __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(698, 14, 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(727, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(741, 139, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "363bd124f61d4d19ac93be7931be9dfc", async() => { BeginContext(758, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(776, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a00a5f3cac33420bb5218a3e3dea620a", 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(848, 14, 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(880, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(894, 157, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9f68ed0cb5ff4af992153c844ed17d67", async() => { BeginContext(910, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(928, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e721b73dc1d640da9526a48f0f848b9b", 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); __Syncfusion_JavaScript_Models_Field.Format = (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(1020, 14, 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(1051, 10, 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(1077, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-grouping-bar", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotGridProperties.Load = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_PivotGridProperties.PivotTableFieldListID = (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(1099, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1105, 79, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-schema-designer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ca189513fc49432abd423cc7fc35add1", async() => { } ); __Syncfusion_JavaScript_PivotSchemaDesignerProperties = CreateTagHelper <global::Syncfusion.JavaScript.PivotSchemaDesignerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotSchemaDesignerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1184, 10, true); WriteLiteral("\r\n</div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1220, 6144, true); WriteLiteral(@" <script type=""text/javascript""> var pivot_dataset = [ { 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: 200, Country: ""France"", Date: ""FY 2005"", Prod"); WriteLiteral(@"uct: ""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: ""Germany"", Date: ""FY 2008"", Product: ""Bike"", Q"); WriteLiteral(@"uantity: 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: 150, Country: ""United States"", Date: ""FY 2008"); WriteLiteral(@""", 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"" } ]; function onload(args) { args.model.dataSource.data = pivot_dataset; } var pivotGrid, relationalRadioBtn, olapRadioBtn; $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function renderGrid(args) { pivotGrid = $(""#PivotGrid1"").data(""ejPivotGrid""); relationalRadioBtn = $('#rdbRelational').data(""ejRadioButton""); olapRadioBtn = $('#rdbOlap'"); WriteLiteral(@").data(""ejRadioButton""); var pivotdataSource = { data: pivot_dataset, cube: """", rows: [{ fieldName: ""Country"", fieldCaption: ""Country"" }, { fieldName: ""State"", fieldCaption: ""State"" }], columns: [{ fieldName: ""Product"", fieldCaption: ""Product"" }], values: [{ fieldName: ""Amount"", fieldCaption: ""Amount"", format: ""currency"" }, { fieldName: ""Quantity"", fieldCaption: ""Quantity"" }], filters: [] }; var olapDataSource = { data: ""//bi.syncfusion.com/olap/msmdpump.dll"", catalog: ""Adventure Works DW 2008 SE"", cube: ""Adventure Works"", rows: [{ fieldName: ""[Date].[Fiscal]"" }], columns: [{ fieldName: ""[Customer].[Customer Geography]"" }], values: [{ measures: [{ fieldName: ""[Measures].[Internet Sales Amount]"" }], axis: ""columns"" }], filters: [] }; "); WriteLiteral(@" $("".e-pivotgrid"").remove(); $("".e-pivotschemadesigner"").remove(); var gridPanel = ej.buildTag(""div#PivotGrid1"", """")[0].outerHTML; var gridSchemaPanel = ej.buildTag(""div#PivotSchemaDesigner1"", """")[0].outerHTML; $(gridPanel).appendTo("".control""); $(gridSchemaPanel).appendTo("".control""); $(""#PivotGrid1"").ejPivotGrid({ dataSource: relationalRadioBtn.model.checked ? pivotdataSource : olapRadioBtn.model.checked ? olapDataSource : pivotdataSource, pivotTableFieldListID: ""PivotSchemaDesigner1"", isResponsive: true, enableGroupingBar: true, }); if (olapRadioBtn.model.checked) $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner({ olap: { showKPI: false, showNamedSets: true } }); else $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner(); } </script> </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(7389, 971, true); WriteLiteral(@" <style> .e-pivotgrid { width: 55%; height: 630px; display: inline-block; float: left; overflow: auto; } .e-pivotschemadesigner { width: 40% !important; display: inline-block; margin-left: 10px; } .cols-prop-area { margin-top: 30px; width: 35%; height: 120px; min-height: 50px; float: left; } .radioBtnLabel { margin-left: 5px; } .cols-prop-area { width: 416px !important; min-height: 93px !important; } .col-md-3 { height: 30px !important; } .cols-sample-area { width: 100% !important; } </style> "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(8390, 264, true); WriteLiteral(@" <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row""> <div class=""col-md-3"" style=""width:120px""> Data Source </div> <div class=""col-md-3"" style=""width:120px""> "); EndContext(); BeginContext(8654, 173, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "03795e7e844e44559ae546349bdc9360", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); #line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (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(8827, 94, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\" style=\"width:120px\">\r\n "); EndContext(); BeginContext(8921, 156, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8fe61225e90645bca41dd4eff31ec036", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); #line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (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(9077, 58, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n"); EndContext(); } ); }