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 tooltips, learn how to program the Chart.js API, and you will learn how to create your own plugins.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset