Example of undefined in Angular Chart Component

This sample illustrates an area series with empty points. Data points with null points are shown here.

Data ConsumptionAndrewThomas
Description

In this example, you can see how to render an area series with empty points. Also, a legend is enabled in the shape of the series.

Tooltips are enabled in this example. To see a tooltip in action, hover over or tap on the chart.


Injecting Module

Chart component features are segregated into individual feature-wise modules. To use area series feature, we need to inject AreaService into the @NgModule.providers section.

More information about the empty points can be found in this documentation section.