Skip to content

Commit

Permalink
#368: Adds height/width for counter charts
Browse files Browse the repository at this point in the history
  • Loading branch information
Badgerati committed Jun 24, 2024
1 parent e441abe commit 582e79e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Public/Elements.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2046,6 +2046,14 @@ function New-PodeWebCounterChart {
[int]
$MaxItems = 30,

[Parameter()]
[string]
$Height = 0,

[Parameter()]
[string]
$Width = 0,

[Parameter()]
[int]
$MinX = [int]::MinValue,
Expand Down Expand Up @@ -2091,6 +2099,8 @@ function New-PodeWebCounterChart {
-DisplayName $DisplayName `
-Type Line `
-MaxItems $MaxItems `
-Height $Height `
-Width $Width `
-ArgumentList $Counter `
-Append `
-TimeLabels `
Expand Down

0 comments on commit 582e79e

Please sign in to comment.