Closed elitastic closed 2 years ago
Fixed by: https://github.com/chartjs/Chart.js/pull/9969 (not released yet)
I think this only affects the new types.
Edit: some explanation
font
or callout
. So those are undefined.
=> undefined
is added to the proxy _scopes
array, and the error happens when an option is read that would fallback to the element defaults (and is not found in the line defaults).Thanks for your help!
When writing annotations in array syntax, I get the following error (since version 1.2.0):
Cannot read properties of undefined (reading 'borderCapStyle')
Reproduction:
from
to