r/PowerShell • • Nov 06 '17

FoxDeploy: Creating Glorious PowerShell Dashboards

https://foxdeploy.com/2017/11/06/glorious-powershell-dashboards/
170 Upvotes

46 comments sorted by

View all comments

4

u/[deleted] Nov 08 '17

Hey, everybody! Adam here.

I'm happy to answer any questions. If you are looking for more information, here are some good resources.

Documentation

PoshTools Blog

Example Dashboard

Gitter Help Chatroom

Where to buy licenses

1

u/Fischfreund Nov 10 '17

Hi,

any way to define min and max values for the New-UDMonitor cmdlet? I created a new Monitor like

New-UdMonitor -Title "Ping New Zealand" -Type Line -DataPointHistory 20 -RefreshInterval 2 -ChartBackgroundColor '#80FF6B63' -ChartBorderColor '#FFFF6B63'  -Endpoint {
Test-Connection wellington.nz.com -Count 1 | Select-Object -ExpandProperty ResponseTime | Out-UDMonitorData

And it obviously shows like this: https://i.imgur.com/ARiMYvq.png

Can I set the Y axis to 0?

2

u/[deleted] Nov 10 '17

You can pass ChartJS options into the New-UDChart cmdlet. Try the options parameter like this:

-Options @{ scales = @{ yAxes = @( @{ ticks = @{ beginAtZero = $true } } ) } }

1

u/nittanygeek Nov 22 '17

This doesn't seem to work with New-UDMonitor. I'm getting the same results as /u/Fischfreund. Any fix for this?