Skip to content

Changes from igniteui-xplat-examples-output+PRs_2025.5.7.1 #966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: vnext
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion samples/charts/category-chart/overview/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div class="container vertical">
<div class="legend-title">
Olympic Medals By Country
Olympic Medals by Country
</div>
<div class="legend">
<IgbLegend
Expand Down
12 changes: 6 additions & 6 deletions samples/charts/dashboard-tile/chart-dashboard/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<IgbDashboardTile
Name="dashboard"
@ref="dashboard"
DataSource="OlympicMedalsTopCountries">
DataSource="RetailSalesPerformanceLocalDataSource">
</IgbDashboardTile>

</div>
Expand All @@ -21,16 +21,16 @@

private IgbDashboardTile dashboard;

private OlympicMedalsTopCountries _olympicMedalsTopCountries = null;
public OlympicMedalsTopCountries OlympicMedalsTopCountries
private RetailSalesPerformanceLocalDataSource _retailSalesPerformanceLocalDataSource = null;
public RetailSalesPerformanceLocalDataSource RetailSalesPerformanceLocalDataSource
{
get
{
if (_olympicMedalsTopCountries == null)
if (_retailSalesPerformanceLocalDataSource == null)
{
_olympicMedalsTopCountries = new OlympicMedalsTopCountries();
_retailSalesPerformanceLocalDataSource = new RetailSalesPerformanceLocalDataSource();
}
return _olympicMedalsTopCountries;
return _retailSalesPerformanceLocalDataSource;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//begin data
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Collections.ObjectModel;
using IgniteUI.Blazor.Controls;

public class HistoricalStockTSLA : List<HistoricalStockInfo>
{

public RetailSalesPerformanceLocalDataSource(){
this.DataSource = CodeGenHelper.FindByName<IList>("RetailSalesPerformanceData");
}

}

//end data
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@using IgniteUI.Blazor.Controls

<div class="container vertical">
<div class="container vertical fill">
<IgbDashboardTile
Name="dashboard"
@ref="dashboard"
DataSource="RetailSalesPerformanceLocalDataSource">
</IgbDashboardTile>

</div>
</div>

@code {

protected override async Task OnAfterRenderAsync(bool firstRender)
{
var dashboard = this.dashboard;

}

private IgbDashboardTile dashboard;

private RetailSalesPerformanceLocalDataSource _retailSalesPerformanceLocalDataSource = null;
public RetailSalesPerformanceLocalDataSource RetailSalesPerformanceLocalDataSource
{
get
{
if (_retailSalesPerformanceLocalDataSource == null)
{
_retailSalesPerformanceLocalDataSource = new RetailSalesPerformanceLocalDataSource();
}
return _retailSalesPerformanceLocalDataSource;
}
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<RazorLangVersion>3.0</RazorLangVersion>
<AssemblyName>Infragistics.Samples</AssemblyName>
<RootNamespace>Infragistics.Samples</RootNamespace>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn>1701;1702,IDE0028,BL0005,0219,CS1998</NoWarn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="IgniteUI.Blazor" Version="24.2.111" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0" />
<PackageReference Include="System.Net.Http.Json" Version="9.0.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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>("app");
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
// registering Ignite UI modules
builder.Services.AddIgniteUIBlazor(
typeof(IgbDashboardTileModule),
typeof(IgbDataChartDashboardTileModule),
typeof(IgbGeographicMapDashboardTileModule),
typeof(IgbLinearGaugeDashboardTileModule),
typeof(IgbPieChartDashboardTileModule),
typeof(IgbRadialGaugeDashboardTileModule)
);
await builder.Build().RunAsync();
}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//begin data
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Collections.ObjectModel;
using IgniteUI.Blazor.Controls;

public class HistoricalStockTSLA : List<HistoricalStockInfo>
{

public RetailSalesPerformanceLocalDataSource(){
this.DataSource = CodeGenHelper.FindByName<IList>("RetailSalesPerformanceData");
}

}

//end data
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/*
CSS styles are loaded from the shared CSS file located at:
https://static.infragistics.com/xplatform/css/samples/
*/
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="description" content="Explore samples of IgniteUI for Blazor components.">
<meta name="keywords" content="Sample, Example, Blazor, IgniteUI for Blazor, Components, Infragistics">
<meta name="author" content="Infragistics">
<title>Samples | IgniteUI for Blazor | Infragistics</title>
<base href="/" />
<link href="https://static.infragistics.com/xplatform/images/browsers/blazor.ico" rel="icon" type="image/x-icon">
<link href="https://static.infragistics.com/xplatform/css/samples/shared.v6.css" rel="stylesheet" />
<link href="https://static.infragistics.com/xplatform/css/samples/blazor.css" rel="stylesheet" />
<link href="index.css" rel="stylesheet" />
</head>

<body>
<app class="app"><img class="app-loading" src="https://static.infragistics.com/xplatform/images/browsers/loading.gif" /></app>
<div class="app-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="app-error-dismiss">🗙</a>
</div>
<!-- importing blazor bundle for IG controls: -->
<script src="_content/IgniteUI.Blazor/app.bundle.js"></script>
<script src="_framework/blazor.webassembly.js"></script>
</body>

</html>
Loading