Summary
In this chapter, we explored several ways to configure the look and feel of interactive charts created with Chart.js, using native properties, as well as some extensions and plugins.
We first learned how to set global defaults, which can be inherited by multiple charts and used to set a consistent theme across different charts, sharing basic layout, fonts, and color schemes. We also explored some online services, tools, extensions, and plugins for styling charts and adding labels. Then we configured the behavior of a chart after updates and user interactions, tinkering with animation algorithms and callbacks.
You already know enough Chart.js to create any chart. In the next chapter, we will dive deeper into some of these topics, configure ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access