Skip to content

New-ChartLine

SYNOPSIS

Add a line to a chart

SYNTAX

New-ChartLine [[-Name] <String>] [[-Value] <Object>] [[-Color] <String>] [[-Curve] <Object>] [[-Width] <Int32>]
 [[-Cap] <String>] [[-Dash] <Int32>] [<CommonParameters>]

DESCRIPTION

Add a line to a chart

EXAMPLES

EXAMPLE 1

An example

PARAMETERS

-Name

Name of the line

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Value

Values to display

Type: System.Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Color

Colors to fill the border for paths.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Curve

Whether to draw smooth lines or straight lines

Type: System.Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Width

Sets the width of border for svg path

Type: System.Nullable`1[System.Int32]
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Cap

For setting the starting and ending points of stroke

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Dash

Creates dashes in borders of svg path. Higher number creates more space between dashes in the border.

Type: System.Nullable`1[System.Int32]
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

General notes

Back to top