Example of Area in Javascript Chart Control


This sample demonstrates polar series with area type for average sales comparison of products in recent year. The switching between polar and radar series can be done by using Series Type in property panel.

More Details...

Series Type:

In this example, you can see how to render and configure the area type charts. Similar to line type series, but the area get closed and filled with series color. You can use border, fill properties to customize the area. marker and dataLabel are used to represent individual data and its value. Legend is enabled in this example with series type shape. Injecting Module Chart component features are segregated into individual feature-wise modules. To use area drawtype in Polar series and Radar series, we need to inject PolarSeries, RadarSeries and AreaSeries module using Chart.Inject(PolarSeries, RadarSeries, AreaSeries) method. More information on the Polar series can be found in this documentation section.