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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Overview

The Vue Pyramid Chart is a hierarchical structure that has data in the form of triangles divided into sections, and each section with a related dataset.


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.


Exploding slices

Data points can be exploded on rendering and on mouse click.


Grouped points

Group the points in a pyramid chart based on specific conditions. The grouped slices can be split into individual points by clicking the slices.


Customization

Customize the look and feel of the pyramid chart using built-in APIs.


Vue Pyramid Chart Code Example

Easily get started with Vue Pyramid Chart by using a few lines of HTML and JS code, as demonstrated below. Also explore our Vue Pyramid Chart Example that shows how to render and configure the chart.

<template>
    <div id="app">
         <ejs-accumulationchart id="container">
            <e-accumulation-series-collection>
                <e-accumulation-series :dataSource='seriesData' type='Pyramid' xName='x' yName='y'> </e-accumulation-series>
            </e-accumulation-series-collection>
        </ejs-accumulationchart>
    </div>
</template>
<script>
import { AccumulationChartPlugin, PyramidSeries } from "@syncfusion/ej2-charts";

Vue.use(AccumulationChartPlugin);

export default {
  data() {
    return {
      seriesData: [
            { x: 'United States', y: 45, text: 'USA', fill: '#00226C' },
            { x: 'Australia', y: 53, text: 'AUS: 14%', fill: '#0450C2' },
            { x: 'China', y: 56, text: 'CHN', fill: '#0073DC' },
            { x: 'India', y: 61, text: 'IND', fill: '#0D98FF' },
            { x: 'Japan', y: 13, text: 'JPN', fill: '#9CD9FF' },
            { x: 'United Kingdom', y: 71, text: 'UK', fill: '#0450C2' }
        ],
    };
  },
  provide: {
    accumulationchart: [PyramidSeries]
  } 
};
</script>
<!DOCTYPE html>
<html>

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

</html>

Learning Resources

UG

Pyramid Chart User Guide

Learn the available options to customize Vue funnel chart.

API

Pyramid Chart API Reference

Explore the Vue Pyramid chart APIs.


85+ VUE UI COMPONENTS

Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon