February 2019
Beginner to intermediate
284 pages
6h 20m
English
Text can be included in many different objects. Each data object can have a list of categories, each dataset can have a legend, the chart can have a title, and tooltips can have titles and other information. Some text is visible or invisible by default. You can configure the visibility, font families, font sizes, and colors of any text inside a chart.
Fonts can be applied globally (for all charts) using default configurations. Using the options configuration object, they can be applied locally to titles and legends, which are also configured as objects.
In our chart, we have a single dataset, which makes the legend superfluous. You can hide it by changing the legend.display property to false, as follows:
options: { // configure ...Read now
Unlock full access