Skip to content

Commit

Permalink
🎉 first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Aug 27, 2017
1 parent bb8d699 commit ac92412
Show file tree
Hide file tree
Showing 691 changed files with 2,533 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

.DS_store
45 changes: 45 additions & 0 deletions demo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
function make_city(cityname, dom_id){
achart = echarts.init(document.getElementById(dom_id));
var option = {
"title": [
{
"textStyle": {
"color": "#000",
"fontSize": 18
},
"subtext": "",
"text": cityname,
"top": "auto",
"subtextStyle": {
"color": "#aaa",
"fontSize": 12
},
"left": "auto"
}
],
"legend": [
{
"selectedMode": "multiple",
"top": "top",
"orient": "horizontal",
"data": [
""
],
"left": "center",
"show": true
}
],
"backgroundColor": "#fff",
"series": [
{
"mapType": cityname,
"data": [],
"name": "",
"symbol": "circle",
"type": "map",
"roam": true
}
]
};
achart.setOption(option);
}
1 change: 1 addition & 0 deletions dist/an1_hui1/an1_qing4.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ac92412

Please sign in to comment.