NivoChart OnClick Broken

Can anyone confirm that the OnClick eventhandler of New-UDNivoChart is broken?
My guess somewhere after the 3.5.5 release.

Reproducible with Example code: Charts - PowerShell Universal

Product: PowerShell Universal
Version: 3.8.0

I’ve tested the following code:

New-UDDashboard -Title 'PowerShell Universal' -Content {
    $TreeData = @{
        Name     = "root"
        children = @(
            @{
                Name  = "first"
                children = @(
                    @{
                        Name = "first-first"
                        Count = 7
                    }
                    @{
                        Name = "first-second"
                        Count = 8
                    }
                )
            },
            @{
                Name  = "second"
                Count = 21
            }
        )
    }

    New-UDNivoChart -Bubble -Data $TreeData -Value "count" -Identity "name" -Height 500 -Width 800
}

This works in 3.7.14 but does not in 3.8.0.

Error:

Both of these issues will be fixed in 3.8.1.

2 Likes