This module is for Charting in PowerShell! Quickly see your data in a bar chart, line chart, or scatter chart!
See more examples in the tests.
This can be installed from the PowerShell Gallery
Install-Module -Name PowerChart- PowerShell 5.1 has an issue with TypeData so you will need to import separately
Import-Module -Name PowerChart $typedata = Get-Module -Name PowerChart | Select-Object -ExpandProperty FileList Update-TypeData -AppendPath $typedata
- Create a chart
$chart = New-Chart
- Add some data to a series
Get-Process | Add-Scatter -Chart $chart -XProperty Id -YProperty CPU -Color Red -ErrorAction SilentlyContinue
- Display the chart
Show-Chart -Chart $chart

- Optionally wait for the chart to be closed by the user
$chart.Dialog.Join()
- I have experienced issues with PowerShell 5.1 importing TypeData during the import of the module. The workaround is to import the TypeData manually (see Quick Start).
- This module currently only works with
Int32andDoubleproperties. The latter is casted intoInt32. - Unfortunately
net-standardcannot be used as good practice dictates because theSystem.Windows.Formsinnet6.0-windowsis actually a fork ofnet481; and not included nor compatible innet-standard. Instead both versions are shipped in the same package and chosen according to the runtime environment.