Nivochart in v5

In Powershell Universal version 5 it seems that NivoCharts are not yet properly functioning. The OnClick function is not working, see example code:

    $Data = 1..10 | ForEach-Object { 
        $item = Get-Random -Max 1000 
        [PSCustomObject]@{
            Name = "Test$item"
            Value = $item
        }
    }
    New-UDNivoChart -Id 'autoRefreshingNivoBar' -Bar -Keys "value" -IndexBy 'name' -Data $Data -Height 500 -Width 1000 -OnClick{
        Show-UDModal -Content {
             New-UDHtml -Markup "Hello Nivo Chart"
        }
    }

In addition it doesn’t seems to want to use Theme’s anymore like it did in the v4, it throws errors. Example code:

$ThemeN = @{
    textColor = '#2d5856'
    tooltip = @{
        container = @{
            #background = 'Green'
            color = 'Black'
        }                 
    }
    axis = @{
        ticks = @{
            line = @{
                #stroke = '#e5b80b'
            }
        }                   
    }
    labels = @{
        text = @{
            fill = '#2d5856'
        }
    }  
}
Product: PowerShell Universal
Version: 5.0.2

I’ve opened an issue for this. These should work.

Fixed in 5.0.5 confirmed.