Update HTML example

This commit is contained in:
dfinke
2022-06-17 11:37:54 -04:00
parent 701b8e2062
commit 835a11bbb3

View File

@@ -15,6 +15,6 @@ param(
$galleryUrl = "https://www.powershellgallery.com/packages/$moduleName"
$nolegend = '-nolegend'
if($chartType -eq 'pie') {$nolegend = $null}
$code = "$($chartType)Chart (Get-HtmlTable $galleryUrl 0 | sort lastupdated -desc) -title 'Download stats for $moduleName' $nolegend"
$code = "$($chartType)Chart (Get-HtmlTable $galleryUrl -FirstDataRow 1 | sort lastupdated -desc) -title 'Download stats for $moduleName' $nolegend"
$code | Invoke-Expression