chartjs / chartjs-plugin-annotation

Annotation plugin for Chart.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Font config should be partial

oliviervanbulck opened this issue · comments

When using font config in an annotation, typescript gives an TS2739 error that says that you have to implement all font properties. Because this is an object that overrides the global font config, this should be partial so you can alter only specific elements.

image

PR #849 submitted