Skip to main content

Area Charts

An area chart is used to visually represent quantity over a period of time. The quantity is laid out on the vertical axis, and the horizontal axis shows the time period being charted. What distinguishes an area chart from a line chart is the use of shaded regions below the line which better indicates the increase or decrease of volume.

To create an area chart, you must use a query that provides more than one data point in theĀ AggregatesĀ tab. Then the line is drawn between the data points to show the change.

For example, you'd use the following query to create an area chart:

error | timeslice 1m | count by _timeslice

which would produce results such as:
Result

Create an area chartā€‹

To add a panel with an area chart:

  1. Create or open a Dashboard and click onĀ Add Panel > Time SeriesĀ orĀ Add Panel > Categorical.
    time series or categorical
  2. Provide a Metric or Log query and pressĀ EnterĀ for it to run.
  3. Once the query runs you will need to flip the chart type to Area.
    Dashboard Area Chart
  4. Modify the chart as desired.
  5. Click theĀ Add to DashboardĀ button on the top right of the window to add the panel to your dashboard.
    Add to Dashboard button
Status
Legal
Privacy Statement
Terms of Use

Copyright Ā© 2024 by Sumo Logic, Inc.