For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDChartJSMonitor

A chart that continuously updates with new data.

Synopsis

A chart that continuously updates with new data.

Syntax

New-UDChartJSMonitor [[-Id] <String>] [[-Type] <String>] [[-DataPointHistory] <Int32>] [[-Options] <Hashtable>] [[-ChartBackgroundColor] <DashboardColor[]>] [[-ChartBorderColor] <DashboardColor[]>] [-Labels] <String[]> [-AutoRefresh] [[-RefreshInterval] <Int32>] [-LoadData] <Endpoint> [<CommonParameters>]

Description

A chart that continuously updates with new data.

Parameters

-Id

The ID of the chart. Defaults to a new GUID.

Required?                    false
Position?                    1
Default value                [Guid]::NewGuid()
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-Type

The type of chart to display. Defaults to 'line'.

-DataPointHistory

The number of data points to display on the chart. Defaults to 10.

-Options

The options for the chart. See the ChartJS documentation for more information.

-ChartBackgroundColor <DashboardColor[]>

The background color of the chart.

-ChartBorderColor <DashboardColor[]>

The border color of the chart.

-Labels <String[]>

The labels for the chart.

-RefreshInterval

The interval to refresh the chart in seconds.

-LoadData

The endpoint to load data from.

Outputs

-------------------------- EXAMPLE 1 --------------------------

Last updated

Was this helpful?