Setting font for entire chart in Angular. #9325
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Afaik there is no font property in the options object, only the legend, axis and every other space has their own font config. |
Beta Was this translation helpful? Give feedback.
-
I worked around font setting with use of Partial and DeepPartial. VS Code IntelliSense works fine and compiler doesn't complain. I still hope font applied to ChartOptions would actually set font for entire chart somewhere in the future. |
Beta Was this translation helpful? Give feedback.
I worked around font setting with use of Partial and DeepPartial.
It collides a bit with idea of strict type checking, but it will work this way:
VS Code IntelliSense works fine and compiler doesn't complain.
I still hope font applied to ChartOptions would actually set font for entire chart somewhere in the future.