Open ddhogan opened 2 months ago
The configuration section (https://www.chartjs.org/docs/latest/configuration/title.html#title-configuration) indicates that the padding property is scriptable, but the allowed types include only number | { top: number; bottom: number } and not Scriptable or ScriptableOptions, etc: https://github.com/chartjs/Chart.js/blob/ec927ee0854b7369b892afbdb14d5a12196887de/src/types/index.d.ts#L2543
padding
number | { top: number; bottom: number }
Scriptable
ScriptableOptions
It appears that either:
Title
No response
Documentation Is:
Please Explain in Detail...
The configuration section (https://www.chartjs.org/docs/latest/configuration/title.html#title-configuration) indicates that the
padding
property is scriptable, but the allowed types include onlynumber | { top: number; bottom: number }
and notScriptable
orScriptableOptions
, etc: https://github.com/chartjs/Chart.js/blob/ec927ee0854b7369b892afbdb14d5a12196887de/src/types/index.d.ts#L2543Your Proposal for Changes
It appears that either:
padding
on theTitle
element is not scriptablenumber | { top: number; bottom: number }
Example
No response