-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b18b54c
commit 78d6ecb
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
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 |