Skip to main content
Version: NG-3.1

Area Chart

Overview

An Area Chart is used to display data over time. It plots data points along the x-axis (time) and y-axis (values) and connects them with lines. The area below the line is filled to highlight the magnitude of the trend. Similar trend-based visualizations are commonly seen in smartphone battery usage graphs or the digital display in modern cars, where users observe changes in speed, fuel level, or mileage over time. In the same way, Area Charts in vuSmartMaps help users visualize operational and business trends more effectively.

Area charts are mainly used to show how values change over time and to emphasize the overall trend rather than individual data points. They are also useful for comparing multiple data series and understanding cumulative patterns.

Why This Feature Is Useful

In banking and payment operations, teams need to monitor trends such as transaction volume, latency, or system usage over time. Area Charts help users visualize trends and patterns in time-series data. They make it easier to understand how values change over time and help users identify spikes, drops, or gradual trend changes.

The visualization is useful for:

  • Comparing multiple data series.
  • Understanding overall data behavior.
  • Highlighting the magnitude of changes.
  • Observing cumulative or trend-based patterns.

This helps users analyze data more effectively without focusing only on individual data points.

Example Scenario

A payment operations team wants to analyze transaction volume over time. They create an Area Chart panel using a time-series query. The chart shows:

  • Time on the x-axis
  • Transaction volume on the y-axis
  • Filled area representing the trend

By observing the chart, the team identifies peak transaction hours and detects unusual spikes that may indicate system stress or abnormal activity.

When to Use This Feature

Use the Area Chart when:

  • You want to analyze trends over time.
  • You are working with time-series data.
  • You want to highlight the magnitude of change.
  • You need to compare multiple data series.
  • You want to visualize cumulative or part-to-whole relationships.

Avoid using Area Charts when you only need to compare individual values without a time component.

Comprehensive Understanding

You can configure an Area Chart within a dashboard panel. The screen contains the following sections:

Visualization

On the right side of the default screen, select Time Series as the visualization type. This converts the panel into an Area Chart. Once selected, the chart displays data in a time-based format, where values are plotted over time and the area under the line is filled to highlight the trend.

Panel Options

This section is used to define the basic details of the panel.

  • Name – Used to identify the panel on the dashboard.
  • Description – Provides additional context about what the chart represents. This can be viewed by hovering over the information icon on the panel.
  • Panel Link – Allows you to attach a link to another dashboard or external URL.

You can configure:

  • Link title
  • URL
  • Open in new tab option

When configured, clicking the panel will open the linked page based on the selected behavior.

Tooltip

  • This section controls how data details are displayed when you hover over the chart.

    • Single – Displays the tooltip at a single point.
    • All – Displays the tooltip at all points.
    • Hidden – Disables tooltip display.
  • Additional settings:

    • Hover Proximity – Defines how close the cursor must be to a data point to trigger the tooltip.
    • Max Width – Controls the maximum width of the tooltip box.
  • Tooltips help users quickly view values without reading the entire chart.

Legend

This section controls how the legend appears on the chart. The legend helps users identify different data series. You can configure:

  • Mode – Display as List or Table.
  • Placement – Position at Bottom or Right.
  • Width – Applicable when placed on the right. You can either leave the field empty to enable auto mode or manually enter a value to set the legend width.
  • Legend Values – Display metrics such as Last, First, Min, Max, or Total.

This allows users to quickly understand key statistics for each series directly from the chart.

Axis

This section is used to configure how the x-axis and y-axis behave and appear. Key options include:

  • Time Zone – Defines how time is displayed on the x-axis.
  • Placement – Position of the y-axis (Auto, Left, Right, Hidden).
  • Label – Adds a descriptive label to the axis.
  • Width – Adjusts axis width.
  • Show Grid Lines – Controls visibility of grid lines.
  • Color – Sets axis color based on text or series.
  • Show Border - Set the axis border visibility.
  • Scale – Choose between Linear, Logarithmic, or Symlog.
  • Centered Zero – Aligns the axis around zero.
  • Soft Min / Soft Max – Adjusts visible range dynamically.

These settings help improve readability and align the chart with the type of data being analyzed.

Graph Styles

This section is used to define how your time-series data is displayed in the chart. You can choose different styles based on how you want users to interpret the data. You can also use field overrides to combine multiple styles in the same graph.

Available styles include:

  • Lines – Displays data points connected by lines. This is useful for showing continuous trends over time.
  • Bars – Displays data as vertical bars. This is useful for comparing values at specific time intervals.
  • Points – Displays only individual data points. This is useful when you want to highlight exact values without connecting them.

Line

This section controls how lines are displayed in the chart.

  • Line Interpolation – Defines how data points are connected:

    • Linear – Points are joined using straight lines.
    • Smooth – Curved lines for smoother transitions.
    • Step before – Steps between points, with the point at the end of the step.
    • Step after – Steps between points, with the point at the start of the step.

Additional configurations include:

  • Line width – Controls the thickness of the line.
  • Fill opacity – Controls how much the area under the line is filled.
  • Gradient mode – Defines how the fill color is applied.
  • Line style – Solid, dash, or dots.
  • Connect null values – Controls how missing values are handled in the chart.
  • Disconnect values – Sets a threshold above which values are visually disconnected.
  • Show point – Enables or disables display of data points.
  • Point size – Defines the size of data points.
  • Stack series – Displays multiple series on top of each other for cumulative analysis.

Bars

This section controls how bar-style visualization is displayed.

  • Bar Alignment – Defines how bars are positioned relative to data points:

    • Before – Bar appears before the data point.
    • Center – Bar is centered on the data point (default).
    • After – Bar appears after the data point.

