Example of undefined in Javascript Chart Control

Area - Negative Points

This sample illustrates an area series with negative values. Data points with negative values are shown here.

More Details...


In this example, you can see how to render an area series with negative values. Similar to line type series, but the area gets closed and filled with series color. You can use border and fill properties to customize the area. Also, the legend is enabled with the shape of the series type. Injecting Module Chart component features are segregated into individual feature-wise modules. To use area series, we need to inject AreaSeries module using Chart.Inject(AreaSeries) method. More information on the negative points can be found in this documentation section.