New-UDChartJS - Hiding Labels / Legends

Product: PowerShell Universal
Version: 4.1.8

I’m trying to hide the axes labels and legend.

This code works on the chart.js demo:

const config = {
  type: 'line',
  data: data,
  options: {
    plugins: { legend: { display: false } },
    scales: {
      y: { ticks: { display: false } },
      x: { ticks: { display: false } }
    }
  }
};

But this code doesn’t produce the same results:

$ChartSplat = @{
    Type          = 'line'
    Data          = $Data
    DataProperty  = 'Amount'
    LabelProperty = 'Date'
    Options = @{
        plugins = @{ legend = @{ display = $false } }
        scales = @{
            y = @{ ticks = @{ display = $false } }
            x = @{ ticks = @{ display = $false } }
        }
    }
}
New-UDChartJS @EmploymentTrendsChart

Just wanna chime in that I’m having no luck hiding labels either.