New-UDChartJSMonitor
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.
-AutoRefresh
Automatically refresh the chart.
-RefreshInterval
The interval to refresh the chart in seconds.
-LoadData
The endpoint to load data from.
Common parameters
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
Outputs
Examples
Example 1
Last updated
Was this helpful?