- Learning jqPlot
- Scott Gottreu
- 289字
- 2021-09-03 09:49:43
Understanding area and stacked area charts
Area charts come in two varieties. The default type of area chart is simply a modification of a line chart. Everything from the data point on the y axis all the way to zero is shaded. In the event your numbers are negative, then the data above the line up to zero is shaded in. Each data series you have is laid upon the others. Area charts are best to use when we want to compare similar elements, for example, sales by each division in our company or revenue among product categories.
The other variation of an area chart is the stacked area chart. The chart starts off being built in the same way as a normal area chart. The first line is plotted and shaded below the line to zero. The difference occurs with the remaining lines. We simply stack them. To understand what happens, consider this analogy.
Each shaded line represents a wall built to the height given in the data series. Instead of building one wall behind another, we stack them on top of each other. What can be hard to understand is the y axis. It now denotes a cumulative total, not the individual data points.
For example, if the first y
value of a line is 4
and the first y
value on the second line is 5
, then the second point will be plotted at 9
on our y axis. Consider this more complicated example: if the y
value in our first line is 2
, 7
for our second line, and 4
for the third line, then the y
value for our third line will be plotted at 13
. That's why we need to compare similar elements.
- LabVIEW2018中文版 虛擬儀器程序設計自學手冊
- Microsoft Application Virtualization Cookbook
- Java游戲服務器架構實戰
- 差分進化算法及其高維多目標優化應用
- SQL Server 2016數據庫應用與開發習題解答與上機指導
- PySide GUI Application Development(Second Edition)
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- 計算機應用基礎案例教程
- Rust游戲開發實戰
- Application Development with Swift
- Learning Grunt
- Python 快速入門(第3版)
- ASP.NET Core and Angular 2
- React and React Native
- 區塊鏈:技術與場景