Example of Area in Javascript Chart Control


This sample visualizes the data about average sales comparison of two products by using default area series in the chart. Legend in the sample shows the information about the series.

More Details...


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 series, we need to inject AreaSeries module using Chart.Inject(AreaSeries) method. More information on the area series can be found in this documentation section.