Open the StackedareaChart
screen controller and replace its content with the following code:
link:../../../../../source/chart/StackedAreaChart.java[role=include]
The onInit
method submits data to the chart as a rolling value. This type of charts shows the ratio of separate parts to their total value.