» » ECharts, a pure Javascript charting library

 

ECharts, a pure Javascript charting library

Author: bamboo06 on 28-11-2016, 02:18, views: 1871

34
ECharts is a HTML5 Canvas, pure javascript-based charting library. It can run smoothly on PC and mobile devices, compatible with the current most browsers (IE8 / 9/10/11, Chrome, Firefox, Safari, etc.), providing intuitive, vivid, interactive, highly customizable Data Visualization Chart.

ECharts provides general line charts, histograms, scatter charts, pie charts, K charts, box charts for statistics, maps for geodata visualization, thermograms, line graphs, relational data visualization Treemap, parallel coordinates for multidimensional data visualization, funnel diagrams for BI, dashboards, and mashups between graphs and graphs.

Introduction of ECharts
The introduction is very simple, just like ordinary javascript library with the introduction of the same script tags.
<script src="echarts.min.js"></script> 


Draw a chart

In the body where the need to place a chart Prepare a highly div container, be sure to set a height.
<div id="myChart" style="width: 600px;height:400px;"></div> 

You can then initialize an echarts instance with the echarts.init method and generate a simple histogram using the setOption method.
// Initializes the echarts instance based on the prepared dom
var myChart = echarts.init(document.getElementById('myChart'));

// Specifies the configuration items and data for the chart
var option = {
	title: {
		text: 'Monthly sales statistics',
		left: 'center'
	},
	tooltip: {},
	xAxis: {
		data: ["Shirt", "sweater", "chiffon shirt", "pants", "high heels", "socks"]
	},
	yAxis: {},
	series: [{
		name: 'Sales',
		type: 'bar',
		data: [115, 220, 136, 100, 100, 60]
	}]
};

// Use the configuration item and data you just specified to display the chart.
myChart.setOption(option);

After running the code, you can generate a histogram on the page. Next goocode will have more articles to illustrate the use of Echart chart with examples

Category: Javascript / HTML5 / Plugins

Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.
<
  • 0 Comments
  • 0 Articles
16 June 2017 23:37

katherine merry

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Thanks for Nice and buy marketing assignment online Informative Post. This article is really contains lot more information about This Topic. We have read your all the information some points are also good and some usually are awesome.

<
  • 0 Comments
  • 0 Articles
5 August 2017 00:36

kate john

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
You have done a great expert nursing essay writer job on this article. It’s very readable and highly intelligent. You have even managed to make it understandable and easy to read. You have some real writing talent. Thank you.

<
  • 0 Comments
  • 0 Articles
6 September 2017 08:13

ali

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
It is somewhat fantastic, and yet check out the advice at this treat. Hero Instinct

<
  • 0 Comments
  • 0 Articles
6 September 2017 10:45

ali

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Cool you inscribe, the info is really salubrious further fascinating, I'll give you a connect to my scene. How to stop snoring

Cool you write, the information is very good and interesting, I'll give you a link to my site. Flax Seed Health Benefits

<
  • 0 Comments
  • 0 Articles
22 September 2017 18:54

google app tez

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
I want to thank you for interesting and helpful information and I like your point of view. google app tez

<
  • 0 Comments
  • 0 Articles
14 November 2017 21:27

best car subwoofer for deep bass

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Thank you for posting such a good article. best car subwoofer for deep bass

<
  • 0 Comments
  • 0 Articles
16 November 2017 21:21

happy new year images

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Download latest happy new year quotes. Get free wishes about happy new year images.

<
  • 0 Comments
  • 0 Articles
20 November 2017 01:02

pan card status uti

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Download pan card online pan card status uti

<
  • 0 Comments
  • 0 Articles
22 November 2017 21:18

Towelroot Apk download

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Download latest Towelroot Apk download

<
  • 0 Comments
  • 0 Articles
23 November 2017 22:26

Attitude Status

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Disposition Status for Whatsapp in English: We all have demeanor, which we need to express from our Whatsapp Status. Attitude Status

Cool status for whatsapp and facebook profile. 123whatsappstatus.com gives you the best, short and most recent accumulation of cool status. Cool Status

