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

Vue Combination Chart combines two or more chart types into a single chart to compare different data sets. Supports zooming, panning, tooltip, trackball, and selection.


Combination of line, area, and column chart

You can create multiple series of different types in the same chart. Legend and tooltip for the series make it more readable.


Pareto chart

Pareto chart is the combination of line and column charts. The column represents data in the descending order, whereas the line chart represents the cumulative value of the data.


Combination of Candle with Column/Line

You can combine Candle with line or column chart to show additional parameters in financial analysis. For example, volume of the stock can be viewed with the help of column chart.


Vue Combination Chart Code Example

Easily get started with Vue Combination Chart using a few simple lines of HTML and JS code example as demonstrated below. Also explore our Vue Combination Chart Example that shows you how to render and configure the charts.

<!DOCTYPE html>
<html>

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

</html>
<template>
    <div id="app">
         <ejs-chart id="container" :primaryXAxis='primaryXAxis'>
            <e-series-collection>
                <e-series :dataSource='seriesData' type='Line' xName='x' yName='y'> </e-series>
                <e-series :dataSource='seriesData1' type='Column' xName='x' yName='y'> </e-series>
                
            </e-series-collection>
        </ejs-chart>
    </div>
</template>
<script>
import { ChartPlugin, ColumnSeries,LineSeries, Category } from "@syncfusion/ej2-charts";
Vue.use(ChartPlugin);
export default {
  data() {
    return {
      seriesData:  [
    { x: 2005, y: 28 }, { x: 2006, y: 25 }, { x: 2007, y: 26 }, { x: 2008, y: 27 },
    { x: 2009, y: 32 }, { x: 2010, y: 35 }, { x: 2011, y: 30 }
],
seriesData1:  [
    { x: 2005, y: 15 }, { x: 2006, y: 16 }, { x: 2007, y: 17 }, { x: 2008, y: 18 },
    { x: 2009, y: 19 }, { x: 2010, y: 20 }, { x: 2011, y: 21 }
],
              primaryXAxis: {
        },
    };
  },
  provide: {
    chart: [ColumnSeries, Category,LineSeries]
  }
};
</script>

Learning Resources

UG

Combination Chart User Guide

Learn the available options to customize Vue combination chart.

API

Combination Chart API Reference

Explore the Vue combination 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