Charjs Line chart - beginatZero?

What is everyones preferred method of getting a line chart to begin at zero?
The examples found in older posts on the forums does not work anymore.

$Options = @{
  Type          = 'line'
  Data          = $PingReportCombinedScoreList
  Dataset       = $DataSet
  LabelProperty = "Date"
  Options       = @{
      scales = @{
          yAxes = @(
              @{
                  ticks   = @{
                      beginAtZero = $true
                  }
              }
          )
      }
  }
}

New-UDChartJS @Options

might wanna patch!

updating didn’t fix.
Not a single example on the forums worked, I suspect that the ChartJS library was updated to a version where the options formatting was changed.

iin the end, this worked:

$Options = @{
    Type          = 'line'
    Data          = $PingReportCombinedScoreList
    Dataset       = $DataSet
    LabelProperty = "Date"
    Options       = @{
        scales = @{
            yAxes =
            @{
                display     = $true
                beginAtZero = $true
            }
        }
    }
}

New-UDChartJS @Options