Cmdlet
New-ConsoleLineChart
Creates a line or scatter chart (braille on modern fonts, half blocks on Consolas, characters in ASCII mode).
Syntax
New-ConsoleLineChart [[-Data] <IDictionary>] [-Height <Int32>] [-Name <String>] [-Scatter] [-Series <String[]>] [-Unit <String>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Creates a line or scatter chart (braille on modern fonts, half blocks on Consolas, characters in ASCII mode).
-Data maps series names to arrays of values; values are spaced evenly. Append values live with Add-ConsoleValue -Key series.
Examples
EXAMPLE 1
New-ConsoleLineChart -Name 'Name'Parameters
- -Data IDictionary
- Series names mapped to value arrays.
- -Height Int32
- Rows including the axis (default 8).
- -Name String
- The live name (default chart).
- -Scatter SwitchParameter
- Draw points instead of lines.
- -Series String[]
- Series to declare without values (for live charts).
- -Unit String
- A unit for the axis labels.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.