<
  • 0 Comments
  • 0 Articles
24 November 2017 20:55

framaroot download

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Framaroot is extraordinary compared to other applications to establish the android telephone in a single tick. Check how to download and introduce Framaroot Apk on Android. framaroot download

in-appstore helped loads of individuals to purchase virtual merchandise for nothing. Truly, for what reason do you have to purchase something in application. Free app purchasing apk

While free online drug store course alternatives are restricted, understudies can discover an assortment of free online assets and materials. Pharmaceutical Water Storage

<
  • 0 Comments
  • 0 Articles
27 November 2017 16:54

Freedom Apk download

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Flexibility Apk - You Can Download the most recent form by the means given in this article. The means to Download Freedom Apk are given here.

<
  • 0 Comments
  • 0 Articles
29 November 2017 22:00

Sarcasm Quotes

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Download inspirational Sarcasm Quotes with images for free.

<
  • 0 Comments
  • 0 Articles
30 November 2017 01:12

water distiller company

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Thank you so much for the great information. water distiller company

<
  • 0 Comments
  • 0 Articles
30 November 2017 01:29

Love Status

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Thank you! I love to read this type of material Good and attractive information I take from it. Love Status

<
  • 0 Comments
  • 0 Articles
2 December 2017 23:22

fakegpsapk

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
thanks for the blog fakegpsapk

<
  • 0 Comments
  • 0 Articles
3 December 2017 21:08

download root genius apk

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Android Root Genius downlaod is the best and least demanding approach to root any Android gadget. download root genius apk

<
  • 0 Comments
  • 0 Articles
5 December 2017 16:19

supersu

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Download latest version of root app supersu from official supersu website

<
  • 0 Comments
  • 0 Articles
12 December 2017 23:53

best equipments

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
What are the best spending supplies for a Kor deck? I need to make a deck based around Kor and gear, however I don't generally know which are the best. best equipments

<
  • 0 Comments
  • 0 Articles
14 December 2017 17:48

eaadhar download

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
UIDAI is ordered to issue an effectively certain 12 digit arbitrary number as Unique Identity - Aadhaar to all Residents of India. eaadhar download

<
  • 0 Comments
  • 0 Articles
19 December 2017 21:35

aloe vera farming

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
The nature of aloe vera developed in forsake territory is good to the point that there is an overwhelming interest for it in national and worldwide markets. aloe vera farming

<
  • 0 Comments
  • 0 Articles
21 December 2017 18:35

embroidered badges

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
A weaved fix, otherwise called a material identification, is a bit of weaving which is made by utilizing a texture support and string embroidered badges

<
  • 0 Comments
  • 0 Articles
25 December 2017 18:14

digitaltenz

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Download latest gadegts and information online for free at digitaltenz.

<
  • 0 Comments
  • 0 Articles
25 December 2017 19:40

anime haven

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Download free anime haven online for free

<
  • 0 Comments
  • 0 Articles
26 December 2017 05:34

meet

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Thanks for writing this article. I really appreciate your work and I really would love to come to your blog again and again. how do i call usps customer service representative?

<
  • 0 Comments
  • 0 Articles
2 January 2018 15:39

Andrew

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Watch Anime Haven online

<
  • 0 Comments
  • 0 Articles
2 January 2018 23:18

Aadhar card online

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Download Aadhar card online for free and get latest updates

<
  • 0 Comments
  • 0 Articles
3 January 2018 17:34

rangoli design kolams

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
thanks for the blog get latest pongal rangoli design kolams

<
  • 0 Comments
  • 0 Articles
22 January 2018 20:49

eaadhar

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Thanks for the great information. Download eaadhar card online.

<
  • 0 Comments
  • 0 Articles
14 February 2018 06:43

APK

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Thanks for the great information. تحميل برنامج ايمو للكمبيوتر

Thanks for the great information. Download تحميل برنامج ايمو للايفون

Previous Next
Information
Comment on the news site is possible only within (days) days from the date of publication.