Multiple Values in UDMonitor

#1

Hello all,

is it possible to add 2 Values to the same UDMonitor?
the Log has both Values but wont add a single one, is there a other way arround or do i need
to use Charts for this kind of cenario?

regards
Elmar

    New-UDMonitor -Title "Test" -Type Line -Endpoint {

        $Sessionstest = @()
        $Sessionstest += (Get-Random -Minimum 1 -Maximum 20)
        $Sessionstest += (Get-Random -Minimum 1 -Maximum 20)

        Out-UDMonitorData -Data $Sessionstest[0], $Sessionstest[1]


    } -DataPointHistory 20 -RefreshInterval 10

16:38:02 [Debug] ComponentController ConvertToActionResult() [
{
“y”: 19,
“x”: “/Date(1557499082481)/”
},
{
“y”: 14,
“x”: “/Date(1557499082481)/”
}
]