253 Commits

Author SHA1 Message Date
陈键冬
f09dc89e70 Markpoint bug fixed (#505)
* Fix: #504 修复 markpoint 标记点标注不显示的 bug

* Update: changelog 文档更新
2018-04-25 17:55:06 +08:00
jaska
d61f715566 oop options and doc update (#498)
* 格式化 setup.py

* 📚 update documentation

* 🔬 unit test options

* Update test_options.py

* 💚 update test case

* 🔨 getting oop options

* 🚜 relocate option.py, events.py, style.py to echarts

* 💚 make unit tests pass

* 🎨 fix remain bugs

* 💚 last bug fix

* 🐛 fix #493, pip 10.0.x compactibility issue

* 🎨 more pythonic code

* 🐛 fix inheritance

* 👕 whitening

* 🚜 rename city coordinates.json

* 🚜 update json serializable interface

* 🔨 **kwargs comes back

* Remove: 移除重复配置项
2018-04-25 17:13:00 +08:00
jaska
aba5c80760 Support echartsInstance.on(eventName: string, handler: Function) (#497)
*  support echarts.on function so as to write event handlers in python. yeppeegit status

* 🎨 minor update

* 📚 update documentation

* 🔥 update requirements.txt

* 🐛 silly mistake again

* 💚 make unit test pass

* 🚜 relocate event names to events.py
2018-04-22 19:30:28 +01:00
陈键冬
7af543996a Faq update (#494)
* 格式化 setup.py

* 更新 faq 文档
2018-04-19 21:32:44 +08:00
Curtis Jiang
93156b27f0 Dev (#490)
* fix typo

* fix typo
2018-04-17 09:52:34 +01:00
陈键冬
4acae512bc Micro docs update (#480)
* 格式化 setup.py

* translator 文档细节更新
2018-04-08 23:28:03 +08:00
kinegratii
ede739b8b9 Py2js translator (#479)
* Add function translator for json encoder

* Add as_snippet for JavascriptSnippet

* Refactor code with flake8

* 👕 whitening the code for review

* Refactor code

* Add docs

* Add note for lambda

* Add note for lambda
2018-04-06 16:31:04 +01:00
jaska
c11efc95ca As js functions are allowed for echarts options, python functions are allowed in pyecharts options too (#468)
*  initial prototype to pass on python functions into echarts options

*  enable more function based label formatters and 💚 make unit test pass

* 💚 make travis happy

* 💚 install pyecharts-javascripthon on appveyor

* 🔬 test javascript functions

* 🎨 tuning ci system

* 📚 update documentation

* 📚 update xaxis_formatter and 💚 make python 27 pass

* 👕 make flake8 happy

* 💚 appveyor, do conditional install plz

* 💚 appveyor, do conditional install plz

* 💚 skipping pyecharts-javascripthon on appveyor

* 🎨 make different test configurations so that they pass and test the individual aspects

* 🔥 remove unless test code

* 🐛 fix the bug to make pyecharts-javascripthon on python 3.5. 3.6 optional

* 🔨 code refactoring

* 🔨 relocate the python356 exception to add_a_new_function

* 🔨 relocate json_dumps

*  support custom polar. #461

* 📚 document render_item

* 🔨 code refactoring on custom polar chart

* 🔥 remove percentage formatter
2018-04-01 12:52:54 +01:00
jaska
abcbd080ff Map documentation update (#466)
* 📚 update maps

* 📚 update the jupyter faq
2018-03-27 09:29:30 +01:00
kinegratii
6f62ca26e8 Coordinates enhance (#463)
* Refactor coordinates with Geo

* Refactor coordinates with Geoline

* Add test case for coordinate enhance

* Update test case

* Add datasets document

* Enhance features

1. Add rasise_exception parameter
2. Add test cases.

* Mini feature enhance

* Split Coordinate Search Function into two function

* Update test cases
2018-03-25 19:53:31 +01:00
kinegratii
18513932c5 Update contribution list (#457) 2018-03-22 12:17:37 +08:00
jaska
9114f8835c Doc update (#453)
* 📚 doc update

* 📚 add new map pypkg and js links

* 📚 update FAQ

* 📚 add sample image

* update donors list

* update faq.md
2018-03-21 13:13:19 +08:00
陈键冬
11dece7677 修复 Timeline 中 Overlap 图的 label_color 配置项不生效的 bug (#449)
* 修复 Timeline 中 Overlap 图的 label_color 配置项不生效的 bug

* 测试完善
2018-03-19 22:12:12 +08:00
jaska
b617893b10 Extend EchartsEnvironment to render image directly so as to help pdf export (#444)
*  initial prototype

* 🔨 replace extra_context with **kwargs

*  test **kwargs

* 🔥 clean up the render.html

*  initial prototype for tight integration of pyecharts-snapshot

* 🐛 fix rendering position in jupyter note book and 🔥 remove the prototype

*  allow png, jpg and svg in jupyter notebook

* 🔥 revert optimization changes

* 🔥 get rid of useless code

* 🔥 get rid of useless code

* 📚 update documentation and fix #311

* 🔬 more test coverage

* 📚 update environment extension architecture

* 📚 more docs

*  remove the need for configure() statement for python users. jupyter user have to use configure(). 🔨 replace extra_context with **kwargs finally

* 💚 fix broken unit test

* 📚 update documentation - space, space, space

* 🔬 more test coverage

* 📚 no support for rendering page as image

* 🔬 more test coverage

*  @kinegratii  create a jupyter image context

* 💚 make unit tests pass

* 👕 make flake8 happy

* 👕 one last space to be added

* 👕 address review feedbacks
2018-03-17 13:17:13 +00:00
陈键冬
c3909fee90 Timeline bug fixed (#438)
*  #438 修复 Timeline 图累计多个 Bar 图会导致条形宽度压缩的 bug 以及不能正常显示 Tooltip 组件的 bug

* 文档细节修正

* 测试修复以及版本号更新
2018-03-13 17:24:44 +08:00
陈键冬
5a22cdf099 Version 0.4.0 (#433)
* 扁平化 areaStyle 配置项,解决部分图默认显示问题

* 完善 renderer 参数的介绍文档

* #432 解决水球图和词云图不能指定 toolbox 选项的问题

* 部分注释格式调整

* 版本号更新至 V0.4.0

* changelog 跟新以及注释细节修正

* changelog 更新
2018-03-09 17:59:23 +08:00
kinegratii
a180ca857c 重构渲染代码 (#424)
* Refactor notebook render

1. Merge template files and remove unused files.
2. Move render function to environment class
3. Extract notebook test cases to a new module

* Refactor chart render

1. Add render_* to EchartsEnvironment class
2. Remove engine.render
3. Remove unused template files

* Fix online between test cases.

* Update document and changelog

* Rename some functions

* Update some mistakes

* Remove debug code

* Refactor env.render_chart_to_notebook  method
2018-03-07 18:15:15 +08:00
陈键冬
819ed5ea62 VisualMap, Tooltip and MarkLine enhance (#426)
* 为 visualMap 组件新增 pieces 配置项,用于在分段型中指定自定义分段情况

* 测试修复

* 测试完善

* #425 完善配置项及注释说明

* 文档完善

* #376 新增 mark_line_coords 用于指定标记线的起点和终点,并且 Scatter 图支持标记点和标记线的配置

* 测试完善

* 文档完善

* changelog 完善
2018-03-04 22:24:51 +08:00
jaska
6f1a627edd Echarts 4 - SVG (#420)
*  new branch for echarts 3.8.5

* 🚜 update jupyter-echarts to 1.4.0

* 🚜 update jupyter-echarts

* 💄 name the release candidate

* 💚 pass unit test

* 🎨 update to use echarts 4.0.2

*  support svg renderer, related to #337

* 🐛 fix the missing registry.json and update jupyter rendering

* 🐛 force 3d charts to use canvas renderer. fix #343

*  upgrade jupyter-echarts-pypkg version

* 📚 create release diary
2018-03-03 16:05:15 +00:00
陈键冬
39a15c9e2b Merge branch 'master' into dev 2018-03-01 18:41:45 +08:00
chfw
9719f78bdd 👕 spaces, spaces 2018-03-01 09:59:14 +00:00
chfw
cef875fc3e 👕 fix typo 2018-03-01 09:52:59 +00:00
chenjiandongx
fa0bbaec7e 文档格式修正 2018-03-01 17:49:33 +08:00
chfw
be4e3ae25d 📚 translate custom map extensions 2018-03-01 09:45:51 +00:00
chenjiandongx
77667eba2d 文档内容修正 2018-03-01 17:38:41 +08:00
chenjiandongx
cf3cdd1e5b changelog 更新,发布 V0.3.3 新版本 2018-03-01 17:06:52 +08:00
chfw
360f4967d5 🤝 Merge branch 'dev' into doc-update 2018-03-01 07:13:42 +00:00
chfw
3ae84c16a2 📚 update image links found in english doc #382 2018-02-28 14:46:19 +00:00
kinegratii
884fc144da Update changelog 2018-02-28 20:16:15 +08:00
chfw
2aa118bdf2 📚 minor update 2018-02-28 10:46:15 +00:00
chfw
1ebf773063 📚 update documentation on maps 2018-02-28 10:42:49 +00:00
陈键冬
cadb1324af Merge branch 'dev' into code-refactoring 2018-02-28 13:27:48 +08:00
chfw
faf70c0321 📚 document name_map type 2018-02-27 15:06:30 +00:00
chfw
b54892bbee 📚 spaces are added 2018-02-27 14:28:55 +00:00
chfw
bd7f570185 📚 more documentation updates 2018-02-27 12:17:50 +00:00
chfw
5b79dcaa13 📚 more docs on name_map and correct the version number 2018-02-27 09:32:44 +00:00
chfw
cf8e1cf759 📚 update docs 2018-02-27 07:30:06 +00:00
chfw
d4200856c6 📚 update release log 2018-02-27 00:36:16 +00:00
chfw
a850a28624 👕 pump the version number 2018-02-26 17:33:31 +00:00
chenjiandongx
39dfb69307 release-note README 修正 2018-02-26 17:37:21 +08:00
chenjiandongx
3949d2d7cf v032.md 链接修复 2018-02-26 17:34:43 +08:00
chenjiandongx
2009f44ff8 解决合并冲突,删除 V0.40.md 2018-02-26 16:21:40 +08:00
陈键冬
e30db9ed9b Merge branch 'master' into dev 2018-02-26 16:12:48 +08:00
chenjiandongx
4b7f6e1567 文档细节修正 echarts -> js 2018-02-25 20:14:27 +08:00
chenjiandongx
45a27ed737 V0.3.2 版本日志更新 2018-02-25 15:36:40 +08:00
chenjiandongx
4f1e3e7592 V0.3.2 起不再提供 DEFAULT_HOST,但为开发者提供了覆盖所有 js 文件的远程 URL,https://pyecharts.github.io/assets/js 2018-02-25 15:30:34 +08:00
chenjiandongx
0dada16686 文档细节修复 2018-02-23 14:22:46 +08:00
chenjiandongx
5d7f293eab 基本完善文档冲突 2018-02-23 14:18:29 +08:00
chenjiandongx
85742ea087 冲突解决工作继续完善 2018-02-23 14:00:23 +08:00
chenjiandongx
c2e92c785b 解决文档冲突合并问题 2018-02-23 13:43:47 +08:00