From 0485aa1208a61a3b1b045b8a8c4ff500033cdd96 Mon Sep 17 00:00:00 2001 From: tfsbuild Date: Tue, 12 May 2026 12:10:55 +0300 Subject: [PATCH] Adding changes from build igniteui-xplat-examples-output+PRs_2026.5.12.2 --- .../category-chart/marker-options/App.razor | 4 +- .../scatter-marker-options/App.razor | 197 ++++++++++++++++++ .../BlazorClientApp.csproj | 21 ++ .../BlazorClientApp.sln | 25 +++ .../CountryDemographicAfrican.cs | 71 +++++++ .../CountryDemographicEurope.cs | 62 ++++++ .../scatter-marker-options/Program.cs | 35 ++++ .../Properties/launchSettings.json | 27 +++ .../scatter-marker-options/_Imports.razor | 9 + .../scatter-marker-options/wwwroot/index.css | 4 + .../scatter-marker-options/wwwroot/index.html | 31 +++ 11 files changed, 484 insertions(+), 2 deletions(-) create mode 100644 samples/charts/data-chart/scatter-marker-options/App.razor create mode 100644 samples/charts/data-chart/scatter-marker-options/BlazorClientApp.csproj create mode 100644 samples/charts/data-chart/scatter-marker-options/BlazorClientApp.sln create mode 100644 samples/charts/data-chart/scatter-marker-options/CountryDemographicAfrican.cs create mode 100644 samples/charts/data-chart/scatter-marker-options/CountryDemographicEurope.cs create mode 100644 samples/charts/data-chart/scatter-marker-options/Program.cs create mode 100644 samples/charts/data-chart/scatter-marker-options/Properties/launchSettings.json create mode 100644 samples/charts/data-chart/scatter-marker-options/_Imports.razor create mode 100644 samples/charts/data-chart/scatter-marker-options/wwwroot/index.css create mode 100644 samples/charts/data-chart/scatter-marker-options/wwwroot/index.html diff --git a/samples/charts/category-chart/marker-options/App.razor b/samples/charts/category-chart/marker-options/App.razor index 5d74e96d36..84eac804fd 100644 --- a/samples/charts/category-chart/marker-options/App.razor +++ b/samples/charts/category-chart/marker-options/App.razor @@ -26,8 +26,8 @@ Label="Marker Type" ShouldOverrideDefaultEditor="true" ValueType="PropertyEditorValueType.EnumValue" - DropDownValues="@(new string[] { "Circle", "Automatic", "Triangle", "Pyramid", "Square", "Diamond", "Pentagon", "Hexagon", "Tetragram", "Pentagram", "Hexagram", "None" })" - DropDownNames="@(new string[] { "Circle", "Automatic", "Triangle", "Pyramid", "Square", "Diamond", "Pentagon", "Hexagon", "Tetragram", "Pentagram", "Hexagram", "None" })" + DropDownValues="@(new string[] { "Circle", "Checkmark", "Automatic", "Triangle", "Pyramid", "Square", "Diamond", "Pentagon", "Hexagon", "Tetragram", "Pentagram", "Hexagram", "None" })" + DropDownNames="@(new string[] { "Circle", "Checkmark", "Automatic", "Triangle", "Pyramid", "Square", "Diamond", "Pentagon", "Hexagon", "Tetragram", "Pentagram", "Hexagram", "None" })" PrimitiveValue="@("Circle")" Changed="EditorChangeUpdateMarkerType"> diff --git a/samples/charts/data-chart/scatter-marker-options/App.razor b/samples/charts/data-chart/scatter-marker-options/App.razor new file mode 100644 index 0000000000..d796e3bb33 --- /dev/null +++ b/samples/charts/data-chart/scatter-marker-options/App.razor @@ -0,0 +1,197 @@ +@using IgniteUI.Blazor.Controls +@using System + +
+
+ + + + + + + + + +
+
+ Population Statistics for Selected Continents +
+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+ +@code { + + private Action BindElements { get; set; } + + protected override async Task OnAfterRenderAsync(bool firstRender) + { + var propertyEditor = this.propertyEditor; + var markerSizeEditor = this.markerSizeEditor; + var markerTypeEditor = this.markerTypeEditor; + var legend = this.legend; + var chart = this.chart; + var xAxis = this.xAxis; + var yAxis = this.yAxis; + var scatterSeries1 = this.scatterSeries1; + var scatterSeries2 = this.scatterSeries2; + + this.BindElements = () => { + propertyEditor.Target = this.chart; + chart.Legend = this.legend; + }; + this.BindElements(); + + } + + private IgbPropertyEditorPanel propertyEditor; + private IgbPropertyEditorPropertyDescription markerSizeEditor; + private IgbPropertyEditorPropertyDescription markerTypeEditor; + private IgbLegend legend; + private IgbDataChart chart; + private IgbNumericXAxis xAxis; + private IgbNumericYAxis yAxis; + private IgbScatterSeries scatterSeries1; + private IgbScatterSeries scatterSeries2; + + public void EditorChangeUpdateDataChartMarkerSize(IgbPropertyEditorPropertyDescriptionChangedEventArgs args) + { + var chart = this.chart; + var markerSizeVal = Convert.ToInt32(args.NewValue); + var series = chart.ActualSeries; + for (var i = 0; i < series.Count; i++) + { + var markerSeries = series[i] as IgbMarkerSeries; + if (markerSeries != null) + { + markerSeries.MarkerSize = markerSizeVal; + } + } + } + + public void EditorChangeUpdateDataChartMarkerType(IgbPropertyEditorPropertyDescriptionChangedEventArgs args) + { + var chart = this.chart; + var markerTypeVal = (MarkerType)Enum.Parse(typeof(MarkerType), args.NewValue.ToString()); + var series = chart.ActualSeries; + for (var i = 0; i < series.Count; i++) + { + var markerSeries = series[i] as IgbMarkerSeries; + if (markerSeries != null) + { + markerSeries.MarkerType = markerTypeVal; + } + } + } + + private CountryDemographicEurope _countryDemographicEurope = null; + public CountryDemographicEurope CountryDemographicEurope + { + get + { + if (_countryDemographicEurope == null) + { + _countryDemographicEurope = new CountryDemographicEurope(); + } + return _countryDemographicEurope; + } + } + + private CountryDemographicAfrican _countryDemographicAfrican = null; + public CountryDemographicAfrican CountryDemographicAfrican + { + get + { + if (_countryDemographicAfrican == null) + { + _countryDemographicAfrican = new CountryDemographicAfrican(); + } + return _countryDemographicAfrican; + } + } + +} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-marker-options/BlazorClientApp.csproj b/samples/charts/data-chart/scatter-marker-options/BlazorClientApp.csproj new file mode 100644 index 0000000000..514777d208 --- /dev/null +++ b/samples/charts/data-chart/scatter-marker-options/BlazorClientApp.csproj @@ -0,0 +1,21 @@ + + + + net10.0 + 3.0 + Infragistics.Samples + Infragistics.Samples + + + + 1701;1702,IDE0028,BL0005,0219,CS1998 + + + + + + + + + + diff --git a/samples/charts/data-chart/scatter-marker-options/BlazorClientApp.sln b/samples/charts/data-chart/scatter-marker-options/BlazorClientApp.sln new file mode 100644 index 0000000000..1e2eda208a --- /dev/null +++ b/samples/charts/data-chart/scatter-marker-options/BlazorClientApp.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29613.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorClientApp", "BlazorClientApp.csproj", "{F69CC3F0-BCD1-4CE6-9F39-CBED14E7FA78}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F69CC3F0-BCD1-4CE6-9F39-CBED14E7FA78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F69CC3F0-BCD1-4CE6-9F39-CBED14E7FA78}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F69CC3F0-BCD1-4CE6-9F39-CBED14E7FA78}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F69CC3F0-BCD1-4CE6-9F39-CBED14E7FA78}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {FC52AAC8-4488-40AE-9621-75F6BA744B18} + EndGlobalSection +EndGlobal diff --git a/samples/charts/data-chart/scatter-marker-options/CountryDemographicAfrican.cs b/samples/charts/data-chart/scatter-marker-options/CountryDemographicAfrican.cs new file mode 100644 index 0000000000..9f7b12ef9e --- /dev/null +++ b/samples/charts/data-chart/scatter-marker-options/CountryDemographicAfrican.cs @@ -0,0 +1,71 @@ +using System; +using System.Collections.Generic; +public class CountryDemographicAfricanItem +{ + public double Population { get; set; } + public double BirthRate { get; set; } + public double DeathRate { get; set; } + public string Name { get; set; } +} + +public class CountryDemographicAfrican + : List +{ + public CountryDemographicAfrican() + { + this.Add(new CountryDemographicAfricanItem() { Population = 39728000, BirthRate = 23.9, DeathRate = 4.77, Name = @"Algeria" }); + this.Add(new CountryDemographicAfricanItem() { Population = 27884000, BirthRate = 42.32, DeathRate = 8.68, Name = @"Angola" }); + this.Add(new CountryDemographicAfricanItem() { Population = 10576000, BirthRate = 37.43, DeathRate = 9.32, Name = @"Benin" }); + this.Add(new CountryDemographicAfricanItem() { Population = 2121000, BirthRate = 24.14, DeathRate = 7.02, Name = @"Botswana" }); + this.Add(new CountryDemographicAfricanItem() { Population = 18111000, BirthRate = 39.44, DeathRate = 8.82, Name = @"Burkina Faso" }); + this.Add(new CountryDemographicAfricanItem() { Population = 10160000, BirthRate = 42.66, DeathRate = 11.03, Name = @"Burundi" }); + this.Add(new CountryDemographicAfricanItem() { Population = 23298000, BirthRate = 36.84, DeathRate = 10.35, Name = @"Cameroon" }); + this.Add(new CountryDemographicAfricanItem() { Population = 525000, BirthRate = 21.14, DeathRate = 5.61, Name = @"Cape Verde" }); + this.Add(new CountryDemographicAfricanItem() { Population = 4493000, BirthRate = 36.11, DeathRate = 14.01, Name = @"C.A.R." }); + this.Add(new CountryDemographicAfricanItem() { Population = 14111000, BirthRate = 43.86, DeathRate = 13.22, Name = @"Chad" }); + this.Add(new CountryDemographicAfricanItem() { Population = 777000, BirthRate = 33.33, DeathRate = 7.49, Name = @"Comoros" }); + this.Add(new CountryDemographicAfricanItem() { Population = 4856000, BirthRate = 35.23, DeathRate = 7.56, Name = @"Congo" }); + this.Add(new CountryDemographicAfricanItem() { Population = 23226000, BirthRate = 37.1, DeathRate = 12.54, Name = @"Cote Ivoire" }); + this.Add(new CountryDemographicAfricanItem() { Population = 76245000, BirthRate = 42.81, DeathRate = 10.19, Name = @"DCongo" }); + this.Add(new CountryDemographicAfricanItem() { Population = 914000, BirthRate = 23.35, DeathRate = 8.37, Name = @"Djibouti" }); + this.Add(new CountryDemographicAfricanItem() { Population = 92443000, BirthRate = 27.2, DeathRate = 5.96, Name = @"Egypt" }); + this.Add(new CountryDemographicAfricanItem() { Population = 1169000, BirthRate = 34.64, DeathRate = 10.34, Name = @"Equatorial Guinea" }); + this.Add(new CountryDemographicAfricanItem() { Population = 3343000, BirthRate = 32.83, DeathRate = 7.07, Name = @"Eritrea" }); + this.Add(new CountryDemographicAfricanItem() { Population = 100835000, BirthRate = 32.3, DeathRate = 7, Name = @"Ethiopia" }); + this.Add(new CountryDemographicAfricanItem() { Population = 1948000, BirthRate = 30.09, DeathRate = 7.82, Name = @"Gabon" }); + this.Add(new CountryDemographicAfricanItem() { Population = 2086000, BirthRate = 39.99, DeathRate = 8.2, Name = @"Gambia" }); + this.Add(new CountryDemographicAfricanItem() { Population = 27849000, BirthRate = 31.56, DeathRate = 8.31, Name = @"Ghana" }); + this.Add(new CountryDemographicAfricanItem() { Population = 11432000, BirthRate = 36.36, DeathRate = 9.58, Name = @"Guinea" }); + this.Add(new CountryDemographicAfricanItem() { Population = 1737000, BirthRate = 37.15, DeathRate = 10.78, Name = @"Guinea-Bissau" }); + this.Add(new CountryDemographicAfricanItem() { Population = 47878000, BirthRate = 31.78, DeathRate = 5.84, Name = @"Kenya" }); + this.Add(new CountryDemographicAfricanItem() { Population = 2059000, BirthRate = 28.16, DeathRate = 12.92, Name = @"Lesotho" }); + this.Add(new CountryDemographicAfricanItem() { Population = 4472000, BirthRate = 34.72, DeathRate = 8.12, Name = @"Liberia" }); + this.Add(new CountryDemographicAfricanItem() { Population = 6418000, BirthRate = 20.19, DeathRate = 5.2, Name = @"Libya" }); + this.Add(new CountryDemographicAfricanItem() { Population = 24234000, BirthRate = 33.4, DeathRate = 6.48, Name = @"Madagascar" }); + this.Add(new CountryDemographicAfricanItem() { Population = 16745000, BirthRate = 37.05, DeathRate = 7.5, Name = @"Malawi" }); + this.Add(new CountryDemographicAfricanItem() { Population = 17439000, BirthRate = 43.22, DeathRate = 10.67, Name = @"Mali" }); + this.Add(new CountryDemographicAfricanItem() { Population = 4046000, BirthRate = 34.57, DeathRate = 7.96, Name = @"Mauritania" }); + this.Add(new CountryDemographicAfricanItem() { Population = 1259000, BirthRate = 10.1, DeathRate = 7.7, Name = @"Mauritius" }); + this.Add(new CountryDemographicAfricanItem() { Population = 34664000, BirthRate = 20.4, DeathRate = 5.15, Name = @"Morocco" }); + this.Add(new CountryDemographicAfricanItem() { Population = 27042000, BirthRate = 39.36, DeathRate = 10.38, Name = @"Mozambique" }); + this.Add(new CountryDemographicAfricanItem() { Population = 2315000, BirthRate = 29.59, DeathRate = 7.46, Name = @"Namibia" }); + this.Add(new CountryDemographicAfricanItem() { Population = 20002000, BirthRate = 48.44, DeathRate = 9.94, Name = @"Niger" }); + this.Add(new CountryDemographicAfricanItem() { Population = 181136992, BirthRate = 39.37, DeathRate = 12.77, Name = @"Nigeria" }); + this.Add(new CountryDemographicAfricanItem() { Population = 11369000, BirthRate = 31.79, DeathRate = 6.13, Name = @"Rwanda" }); + this.Add(new CountryDemographicAfricanItem() { Population = 199000, BirthRate = 34.33, DeathRate = 6.81, Name = @"Sao Tome and Principe" }); + this.Add(new CountryDemographicAfricanItem() { Population = 14578000, BirthRate = 36.21, DeathRate = 6.07, Name = @"Senegal" }); + this.Add(new CountryDemographicAfricanItem() { Population = 95000, BirthRate = 17, DeathRate = 7.5, Name = @"Seychelles" }); + this.Add(new CountryDemographicAfricanItem() { Population = 7172000, BirthRate = 35.61, DeathRate = 13.03, Name = @"Sierra Leone" }); + this.Add(new CountryDemographicAfricanItem() { Population = 13797000, BirthRate = 43.66, DeathRate = 11.63, Name = @"Somalia" }); + this.Add(new CountryDemographicAfricanItem() { Population = 55386000, BirthRate = 21.3, DeathRate = 10.1, Name = @"South Africa" }); + this.Add(new CountryDemographicAfricanItem() { Population = 10716000, BirthRate = 36.32, DeathRate = 11.24, Name = @"South Sudan" }); + this.Add(new CountryDemographicAfricanItem() { Population = 38903000, BirthRate = 33.32, DeathRate = 7.52, Name = @"Sudan" }); + this.Add(new CountryDemographicAfricanItem() { Population = 1104000, BirthRate = 29.27, DeathRate = 9.86, Name = @"Swaziland" }); + this.Add(new CountryDemographicAfricanItem() { Population = 51483000, BirthRate = 38.64, DeathRate = 7.02, Name = @"Tanzania" }); + this.Add(new CountryDemographicAfricanItem() { Population = 7323000, BirthRate = 34.53, DeathRate = 8.83, Name = @"Togo" }); + this.Add(new CountryDemographicAfricanItem() { Population = 11180000, BirthRate = 18.65, DeathRate = 6.36, Name = @"Tunisia" }); + this.Add(new CountryDemographicAfricanItem() { Population = 38225000, BirthRate = 42.63, DeathRate = 8.87, Name = @"Uganda" }); + this.Add(new CountryDemographicAfricanItem() { Population = 15879000, BirthRate = 38.44, DeathRate = 8, Name = @"Zambia" }); + this.Add(new CountryDemographicAfricanItem() { Population = 13815000, BirthRate = 33.94, DeathRate = 8.4, Name = @"Zimbabwe" }); + } +} diff --git a/samples/charts/data-chart/scatter-marker-options/CountryDemographicEurope.cs b/samples/charts/data-chart/scatter-marker-options/CountryDemographicEurope.cs new file mode 100644 index 0000000000..2c61e65a0d --- /dev/null +++ b/samples/charts/data-chart/scatter-marker-options/CountryDemographicEurope.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +public class CountryDemographicEuropeItem +{ + public double Population { get; set; } + public double BirthRate { get; set; } + public double DeathRate { get; set; } + public string Name { get; set; } +} + +public class CountryDemographicEurope + : List +{ + public CountryDemographicEurope() + { + this.Add(new CountryDemographicEuropeItem() { Population = 2891000, BirthRate = 11.88, DeathRate = 7.22, Name = @"Albania" }); + this.Add(new CountryDemographicEuropeItem() { Population = 8679000, BirthRate = 9.8, DeathRate = 9.6, Name = @"Austria" }); + this.Add(new CountryDemographicEuropeItem() { Population = 9439000, BirthRate = 12.5, DeathRate = 12.6, Name = @"Belarus" }); + this.Add(new CountryDemographicEuropeItem() { Population = 11288000, BirthRate = 10.8, DeathRate = 9.8, Name = @"Belgium" }); + this.Add(new CountryDemographicEuropeItem() { Population = 3429000, BirthRate = 9.12, DeathRate = 10.89, Name = @"Bosnia" }); + this.Add(new CountryDemographicEuropeItem() { Population = 7200000, BirthRate = 9.2, DeathRate = 15.3, Name = @"Bulgaria" }); + this.Add(new CountryDemographicEuropeItem() { Population = 165000, BirthRate = 9.39, DeathRate = 8.97, Name = @"Channel Islands" }); + this.Add(new CountryDemographicEuropeItem() { Population = 4233000, BirthRate = 8.9, DeathRate = 12.9, Name = @"Croatia" }); + this.Add(new CountryDemographicEuropeItem() { Population = 1161000, BirthRate = 10.98, DeathRate = 6.84, Name = @"Cyprus" }); + this.Add(new CountryDemographicEuropeItem() { Population = 10601000, BirthRate = 10.5, DeathRate = 10.5, Name = @"Czechia" }); + this.Add(new CountryDemographicEuropeItem() { Population = 5689000, BirthRate = 10.2, DeathRate = 9.2, Name = @"Denmark" }); + this.Add(new CountryDemographicEuropeItem() { Population = 1315000, BirthRate = 10.6, DeathRate = 11.6, Name = @"Estonia" }); + this.Add(new CountryDemographicEuropeItem() { Population = 48000, BirthRate = 12.4, DeathRate = 7.7, Name = @"Faeroe Islands" }); + this.Add(new CountryDemographicEuropeItem() { Population = 5481000, BirthRate = 10.1, DeathRate = 9.6, Name = @"Finland" }); + this.Add(new CountryDemographicEuropeItem() { Population = 64453000, BirthRate = 12, DeathRate = 8.9, Name = @"France" }); + this.Add(new CountryDemographicEuropeItem() { Population = 81787000, BirthRate = 9, DeathRate = 11.3, Name = @"Germany" }); + this.Add(new CountryDemographicEuropeItem() { Population = 10660000, BirthRate = 8.5, DeathRate = 11.2, Name = @"Greece" }); + this.Add(new CountryDemographicEuropeItem() { Population = 9778000, BirthRate = 9.4, DeathRate = 13.4, Name = @"Hungary" }); + this.Add(new CountryDemographicEuropeItem() { Population = 330000, BirthRate = 12.5, DeathRate = 6.6, Name = @"Iceland" }); + this.Add(new CountryDemographicEuropeItem() { Population = 4652000, BirthRate = 14.1, DeathRate = 6.5, Name = @"Ireland" }); + this.Add(new CountryDemographicEuropeItem() { Population = 60578000, BirthRate = 8, DeathRate = 10.7, Name = @"Italy" }); + this.Add(new CountryDemographicEuropeItem() { Population = 1998000, BirthRate = 11.1, DeathRate = 14.4, Name = @"Latvia" }); + this.Add(new CountryDemographicEuropeItem() { Population = 37000, BirthRate = 8.7, DeathRate = 6.7, Name = @"Liechtenstein" }); + this.Add(new CountryDemographicEuropeItem() { Population = 2932000, BirthRate = 10.8, DeathRate = 14.4, Name = @"Lithuania" }); + this.Add(new CountryDemographicEuropeItem() { Population = 567000, BirthRate = 10.7, DeathRate = 7, Name = @"Luxembourg" }); + this.Add(new CountryDemographicEuropeItem() { Population = 2079000, BirthRate = 11.3, DeathRate = 9.75, Name = @"Macedonia" }); + this.Add(new CountryDemographicEuropeItem() { Population = 434000, BirthRate = 10, DeathRate = 8, Name = @"Malta" }); + this.Add(new CountryDemographicEuropeItem() { Population = 4071000, BirthRate = 10.52, DeathRate = 11.42, Name = @"Moldova" }); + this.Add(new CountryDemographicEuropeItem() { Population = 38000, BirthRate = 8.1, DeathRate = 7.6, Name = @"Monaco" }); + this.Add(new CountryDemographicEuropeItem() { Population = 627000, BirthRate = 11.52, DeathRate = 9.8, Name = @"Montenegro" }); + this.Add(new CountryDemographicEuropeItem() { Population = 16938000, BirthRate = 10.1, DeathRate = 8.7, Name = @"Netherlands" }); + this.Add(new CountryDemographicEuropeItem() { Population = 5200000, BirthRate = 11.3, DeathRate = 7.8, Name = @"Norway" }); + this.Add(new CountryDemographicEuropeItem() { Population = 38034000, BirthRate = 9.7, DeathRate = 10.4, Name = @"Poland" }); + this.Add(new CountryDemographicEuropeItem() { Population = 10368000, BirthRate = 8.3, DeathRate = 10.5, Name = @"Portugal" }); + this.Add(new CountryDemographicEuropeItem() { Population = 19925000, BirthRate = 10, DeathRate = 13.2, Name = @"Romania" }); + this.Add(new CountryDemographicEuropeItem() { Population = 144984992, BirthRate = 13.3, DeathRate = 13, Name = @"Russia" }); + this.Add(new CountryDemographicEuropeItem() { Population = 33000, BirthRate = 8.2, DeathRate = 7.1, Name = @"San Marino" }); + this.Add(new CountryDemographicEuropeItem() { Population = 8877000, BirthRate = 9.3, DeathRate = 14.6, Name = @"Serbia" }); + this.Add(new CountryDemographicEuropeItem() { Population = 5436000, BirthRate = 10.3, DeathRate = 9.9, Name = @"Slovakia" }); + this.Add(new CountryDemographicEuropeItem() { Population = 2071000, BirthRate = 10, DeathRate = 9.6, Name = @"Slovenia" }); + this.Add(new CountryDemographicEuropeItem() { Population = 46672000, BirthRate = 9, DeathRate = 9.1, Name = @"Spain" }); + this.Add(new CountryDemographicEuropeItem() { Population = 9765000, BirthRate = 11.7, DeathRate = 9.3, Name = @"Sweden" }); + this.Add(new CountryDemographicEuropeItem() { Population = 8297000, BirthRate = 10.5, DeathRate = 8.2, Name = @"Switzerland" }); + this.Add(new CountryDemographicEuropeItem() { Population = 44922000, BirthRate = 10.7, DeathRate = 14.9, Name = @"Ukraine" }); + this.Add(new CountryDemographicEuropeItem() { Population = 65860000, BirthRate = 11.9, DeathRate = 9.2, Name = @"United Kingdom" }); + } +} diff --git a/samples/charts/data-chart/scatter-marker-options/Program.cs b/samples/charts/data-chart/scatter-marker-options/Program.cs new file mode 100644 index 0000000000..89de7f8b9b --- /dev/null +++ b/samples/charts/data-chart/scatter-marker-options/Program.cs @@ -0,0 +1,35 @@ +using System; +using System.Net.Http; +using System.Collections.Generic; +using System.Threading.Tasks; +using System.Text; +using Microsoft.AspNetCore.Components.WebAssembly.Hosting; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Logging; +using IgniteUI.Blazor.Controls; // for registering Ignite UI modules + +namespace Infragistics.Samples +{ + public class Program + { + public static async Task Main(string[] args) + { + var builder = WebAssemblyHostBuilder.CreateDefault(args); + builder.RootComponents.Add("app"); + builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); + // registering Ignite UI modules + builder.Services.AddIgniteUIBlazor( + typeof(IgbInputModule), + typeof(IgbPropertyEditorPanelModule), + typeof(IgbLegendModule), + typeof(IgbDataChartCoreModule), + typeof(IgbDataChartScatterModule), + typeof(IgbDataChartScatterCoreModule), + typeof(IgbDataChartInteractivityModule), + typeof(IgbDataChartAnnotationModule) + ); + await builder.Build().RunAsync(); + } + } +} diff --git a/samples/charts/data-chart/scatter-marker-options/Properties/launchSettings.json b/samples/charts/data-chart/scatter-marker-options/Properties/launchSettings.json new file mode 100644 index 0000000000..18bd6fb5bc --- /dev/null +++ b/samples/charts/data-chart/scatter-marker-options/Properties/launchSettings.json @@ -0,0 +1,27 @@ +{ + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:4200", + "sslPort": 44385 + } + }, + "profiles": { + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "BlazorSamples": { + "commandName": "Project", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "applicationUrl": "https://localhost:5001;http://localhost:4200" + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-marker-options/_Imports.razor b/samples/charts/data-chart/scatter-marker-options/_Imports.razor new file mode 100644 index 0000000000..d27d337cb1 --- /dev/null +++ b/samples/charts/data-chart/scatter-marker-options/_Imports.razor @@ -0,0 +1,9 @@ +// these namespaces are global to the app +@using System.Net.Http +@using System.Net.Http.Json +@using Microsoft.AspNetCore.Components.Forms +@using Microsoft.AspNetCore.Components.Routing +@using Microsoft.AspNetCore.Components.Web +@using Microsoft.AspNetCore.Components.WebAssembly.Http +@using Microsoft.JSInterop +@using Infragistics.Samples diff --git a/samples/charts/data-chart/scatter-marker-options/wwwroot/index.css b/samples/charts/data-chart/scatter-marker-options/wwwroot/index.css new file mode 100644 index 0000000000..e8f6d13ea8 --- /dev/null +++ b/samples/charts/data-chart/scatter-marker-options/wwwroot/index.css @@ -0,0 +1,4 @@ +/* +CSS styles are loaded from the shared CSS file located at: +https://dl.infragistics.com/x/css/samples/shared.v6.css +*/ diff --git a/samples/charts/data-chart/scatter-marker-options/wwwroot/index.html b/samples/charts/data-chart/scatter-marker-options/wwwroot/index.html new file mode 100644 index 0000000000..91caf575c0 --- /dev/null +++ b/samples/charts/data-chart/scatter-marker-options/wwwroot/index.html @@ -0,0 +1,31 @@ + + + + + + + + + + Samples | IgniteUI for Blazor | Infragistics + + + + + + + + + + +
+ An unhandled error has occurred. + Reload + 🗙 +
+ + + + + +