Additional configurations include:

  • Bar width factor – Adjusts bar width relative to spacing between data points.
  • Line width – Controls outline thickness.
  • Fill opacity – Controls bar fill intensity.
  • Gradient mode – Defines color gradient.
  • Line style – Solid, dash, or dots.
  • Show point – Shows or hides data points.
  • Point size – Defines size of points.
  • Stack series – Stacks multiple series for cumulative view.

Points

This section controls point-based visualization.

  • Point size – Defines the size of individual data points.
  • Stack series – Allows stacking of multiple series.
Fine-tune your chart! Adjust tooltip modes, legend placement, and axis settings to make your area chart more interactive and informative. Try different legend layouts and axis options for the clearest view.

Standard Options

This section controls general display settings for the chart.

Options include:

  • Unit Type – Defines how values are displayed (for example, ms, %, count).
  • Min / Max – Sets the value range.
  • Decimal – Controls number precision.
  • Display Name – Custom label for the series.
  • Color Scheme – Defines chart colors.
  • No Value – Defines what is shown when no data is available.

These settings help standardize how data is presented across dashboards.

Value Mappings

This section allows you to map specific values to custom display text. When a value matches the defined condition, it is replaced with the configured text and highlighted using the selected color. This is useful for highlighting important states or conditions in the data.

This section allows you to attach links directly to the data points. When a user clicks on a data point in the chart, the configured link appears and can be opened. This is useful for navigating to detailed dashboards, reports, or external tools for further analysis.

Thresholds

This section allows you to define value-based thresholds and highlight them using colors for better visibility. You can configure thresholds in the following display modes:

  • Not filled – Only the threshold value is defined without any visual fill.
  • As lines – Displays threshold values as horizontal lines on the chart.
  • As filled regions and lines – Highlights threshold ranges using colored regions along with lines.

You can assign different colors to different threshold levels to represent conditions such as normal, warning, or critical. For instance, for CPU usage, use yellow for 80, and red for 110, enabling quick detection of threshold breaches and immediate action or error alerts.

Add Field Override

This section allows you to apply custom settings to specific fields instead of applying them globally. You can define overrides based on:

  1. Field name
  2. Matching regex
  3. Field type
  4. Query

To apply an override:

  1. Select the field
  2. Select the override property
  3. Configure the required settings

This is useful when different data series need different visual or behavioral configurations.

You’re in control! With field overrides, you can customize how specific fields are displayed, ensuring your area chart is tailored to your audience’s needs.

Step-by-Step Instructions

  1. Create a new dashboard panel.
  2. Configure the query and select the appropriate data source.
    (Refer to Dashboard Basics > Query)
  3. On the right side of the screen, select Visualization and choose Time Series.
  4. In Panel Options, enter the panel name and description. Add a panel link if required.
  5. Configure Tooltip settings:
    • Select mode (Single, All, Hidden)
    • Set hover proximity
    • Set maximum width
  6. Configure Legend:
    • Choose mode and placement
    • Select legend values
  7. Configure Axis settings:
    • Set time zone
    • Configure axis placement and label
    • Adjust scale and limits
  8. Configure Graph Styles:
    • Choose Lines, Bars, or Points
    • Adjust styling such as interpolation, fill, and stacking
  9. Configure Standard Options:
    • Set unit type, min/max values, decimals, and color scheme
  10. (Optional) Configure:
    • Value Mappings
    • Data Links
    • Thresholds
    • Field Overrides
  11. Save the panel. You can edit the panel later if required.

What Happens After the Steps

Once the panel is saved:

  • The Area Chart is displayed on the dashboard.
  • Data is plotted over time.
  • The filled area highlights the trend.
  • Tooltip and legend show additional details.
  • Thresholds and styles are applied as configured.
  • The panel can be edited anytime.

Tips / Best Practices

  • Use Area Charts for time-based analysis.
  • Use stacking to compare cumulative values.
  • Use thresholds to highlight critical conditions.
  • Avoid too many data series to maintain clarity.
  • Use smooth interpolation for better visualization.

Troubleshooting

  1. Issue: Area Chart is not displaying.

    • Possible Cause: Data not available for selected time range.
    • Solution: Verify the global time selector and ensure data exists for the selected duration.
  2. Issue: No data shown in chart.

    • Possible Cause: Metric or grouping field does not contain data.
    • Solution: Verify metric and grouping fields in the query.
  3. Issue: Unable to sort data.

    • Possible Cause: Incorrect query configuration.
    • Solution: Use Terms in the query and select Top or Bottom ordering.

FAQs

Why would I use an area chart?

An area chart is a good way to demonstrate trends over time to the viewer, for example showing the population over time. This chart is based on the line chart. The filled area can give a greater sense of the trends in a particular dataset.

Which chart type should I select to observe changes over time?

An area chart is helpful if you want to observe how a metric, such as population, changes over time.

How can I change my current chart (area) to a line chart or bar chart without creating a new chart?

Go to the “Graphs Style” tab and change the chart type to a line or bar based on your needs.

How do I change the color for the legends and set the selected color as a default color?

Go to Standard Options, choose the color scheme for your series, and save your visualization. Your area chart will be saved along with the chosen colors.

How do I change the position of the legend?

Go to Axis settings and change the legend position to the right, left, top, or bottom.

Why does my area chart show no result or not displayed?

The following things need to be checked.

  • Global time selector - Whether data is available for the duration selected in the global time.
  • Metric - Whether the selected metric field contains data in the underlying index.
  • Group By - Whether the selected bucketing field contains data in the underlying index.
How can I sort my Group By field in ascending or descending order if it’s not a time series field?

Choose your Group By field in the Query tab and select “Terms” and in the Order section, select Top or Bottom.