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-ChartDesign

Aliases: New-ChartFill
Namespace PSWriteHTML
Aliases
New-ChartFill

Configures charts gradient, image, pattern and dropShadow options

Remarks

Long description

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-ChartDesign [-DropShadowBlur <Nullable`1>] [-DropShadowColor <String[]>] [-DropShadowEnabled] [-DropShadowEnabledOnSries <Array>] [-DropShadowLeft <Nullable`1>] [-DropShadowOpacity <Nullable`1>] [-DropShadowTop <Nullable`1>] [-GradientGradientToColors <String[]>] [-GradientInverseColors] [-GradientOpacityFrom <Single[]>] [-GradientOpacityTo <Single[]>] [-GradientShade <light|dark>] [-GradientShadeIntensity <Nullable`1>] [-GradientStops <Object>] [-GradientType <horizontal|vertical|diagonal1|diagonal2>] [-ImageHeight <String[]>] [-ImageSource <String[]>] [-ImageWidth <String[]>] [-PatternHeight <String>] [-PatternStrokeWidth <String>] [-PatternStyle <verticalLines|horizontalLines|slantedLines|squares|circles>] [-PatternWidth <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

DropShadowBlur Nullable`1 optionalposition: 18pipeline: False
Set blur distance for shadow
DropShadowColor String[] optionalposition: 16pipeline: False
Give a color to the shadow. If array is provided, each series can have different shadow color
DropShadowEnabled SwitchParameter optionalposition: namedpipeline: False
Enable a dropshadow for paths of the SVG
DropShadowEnabledOnSries Array optionalposition: 14pipeline: False
Provide series index on which the dropshadow should be enabled.
DropShadowLeft Nullable`1 optionalposition: 17pipeline: False
Set left offset for shadow
DropShadowOpacity Nullable`1 optionalposition: 19pipeline: False
Set the opacity of shadow
DropShadowTop Nullable`1 optionalposition: 15pipeline: False
Set top offset for shadow
GradientGradientToColors String[] optionalposition: 3pipeline: False
Optional colors that ends the gradient to. The main colors array becomes the gradientFromColors and this array becomes the end colors of the gradient. Each index in the array corresponds to the series-index.
GradientInverseColors SwitchParameter optionalposition: namedpipeline: False
Inverse the start and end colors of the gradient.
GradientOpacityFrom Single[] optionalposition: 4pipeline: False
Start color's opacity. If you want different opacity for different series, you can pass an array of numbers.
GradientOpacityTo Single[] optionalposition: 5pipeline: False
End color's opacity. If you want different opacity for different series, you can pass an array of numbers.
GradientShade String optionalposition: 0pipeline: Falsevalues: 2
Available options for gradient shade
Possible values: light, dark
GradientShadeIntensity Nullable`1 optionalposition: 2pipeline: False
Intensity of the gradient shade
GradientStops Object optionalposition: 6pipeline: False
Stops defines the ramp of colors to use on a gradient
GradientType String optionalposition: 1pipeline: Falsevalues: 4
Available options for gradient type
Possible values: horizontal, vertical, diagonal1, diagonal2
ImageHeight String[] optionalposition: 9pipeline: False
Height of each image for all the series
ImageSource String[] optionalposition: 7pipeline: False
Accepts an array of image paths which will correspond to each series.
ImageWidth String[] optionalposition: 8pipeline: False
Width of each image for all the series
PatternHeight String optionalposition: 12pipeline: False
Pattern height which will be repeated at this interval
PatternStrokeWidth String optionalposition: 13pipeline: False
Pattern lines width indicates the thickness of the stroke of pattern.
PatternStyle String optionalposition: 10pipeline: Falsevalues: 5
Available pattern styles
Possible values: verticalLines, horizontalLines, slantedLines, squares, circles
PatternWidth String optionalposition: 11pipeline: False
Pattern width which will be repeated at this interval