# syncfusionexamples/performance-metrics-samples-for-.net-maui-charts architecture

> Architecture diagram of the GitHub repository syncfusionexamples/performance-metrics-samples-for-.net-maui-charts, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts
- Repository: https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts

## Overview

This .NET MAUI sample lets a user load 10K, 50K, or 100K randomized points into a Syncfusion FastLine chart and observe elapsed render time. The principal flow is button selection, data generation, chart binding and rendering, then display of the timing result. MauiProgram configures the app and Syncfusion core. The chart and UI wiring are documented in the README; the XAML and other unsampled files were not inspected, so some UI relationships rely on that documentation.

Main entry points: [`PerformanceMetrics/MainPage.xaml.cs`](https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/MainPage.xaml.cs) (Load controls), [`PerformanceMetrics/App.xaml.cs`](https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/App.xaml.cs) (Application), [`PerformanceMetrics/MauiProgram.cs`](https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/MauiProgram.cs) (MAUI setup), [`PerformanceMetrics/AppShell.xaml.cs`](https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/AppShell.xaml.cs) (App shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["MAUI application"]
  node_maui_setup["MAUI setup<br/>[MauiProgram.cs]"]
  node_app["Application<br/>[App.xaml.cs]"]
  node_shell["App shell<br/>[AppShell.xaml.cs]"]
end

subgraph group_workflow["Performance workflow"]
  node_page["Load controls<br/>[MainPage.xaml.cs]"]
  node_generator["Data generator<br/>[DataGenerator.cs]"]
  node_render_timing["Render timing<br/>[MainPage.xaml.cs]"]
  node_result["Elapsed-time display<br/>[DataGenerator.cs]"]
end

subgraph group_integration["Chart integration"]
  node_chart["Syncfusion FastLine chart"]
end

node_user(("User"))

node_maui_setup -->|"configures"| node_app
node_app -->|"creates"| node_shell
node_user -->|"selects data size"| node_page
node_page -->|"requests data"| node_generator
node_page -->|"binds points"| node_chart
node_chart -->|"renders series"| node_render_timing
node_render_timing -->|"updates elapsed time"| node_result

click node_maui_setup "https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/MauiProgram.cs"
click node_app "https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/App.xaml.cs"
click node_shell "https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/AppShell.xaml.cs"
click node_page "https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/MainPage.xaml.cs"
click node_generator "https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/DataGenerator.cs"
click node_render_timing "https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/MainPage.xaml.cs"
click node_result "https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/DataGenerator.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_maui_setup,node_app,node_shell,node_user toneBlue
class node_page,node_generator,node_render_timing,node_result toneAmber
class node_chart toneMint
```

## Components

### MAUI application

- [MAUI setup](https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/MauiProgram.cs): `PerformanceMetrics/MauiProgram.cs`
- [Application](https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/App.xaml.cs): `PerformanceMetrics/App.xaml.cs`
- [App shell](https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/AppShell.xaml.cs): `PerformanceMetrics/AppShell.xaml.cs`

### Performance workflow

- [Load controls](https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/MainPage.xaml.cs): `PerformanceMetrics/MainPage.xaml.cs`
- [Data generator](https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/DataGenerator.cs): `PerformanceMetrics/DataGenerator.cs`
- [Render timing](https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/MainPage.xaml.cs): `PerformanceMetrics/MainPage.xaml.cs`
- [Elapsed-time display](https://github.com/syncfusionexamples/performance-metrics-samples-for-.net-maui-charts/blob/master/PerformanceMetrics/DataGenerator.cs): `PerformanceMetrics/DataGenerator.cs`

### Chart integration

- **Syncfusion FastLine chart**

### Other components

- **User**

## Connections

- MAUI setup → Application: configures (evidence: `PerformanceMetrics/MauiProgram.cs`)
- Application → App shell: creates (evidence: `PerformanceMetrics/App.xaml.cs`)
- User → Load controls: selects data size (evidence: `README.md`)
- Load controls → Data generator: requests data (evidence: `PerformanceMetrics/MainPage.xaml.cs`)
- Load controls → Syncfusion FastLine chart: binds points (evidence: `README.md`)
- Syncfusion FastLine chart → Render timing: renders series (evidence: `README.md`)
- Render timing → Elapsed-time display: updates elapsed time (evidence: `PerformanceMetrics/MainPage.xaml.cs`)
