We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback


Overview

The Vue Step Area chart is like a step line chart except that the area connected through vertical and horizontal lines are shaded with color. Supports features like zooming, panning, animation, and dynamic updates.


Multi series

Allows you to plot multiple series in a single chart to compare different data sets. Enabling legend and tooltip gives more information about the individual series.


Marker

Marks data points with built-in shapes such as circles, rectangles, ellipses, vertical lines, horizontal lines, diamonds, triangles, pentagons, crosses, and pluses. In addition to these shapes, use images to make the point more attractive.


Data label

Data labels display information about data points. Add a template to display data labels with HTML elements such as images, DIV, and spans for more informative data labels. You can rotate a data label by its given angle.


Multiple axes

Use multiple axes to plot different data sets that widely vary from one other.


Zoom and pan

Enable zooming and panning support when dealing with large amount of data to visualize the data point in any region.


Empty / Null Data Point

Handle the missed data elegantly with empty points support.


Vertical Chart

The step area chart can be transposed vertically to view the data in different perspective.


Customization

Customize the color and border of the area chart using built-in APIs.


Code snippet

Easily get started with Vue Step Area Chart using a few simple lines of Vue code, as demonstrated below. Also explore our Vue Step Area Chart Example that shows you how to render and configure the stacked column chart component.

<template>
    <div id="app">
         <ejs-chart id="container" :primaryXAxis='primaryXAxis'>
            <e-series-collection>
                <e-series :dataSource='seriesData' type='StepArea' xName='x' yName='y'> </e-series>
            </e-series-collection>
        </ejs-chart>
    </div>
</template>
<script>
import { ChartPlugin,Category, StepAreaSeries} from "@syncfusion/ej2-charts";
Vue.use(ChartPlugin);
export default {
  data() {
    return {
      seriesData: [{ x: 2000, y: 180 }, { x: 2001, y: 240 }, { x: 2002, y: 370 }, { x: 2003, y: 200 },
            { x: 2004, y: 229 }, { x: 2005, y: 210 }, { x: 2006, y: 337 }, { x: 2007, y: 258 },
            { x: 2008, y: 300 }, { x: 2009, y: 173 }, { x: 2010, y: 220 }, { x: 2011, y: 309 }],
               
              primaryXAxis: {
                valueType: 'Double'
        },
    };
  },
  provide:{ 
     chart: [StepAreaSeries, Category]
  }
};
</script>
<!DOCTYPE html>
<html>

<body>
     <div id="app"></div>
</body>

</html>

Learning Resources

UG

Step Area Chart User Guide

Learn the available options to customize the Vue step area chart.

API

Step Area Chart API Reference

Explore the Vue step area chart APIs.


85+ VUE UI COMPONENTS

Scroll up icon