Skip to content

About

Custom components for PowerShell Universal apps: interactive Apache ECharts charts, a Perspective datagrid and a pivot report builder on pivotkit, fed straight from SQL, REST and PowerShell objects.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

118 Commits

Folders and files

powershell-universal-components

Custom components for PowerShell Universal apps, each one a PowerShell module you install on its own: interactive Apache ECharts charts, a Perspective datagrid, pivot and chart, and a pivot report builder, fed straight from SQL, REST and PowerShell.

CI PowerShell Gallery License: MIT

Documentation · Getting started · Compatibility · Releases

Note

The modules are 0.x. A minor release can break things. Each break is marked Breaking in the module's CHANGELOG.md. Upgrading says what to do. Versioning lists what the modules treat as public interface.

Modules

ECharts

ECharts: monthly mean temperature of six cities in 2024 and 2025 as lines, with a zoom slider

New-UDEChart draws 29 Apache ECharts chart types, from bars and lines to gantt charts, network graphs, and KPI matrices. Clicks filter other elements. Readers zoom, export, and go full screen.

Pivot

Pivot: mean temperature per month and city of six cities as a colour scale from blue to orange, with the tabs Table, Chart and Both

New-UDPivotReport is a pivot report builder on pivotkit (live demo). Readers drag fields into rows, columns, values and filters and get a table or a chart. They save views and export to Excel.

Perspective

Perspective: a bar chart of the mean temperature of six cities, with the toolbar Edit view, Table and Chart

New-UDPerspective is the Perspective datagrid, pivot table, and WebGL charts in one. Readers group, split, filter, and sort. A WebAssembly engine handles large row counts.

Quick start

Install-PSResource -Name PowerShellUniversal.Component.ECharts

A first app that runs on any PSU server: the ten verbs with the most PowerShell commands.

New-UDApp -Title 'Commands' -Content {
    $rows = Get-Command -CommandType Cmdlet, Function | Where-Object Verb |
        Group-Object Verb | Sort-Object Count -Descending |
        Select-Object -First 10 Name, Count
    New-UDEChart -Data $rows -Type bar -X Name -Y Count
}

With your own data it is the same call. From SQL Server, for example:

$byTeam = Invoke-Sqlcmd -Query 'SELECT Team, Priority, COUNT(*) AS Tickets FROM Tickets GROUP BY Team, Priority'
New-UDEChart -Data $byTeam -Type bar -X Team -Y Tickets -GroupBy Priority -Stacked

examples/quickstart.ps1 splits the bars into cmdlets and functions, and a click on a bar shows a toast:

The quick start app: stacked bars of PowerShell commands per verb, cmdlets and functions

DataTables, Invoke-RestMethod results and PowerShell objects go in as they are. Column names match without regard to case. A column name that matches no column shows the columns the data has.

Your own data from SQL, REST and PowerShell: Getting started.

Questions and help

Development

Build, tests, docs site and releases: Development. Contributors and coding agents: PRODUCT.md, AGENTS.md, CONTRIBUTING.md.

License

MIT. Bundled libraries keep their own licenses. The build writes their texts into each module's THIRD-PARTY-NOTICES.txt. Icon, header and social preview in assets/ are generated in eizedev/brand and licensed CC BY 4.0. The weather in the screenshots: data by Open-Meteo.com, CC BY 4.0, with modified Copernicus Climate Change Service information (sources).

About

Custom components for PowerShell Universal apps: interactive Apache ECharts charts, a Perspective datagrid and a pivot report builder on pivotkit, fed straight from SQL, REST and PowerShell objects.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages