V-Charts : Graphical components based on Vue 2.0 and ECharts

V-Charts : Graphical components based on Vue 2.0 and ECharts

In this post we will show you V-Charts : Graphical components based on Vue 2.0 and ECharts, hear for V-Charts : Graphical components based on Vue 2.0 and ECharts we will give you demo and example for implement.

V-Charts : Graphical components based on Vue 2.0 and ECharts

Build Status NPM downloads JS gzip size Npm package Language License Join the chat at https://gitter.im/ElemeFE/v-charts

In the use of echarts to generate charts, often need to do cumbersome data type conversion, modify the complex configuration items, v-charts is to appear to solve this pain point. Based on Vue2.0 and echarts package v-charts chart components, only need to provide a unified front and back are friendly data format settings simple configuration items, you can easily generate common charts.

Hear is Git hub like for Download, Demo and for information(Read More), it will help you into development and implement for V-Charts : Graphical components based on Vue 2.0 and ECharts. This link of git will give you document, instruction, installation and other information.




Read More Demo Download

V-Charts : Graphical components based on Vue 2.0 and ECharts

script src="//unpkg.com/vue/dist/vue.js"></script>
<script src="//unpkg.com/echarts/dist/echarts.min.js"></script>
<script src="//unpkg.com/v-charts/lib/index.min.js"></script>

<div id="app">
<ve-radar :data="chartData" :settings="chartSettings" tooltip-visible legend-visible></ve-radar>
</div>
New Vue ({
El: '#app',
Created: function () {
This.chartData = {
Columns: ['date', 'sales -1 quarter', 'sales -2 quarter', 'share', 'other'],
Rows: [
{'Date': 'January 1', 'sales -1 quarter': 1523, 'sales -2 quarter': 1523, 'proportion': 0.12, 'other': 100}
{'Date': 'January 2', 'sales -1 quarter': 1223, 'sales -2 quarter': 1523, 'proportion': 0.345, 'other': 100}
{'Date': 'January 3', 'sales -1 quarter': 2123, 'sales -2 quarter': 1523, 'proportion': 0.7, 'other': 100}
{'Date': 'January 4', 'sales -1 quarter': 4123, 'sales -2 quarter': 1523, 'proportion': 0.31, 'other': 100}
{'Date': 'January 5', 'sales -1 quarter': 3123, 'sales -2 quarter': 1523, 'proportion': 0.12, 'other': 100}
{'Date': 'January 6', 'sales -1 quarter': 7123, 'sales -2 quarter': 1523, 'proportion': 0.65, 'other': 100}
]
}
This.chartSettings = {
Dimension: ['date'],
Metrics: ['sales -1 quarter', 'sales -2 quarter', 'share'],
DataType: {'proportion': 'percent'}
}
}
})

YOU ALSO LIKE RELATED POSTS

See this Url
simple slider puzzle built using Vuejs http://www.onlinecode/simple-slider-puzzle-built-vuejs/
Alternatively pull down or pull up or both using Vue2.0 http://www.onlinecode/alternatively-pull-pull-using-vue2-0/
Docsify : magical documentation site generator using vuejs http://www.onlinecode/docsify-magical-documentation-site-generator-using-vuejs/
Vuejs Dropdown – Dropdown menu with Vuejs http://www.onlinecode/vuejs-dropdown-dropdown-menu-vuejs/
Vue Dropdown Component with demo- vuejs http://www.onlinecode/vue-dropdown-component-vuejs/




Hope this code and post will helped you for implement V-Charts : Graphical components based on Vue 2.0 and ECharts. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve onlincode. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs onlincode.org

Leave a Comment

Your email address will not be published. Required fields are marked *

69  +    =  70

We accept paid advance and paid guest Posting on our Site : Contact US