14 Commits

Author SHA1 Message Date
5b39c47102 refactor: switch to generated .d.ts (#835)
* build: generate d.ts

* fix: preserve PublicMethods

* fix: avoid exposing types of attrs

* refactor: use existing setoption type

* fix: expose root and chart

* feat: use symbol as injection key

* chore: add comment for the type casting of the exposed
2025-08-10 23:36:36 +08:00
d3bff26307 chore: ESLint Flat Config (#834)
* chore: eslint flat config

* chore: format

* update according to review

* chore: remove prettier config and format

* fix: move handler to script to bypass eslint

* chore: config eslint for lang=js block

* docs: add surrounding empty lines for code block

* chore: also minify css in csp build

* chore: publint
2025-08-10 23:36:36 +08:00
503094de70 feat!: remove vue 2 2025-08-10 23:36:36 +08:00
da0109b07a refactor: improve import statements 2024-07-24 18:21:56 +08:00
3da9f285ff chore: update deps 2023-08-01 19:54:01 +08:00
57cd2e6a16 chore: move to pnpm and refine build 2022-05-11 22:38:00 +08:00
899ef4b8d5 fix: chart instance should always be initialized 2022-01-18 16:55:13 +08:00
a77ecc726d fix: delay first setOption until initial resize, update deps 2021-06-10 01:16:58 +08:00
dd71918d10 fix: make the .chart getter work with Vue 2 2021-04-30 18:45:05 +08:00
121570378f fix(#514): add missing instance method containPixel 2021-02-26 18:33:34 +08:00
b8d9ca7991 feat: add default style, injectable update-options & loading-options 2021-02-22 11:50:43 +08:00
f450118a3b fix: add getDom method, remove classname 2021-02-19 18:10:32 +08:00
419d79f86f refactor: rename options to option to align with ECharts itself
- removed built-in styles
- use ECharts' built-in throttle
- generate bundled .d.ts, hack three methods for now
- loadingOptions can be any object type
2021-02-19 17:54:08 +08:00
ee12ad9658 feat: vue-echarts-next first version 2021-02-18 15:10:19 +08:00