Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147378 | Sep 8,2019 08:13 PM UTC | Sep 11,2019 11:03 AM UTC | Vue | 5 |
![]() |
Tags: Chart |
vue init webpack-simple quickstart
quickstart
install
npmjs.com
registry.
install @syncfusion/ej2-vue-charts --save
Vue.use()
.
{ ChartPlugin
}
from
'@syncfuion/ej2-vue-charts';
Vue
.use(ChartPlugin
);
<ejs-chart>
selector in <template>
section of the App.vue
file.
App.vue file
<template>
<ejs-chart></ejs-chart>
</template>
<script>
import Vue from 'vue';
import { ChartComponent, ChartPlugin } from '@syncfusion/ej2-vue-charts';
Vue.component(ChartPlugin.name, ChartComponent);
export default {
name: 'app',
data () {
return {
msg: 'Chart'
}
}
}
</script>
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.