# Charts Design

Charts Design on Evotec with practical examples, usage guidance, and reusable project workflows.

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)

Stars**1025**

Forks**115**

Open issues**0**

PowerShell Gallery downloads**7576901**

Release**v1.45.0**

Language: PowerShell Updated: 2026-11-19

Curated Examples

An example script from the PSWriteHTML repository.

- Source repository: [https://github.com/EvotecIT/PSWriteHTML](https://github.com/EvotecIT/PSWriteHTML)
- Example group: `Example-Charts`

```powershell
Import-Module .\PSWriteHTML.psd1 -Force

New-HTML -TitleText 'My title' -Online -FilePath $PSScriptRoot\Example-ChartsDesign.html {
    New-HTMLSection -HeaderText 'Bar Charts - Test' -CanCollapse {
        New-HTMLPanel {
            New-HTMLChart {
                New-ChartLegend -LegendPosition bottom -HorizontalAlign right -Color Red, Blue, Yellow -DisableOnItemHoverHighlightDataSeries -DisableOnItemClickToggleDataSeries
                New-ChartAxisY -LabelMaxWidth 200 -LabelAlign left -Show -LabelFontColor Red, Blue, Green -TitleText 'This is title for y Axis' -TitleColor Red
                New-ChartBarOptions -Distributed
                New-ChartBar -Name 'Test very long' -Value 1
                New-ChartBar -Name 'Test1' -Value 20
                New-ChartBar -Name 'Test2 and even longer title' -Value 30

                New-ChartDesign -GradientShade light -GradientType diagonal1 -GradientInverseColors
            } -Title 'Testing Title' -TitleAlignment center -SubTitle 'Because SubTitles are better' -SubTitleAlignment center -SubTitleFontSize 30 -TitleColor Gold
        }
    }
} -Show
```

<!-- PowerForge markdown artifact sha256:C150043188955E4AB73C1C202D4C1D5E6F89D7095A90430587D43B4E1ED25DF4 -->
