# New-ImageChartLine

Creates line chart data item. Review available syntax, parameters, pipeline guidance, and reference details in ImagePlayground API Reference.

Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

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

Stars **102**

Forks **7**

Open issues 

Total downloads **708,853**

Release **ImagePlayground-PowerShellModule.v3.2.7**

Language: C# Updated: 2026-11-18

Command 

**Module**

`ImagePlayground`

**Inputs**

`None`

Creates line chart data item.

## Syntax

```
New-ImageChartLine
[-Color <ChartColor>]
[-Marker <Circle>]
[-Name] <String>
[-Smooth]
[-Value] <Double[]>
[<CommonParameters>]
```

[#](#method-new-imagechartline-chartcolor-chartmarkershape-string-switchparameter-double)

Parameter set: `All Parameter Sets`

## Description

Use this cmdlet inside New-ImageChart to define a line-series dataset.

## Examples

### Create line-series data

```powershell
New-ImageChartLine -Name 'Sales' -Value 10,20,18,24 -Color Green -Smooth
```

Creates a smoothed line-series definition ready to be rendered by New-ImageChart.

## Parameters

**-Color ChartColor optional**

Line color.

**-Marker ChartMarkerShape optional**

None suppresses line markers; Circle enables ChartForgeX's shared line-marker style.

Possible values: `Circle`

**-Name String requiredposition: 0aliases: Label**

Label for the line.

**-Smooth SwitchParameter optional**

Render the line using a smooth curve.

**-Value Double[] requiredposition: 1**

Y values for the line.

## 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:37705D6F42B15B64929D847C5E039F24F6695214302E014E7FBC05A79B20B0AE -->
