- Fixed types for mouse events.
- Use more precise typings for all event params.
- Updated peer deps for
echartsto^5.4.1.
- Improve typings for mouse event params.
- Delay the disposal of the ECharts instance to the moment the element is disconnected from the DOM if possible (#433).
- Make autoresize work for grid layout by default (#675).
- Added basic types for events (only event names).
- Revert the style change to prevent tooltips from being clipped.
- Injected values can now be wrapped in an object so that they can be reactive in Vue 2.
- Fixed that attributes were not outputted onto the chart root element for Vue 2 (#670).
- Fixed the problem that
v-onstops working after upgrading tovue@2.7.x.
- Improve types for
update-options.
- Improved types for provide/inject API.
- Added support for Vue 2.7+.
- Added support for
.onceevent modifier.
- Improved typings for Vue 2 version.
- Make
notMergeoption still respectupdate-options. - The default behavior of
notMergenow revert to checking if there is a reference change for theoptionprop.
- Update should always be
notMerge: true. - Update dependency version for vue-demi.
- Update dependency versions.
- Revert the change of
updateOptions.lazyUpdate. It defaults tofalseagain. - Fixed the occasional error caused by the internal implementation of ECharts.
- Removed unexpected
console.logcall.
- Changed
updateOptions.lazyUpdatetotrueby default. (#533) - Only perform an additional
resizecall after init within a task. (#533) - The
.chartgetter API now works for Vue 2. (#542)
- Fix type error for
Vue2reference.
- Add missing types file for Vue 2.
- Fix postinstall script.
- Move inital resize timing earlier into microtasks so that minimize visual layout shift.
- Add a postinstall script to bail out type check for Vue 2 environment.
- Ensure charts fit to container after the next UI render. (#518)
- Ensure VCA is always installed.
- Remove deps for
mergePropsas it's not yet implemented in@vue/composition-api. (#519)
- Suppress native events and only handles chart events. (#516)
- Update
vue-demiversion to fix type error.
- Fix injection keys for UMD bundle.
- Add
vue-demito UMD bundle.
- Use a custom element for the root element to make default style less specific.
- Fix event support for Vue 2.
- Add missing injection key exports.
- Add missing dependencies for
vue-demiandresize-detector.
- Fix bundling for UMD build.
- Update peer dependency for
echartsto^5.0.2. - Update peer dependency for
vueto^2.6.11 || ^3.0.0. - Now
@vue/composition-apiis required to be installed to use Vue-ECharts with Vue 2. optionsis renamed tooptionto align with ECharts itself.- Updating
optionwill respectupdate-optionsconfigs instead of checking reference change. watch-shallowis removed. Usemanual-updatefor performance critical scenarios.mergeOptionsis renamed tosetOptionto align with ECharts itself.showLoadingandhideLoadingis removed. Use theloadingandloading-optionsprops instead.appendDatais removed. (Due to ECharts 5's breaking change.)- All static methods are removed from
vue-echarts. Use those methods fromechartsdirectly. - Computed getters (
width,height,isDisposedandcomputedOptions) are removed. Use thegetWidth,getHeight,isDisposedandgetOptionmethods instead. - Now the root element of the component have
100%×100%size by default, instead of600×400.
- ECharts 5 support.
- Vue 3 support.
- TypeScript support.
- Add new
update-optionsprop and support providing default from context. - Add new
loadingprop and support providing default from context. - Add new
loading-optionsprop and support providing default from context. - Support providing default from context for the
themeprop.
- Update peer dependency for
vueto^2.4.0. BREAKING
- Fix the problem that
mergeOptionsdidn't use the correct options if the instance is inited on-the-fly. - Expose ZRender events via
zr:prefixed events. - Update to
echarts@4.5.0(only affects the bundled version).
- Update to
echarts@4.3.0(only affects the bundled version).
- Update to
resize-detector@0.1.10.
- Make
manual-updatetruely responsive.
- Fix
legendscrollevent.
- Release 4.0.0.
- Fix autoresize.
- Move
echartsintopeerDependencies. BREAKING - Rename
auto-resizetoautoresize. BREAKING - Point
moduleentry to the source version. BREAKING - Switch to Vue CLI 3 for demo.
- Fix the problem that
setOptionis always called withnotMerge: true.
- Fix the problem that
optionsare not watched as expected.
- Add
manual-updateprop to handle performance critical scenarios. - Deprecate
watch-shallowprop as it was actually not working as expected. - Fix the computed getters by using
Object.definePropertiesdirectly instead of Vue'scomputedas it no longer works as expected after Vue 2.0. - Remove
chartfromdatato gain a performance boost.
- Update to
resize-detector@0.1.7to better handle initial resize callback.
- Add new events and API to adapt the latest version of ECharts.
- Only apply optimization introduce in last version for charts resize from
0area.
- Optimize
auto-resizefor initially hidden (display: none) charts.
- Update to
resize-detector@0.1.5.
- Fix misused
MutationObserver(#200).
- Update to
resize-detector@0.1.2.
- Update ECharts to
4.0.2.
- Fix npm distribution.
- Added support for ECharts 4.
auto-resizenow listens to element size change instead of window.- Remove deprecated
chartprefixed events.
- Added
watchShallowprop to manually disable deep watch onoptionsto optimize performance for charts with large amout of data. - Made all props reactive.
- Updated ECharts dependency to
^3.8.5.
- Updated ECharts dependency to
3.8.2+ to fix module breaking change introduced in3.8.0.
- Fixed collision with Vue's internal methods by removing
_prefix. mergeOptionsnow accept same arguments as ECharts'setOptionmethod.- Updated ECharts dependency to 3.7.2+.
- Made
themereactive. - Added
focusnodeadjacency&unfocusnodeadjacencyevents. - Fixed the problem that charts won't refresh after
keep-alivecomponents are activated.
- Add
computedOptions.
- Replace publish npm scripts with shell commands to prevent failure upon npm install.
- Fixed the problem that styles are missing for precompiled version.
- Switch back to
Vue.util.warn. - Switch build tool to rollup.
- Hot fix for last version. Use
console.warntemporarily.
- Mark Vue as an external dependency in webpack config.
- Use
Vue.util.warndirectly.
- Fix NPM package.
- Fix the implementation of
disconnect.
- Correctly dispose ECharts instance before component is destroyed.
- Fix the problem that
groupis not properly initialized.
- As native events are now not listened by
v-onin Vue.js 2.0, change mouse events name to original ones (keeping emittingchart*events for now). - Fix getter for
width/height/isDisposed. optionsis now optional to initialize the component and the chart will be initialized automatically whenoptionsis set.
- Add
auto-resize. - Refined demo.
- Fix
disconnect. - When importing
ECharts.vue, only ECharts core will be imported instead of the whole ECharts bundle.
- Update Vue dependency to
2.0.1. - Add support for new methods & events for ECharts.
- Fix missing arguments for some APIs.
- Update ECharts version.
- Remove unnecessary files from NPM package.
- Fix usage in README.
- First version.