Skip to content
ConsoleMonster
Cmdlet

New-ConsoleLineChart

Module ConsoleMonster
Inputs
None
Outputs
ConsoleMonster.Widgets.LineChart

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 Sets

Description

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

Authored help example

EXAMPLE 1

New-ConsoleLineChart -Name 'Name'

Parameters

-Data IDictionary optionalposition: 0
Series names mapped to value arrays.
-Height Int32 optional
Rows including the axis (default 8).
-Name String optional
The live name (default chart).
-Scatter SwitchParameter optional
Draw points instead of lines.
-Series String[] optional
Series to declare without values (for live charts).
-Unit String optional
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.