# New-ChartDesign

Configures charts gradient, image, pattern and dropShadow options.

Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

[View on GitHub](https://github.com/EvotecIT/PSWriteHTML) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteHTML/releases/tag/v1.41.0) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteHTML/1.40.0)

Stars **1,025**

Forks **114**

Open issues 

PowerShell Gallery downloads **7,576,901**

Release **v1.45.0**

Language: PowerShell Updated: 2026-11-19

Command 

**Module**

`PSWriteHTML`

Configures charts gradient, image, pattern and dropShadow options

## 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>]
```

[#](#member-b314ca65843340880d1641db)

Parameter set: `All Parameter Sets`

## Description

Long description

## Examples

### Example 1

```powershell
An example
```

## Parameters

**-DropShadowBlur Nullable<T> optionalposition: 18**

Set blur distance for shadow

**-DropShadowColor String[] optionalposition: 16**

Give a color to the shadow. If array is provided, each series can have different shadow color

**-DropShadowEnabled SwitchParameter optional**

Enable a dropshadow for paths of the SVG

**-DropShadowEnabledOnSries Array optionalposition: 14**

Provide series index on which the dropshadow should be enabled.

**-DropShadowLeft Nullable<T> optionalposition: 17**

Set left offset for shadow

**-DropShadowOpacity Nullable<T> optionalposition: 19**

Set the opacity of shadow

**-DropShadowTop Nullable<T> optionalposition: 15**

Set top offset for shadow

**-GradientGradientToColors String[] optionalposition: 3**

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 optional**

Inverse the start and end colors of the gradient.

**-GradientOpacityFrom Single[] optionalposition: 4**

Start color's opacity. If you want different opacity for different series, you can pass an array of numbers.

**-GradientOpacityTo Single[] optionalposition: 5**

End color's opacity. If you want different opacity for different series, you can pass an array of numbers.

**-GradientShade String optionalposition: 0**

Available options for gradient shade

Possible values: `light`, `dark`

**-GradientShadeIntensity Nullable<T> optionalposition: 2**

Intensity of the gradient shade

**-GradientStops Object optionalposition: 6**

Stops defines the ramp of colors to use on a gradient

**-GradientType String optionalposition: 1**

Available options for gradient type

Possible values: `horizontal`, `vertical`, `diagonal1`, `diagonal2`

**-ImageHeight String[] optionalposition: 9**

Height of each image for all the series

**-ImageSource String[] optionalposition: 7**

Accepts an array of image paths which will correspond to each series.

**-ImageWidth String[] optionalposition: 8**

Width of each image for all the series

**-PatternHeight String optionalposition: 12**

Pattern height which will be repeated at this interval

**-PatternStrokeWidth String optionalposition: 13**

Pattern lines width indicates the thickness of the stroke of pattern.

**-PatternStyle String optionalposition: 10**

Available pattern styles

Possible values: `verticalLines`, `horizontalLines`, `slantedLines`, `squares`, `circles`

**-PatternWidth String optionalposition: 11**

Pattern width which will be repeated at this interval

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:1136F08FB0F42807C06DDBFF2DEB9FB1D77C7646B13BAC947B01472C11998F3B -->
