#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(80, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(105, 77, true); WriteLiteral("<span class=\"sampleName\">Chart / User Interaction/ Zooming and Panning</span>"); EndContext(); } ); BeginContext(185, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(212, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(233, 805, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-chart", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "63bd4ba7f8024aa39507e086a8159c6b", async() => { BeginContext(296, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(310, 42, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f6f8597b7e6242b5ae072417c8773b8d", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_ChartTitle = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ChartTitle>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ChartTitle); __Syncfusion_JavaScript_DataVisualization_Models_ChartTitle.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(352, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(366, 30, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bc332a0e3e9d46ab85e0aa5cc3e499f0", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_ModelSize = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ModelSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ModelSize); __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Height = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(396, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(410, 37, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-legend", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "882a9def7a1340d7a1f9e96a3a6eea6b", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Legend = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Legend>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Legend); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Legend.Visible = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_DataVisualization_Models_Legend.Visible, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(447, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(461, 75, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-common-series-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "310683d0e35a42e287275592f4166e46", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.CommonSeriesOptions>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(536, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(550, 64, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-zooming", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b1cb198b68b34802b5b4695c621f8391", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Zooming = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Zooming>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Zooming); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Zooming.Enable = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_DataVisualization_Models_Zooming.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Zooming.EnableMouseWheel = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-mouse-wheel", __Syncfusion_JavaScript_DataVisualization_Models_Zooming.EnableMouseWheel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(614, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(628, 100, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-x-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "715db6e5b1a4442f9aba177dc5ad5c20", async() => { BeginContext(646, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(664, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1bf065ef2e294a5a9c368f885d42cec8", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title); __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(695, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(728, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(742, 154, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-chart-series", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "06ed4bd0668f4a229a73d3d493a427f7", async() => { BeginContext(758, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(776, 89, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-series", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "27a9a0c89f234595b9b38146955eaa54", async() => { BeginContext(834, 20, true); WriteLiteral("\r\n\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Series = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Series>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Series); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Series.Type = SeriesType.Line; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Series.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_Series.Name = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Series.Width = 2; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_DataVisualization_Models_Series.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(865, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_ChartCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.ChartCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ChartCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(896, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(910, 107, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-y-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9dd21063736d477e84912ba31f9d81b9", async() => { } ); __Syncfusion_JavaScript_YAxis = CreateTagHelper <global::Syncfusion.JavaScript.YAxis>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_YAxis); __Syncfusion_JavaScript_YAxis.LabelFormat = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_YAxis.RangePadding = ChartRangePadding.Additional; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("range-padding", __Syncfusion_JavaScript_YAxis.RangePadding, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1017, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ChartProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ChartProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.CanResize = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("can-resize", __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.CanResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.Load = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1038, 10, true); WriteLiteral("\r\n</div>\r\n"); EndContext(); } ); BeginContext(1051, 826, true); WriteLiteral(@"<script type=""text/javascript""> function onchartload(sender) { loadTheme(sender); var data = GetData(); sender.model.series[0].dataSource = data.Open; sender.model.series[0].xName = ""XValue""; sender.model.series[0].yName = ""YValue""; } function GetData() { var series1 = []; var value = 100; for (var i = 1; i < 250; i++) { if (Math.random() > .5) { value += Math.random(); } else { value -= Math.random(); } var point = { XValue: new Date(1970, i + 2, i), YValue: value }; series1.push(point); } var data = { Open: series1 }; return data; } $(""#controlarea"").css(""visibility"", ""visible""); </script> "); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(80, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(105, 77, true); WriteLiteral("<span class=\"sampleName\">Chart / User Interaction/ Zooming and Panning</span>"); EndContext(); } ); BeginContext(185, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(212, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(233, 805, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-chart", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "745d15ec59e94b608417a45f4f53412f", async() => { BeginContext(296, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(310, 42, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8b28d3696d6e49c5a26f2c36d7f18a36", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_ChartTitle = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ChartTitle>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ChartTitle); __Syncfusion_JavaScript_DataVisualization_Models_ChartTitle.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(352, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(366, 30, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "92499e7103c1410cb714ebc6a55ab58b", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_ModelSize = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ModelSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ModelSize); __Syncfusion_JavaScript_DataVisualization_Models_ModelSize.Height = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(396, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(410, 37, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-legend", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "94bd8fa8ce4048b0bb6e912dcefc9aed", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Legend = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Legend>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Legend); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Legend.Visible = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_DataVisualization_Models_Legend.Visible, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(447, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(461, 75, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-common-series-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5e86c7e322a843338c90eeef0cb85965", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.CommonSeriesOptions>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_CommonSeriesOptions.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(536, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(550, 64, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-zooming", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6f94e2a41114440a84dfed5d319d0414", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Zooming = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Zooming>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Zooming); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Zooming.Enable = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_DataVisualization_Models_Zooming.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Zooming.EnableMouseWheel = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-mouse-wheel", __Syncfusion_JavaScript_DataVisualization_Models_Zooming.EnableMouseWheel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(614, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(628, 100, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-x-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d058428ee73a46a18e29fdf351fe5016", async() => { BeginContext(646, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(664, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-title", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "507052df16f846299b957502f2a4f2dd", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Title = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Title>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Title); __Syncfusion_JavaScript_DataVisualization_Models_Title.Text = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(695, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Axis = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Axis>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Axis); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(728, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(742, 154, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-chart-series", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ad85d4a7a87d41588cfb8b16844d9d02", async() => { BeginContext(758, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(776, 89, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-series", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9b17aacda79e441980b1c1a645d49f2d", async() => { BeginContext(834, 20, true); WriteLiteral("\r\n\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Series = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Series>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Series); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Series.Type = SeriesType.Line; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Series.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_Series.Name = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Series.Width = 2; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_DataVisualization_Models_Series.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(865, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_ChartCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.ChartCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ChartCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(896, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(910, 107, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-primary-y-axis", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0de3ea2f27ef46d2841d01f69fad2602", async() => { } ); __Syncfusion_JavaScript_YAxis = CreateTagHelper <global::Syncfusion.JavaScript.YAxis>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_YAxis); __Syncfusion_JavaScript_YAxis.LabelFormat = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_YAxis.RangePadding = ChartRangePadding.Additional; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("range-padding", __Syncfusion_JavaScript_YAxis.RangePadding, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1017, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ChartProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ChartProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Chart\ZoomingAndPanning.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.CanResize = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("can-resize", __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.CanResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ChartProperties.Load = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1038, 10, true); WriteLiteral("\r\n</div>\r\n"); EndContext(); } ); BeginContext(1051, 826, true); WriteLiteral(@"<script type=""text/javascript""> function onchartload(sender) { loadTheme(sender); var data = GetData(); sender.model.series[0].dataSource = data.Open; sender.model.series[0].xName = ""XValue""; sender.model.series[0].yName = ""YValue""; } function GetData() { var series1 = []; var value = 100; for (var i = 1; i < 250; i++) { if (Math.random() > .5) { value += Math.random(); } else { value -= Math.random(); } var point = { XValue: new Date(1970, i + 2, i), YValue: value }; series1.push(point); } var data = { Open: series1 }; return data; } $(""#controlarea"").css(""visibility"", ""visible""); </script> "); EndContext(); }