Skip to content

Commit

Permalink
📚 update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Feb 21, 2018
1 parent 02f4fdc commit bb208a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ npm i echarts-china-cities-js

## echarts usage


```
<html>
<head>
Expand All @@ -25,20 +26,20 @@ npm i echarts-china-cities-js
height: 100%;
}
</style>
<script src="https://pyecharts.github.io/echarts-china-cities-js/echarts.min.js"></script>
<script src="https://pyecharts.github.io/echarts-china-cities-js/dist/jiang1_xi1/nan2_chang1.min.js"></script>
<script src="https://pyecharts.github.io/jupyter-echarts/echarts/echarts.min.js"></script>
<script src="https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/jiang1_xi1_nan2_chang1.js"></script>
</head>
<body>
<div id='nan2_chang1' class='citymap'></div>
<script src='https://pyecharts.github.io/echarts-china-cities-js/demo.js'></script>
<script src='https://echarts-maps.github.io/echarts-china-cities-js/demo.js'></script>
<script>
make_city('南昌', 'nan2_chang1');
</script>
</body>
</html>
```

![Usage with echarts](https://pyecharts.github.io/echarts-china-cities-js/nanchang.png)
![Usage with echarts](https://echarts-maps.github.io/echarts-china-cities-js/nanchang.png)

## pyecharts usage

Expand Down
9 changes: 5 additions & 4 deletions templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ npm i echarts-china-cities-js

## echarts usage


```
<html>
<head>
Expand All @@ -25,20 +26,20 @@ npm i echarts-china-cities-js
height: 100%;
}
</style>
<script src="https://pyecharts.github.io/echarts-china-cities-js/echarts.min.js"></script>
<script src="https://pyecharts.github.io/echarts-china-cities-js/dist/jiang1_xi1/nan2_chang1.min.js"></script>
<script src="https://pyecharts.github.io/jupyter-echarts/echarts/echarts.min.js"></script>
<script src="https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/jiang1_xi1_nan2_chang1.js"></script>
</head>
<body>
<div id='nan2_chang1' class='citymap'></div>
<script src='https://pyecharts.github.io/echarts-china-cities-js/demo.js'></script>
<script src='https://echarts-maps.github.io/echarts-china-cities-js/demo.js'></script>
<script>
make_city('南昌', 'nan2_chang1');
</script>
</body>
</html>
```

![Usage with echarts](https://pyecharts.github.io/echarts-china-cities-js/nanchang.png)
![Usage with echarts](https://echarts-maps.github.io/echarts-china-cities-js/nanchang.png)

## pyecharts usage

Expand Down

0 comments on commit bb208a1

Please sign in to comment.