Example of undefined in Javascript Chart Control

/
/
Negative Stack

This sample illustrates a stacked bar chart representing the population distribution by age and gender, including negative data points. Data point values are displayed as data labels.

More Details...

Description

In this example, you can see how to render and configure negative values in a stacked bar chart. The stacked bar chart stacks points in the series horizontally. Tooltips are enabled in this example. To see the tooltip in action, hover over a point or tap on a point in touch-enabled devices. Injecting Module Chart component features are segregated into individual feature-wise modules. To use bar series, we need to inject StackingBarSeries module using Chart.Inject(StackingBarSeries) method. More information on the stacked bar series can be found in this documentation section.