Evotec

Project

PSWriteHTML

PSWriteHTML is an open-source PowerShell project with packages, release history, and working documentation.

Stars 995
Forks 114
Open issues 69
PowerShell Gallery downloads 7,436,513
Release v1.41.0
Language: PowerShell Updated: 2026-04-11

API Reference

Function

New-ChartLine

Namespace PSWriteHTML

Add a line to a chart

Remarks

Add a line to a chart

Examples

Authored help example

EXAMPLE 1


An example
        

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.

Syntax

New-ChartLine [-Cap <butt|square|round>] [-Color <String>] [-Curve <straight|smooth|stepline>] [-Dash <Nullable`1>] [-Name <String>] [-Value <Object>] [-Width <Nullable`1>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Cap String optionalposition: 5pipeline: Falsevalues: 3
For setting the starting and ending points of stroke
Possible values: butt, square, round
Color String optionalposition: 2pipeline: False
Colors to fill the border for paths.
Curve Object optionalposition: 3pipeline: Falsevalues: 3
Whether to draw smooth lines or straight lines
Possible values: straight, smooth, stepline
Dash Nullable`1 optionalposition: 6pipeline: False
Creates dashes in borders of svg path. Higher number creates more space between dashes in the border.
Name String optionalposition: 0pipeline: False
Name of the line
Value Object optionalposition: 1pipeline: False
Values to display
Width Nullable`1 optionalposition: 4pipeline: False
Sets the width of border for svg path