- Fixed an update regression in
vue-echarts/graphicslot behavior that could break some demos and runtime updates (#976).
- Added
vue-echarts/graphicand#graphicslot support to build and update EChartsgraphictrees with Vue components.
- Fixed theme-switch regressions by replaying the latest
optionaftersetTheme, so delayed data assignment (e.g. async graphseries.data/links) no longer disappears on theme changes (#972). - Fixed smart-update normalization when option keys migrate across shapes (e.g. object to array/scalar), preventing valid next values from being overwritten during updates.
- Clarified that
manual-updateand reactiveoptionupdates are mutually exclusive—manual charts now ignore prop changes after the first render. - Optimized the slot handling logic.
- Updated peer dependency for
echartsto^6.0.0. - Updated peer dependency for
vueto^3.3.0. - Dropped support for browsers without native
classsupport. - Removed
vue-echarts/cspentry. Usevue-echartsinstead. Only manually includevue-echarts/style.cssif you are both enforcing a strict CSP that prevents inline<style>injection and targeting browsers that don't support theCSSStyleSheet()constructor.
- ECharts 6 support.
- Added slots for tooltip and data view.
- Added support for getter in provide/inject.
- Added smart update strategy to make updates more effortless.
- Made CSS
border-radiuswork out-of-the-box.
- Built with tsdown.
- Switched demo from webpack to rolldown-vite.
- Switched to ESLint flat config.
- Added unit test with Vitest.
- Made CSS
border-radiuswork out-of-the-box.
- Added smart update strategy to make updates more effortless.
- Updated peer dependency for
echartsto^6.0.0. - Updated peer dependency for
vueto^3.3.0. - Dropped support for browsers without native
classsupport. - Removed
vue-echarts/cspentry. Usevue-echartsinstead. Only manually includevue-echarts/style.cssif you are both enforcing a strict CSP that prevents inline<style>injection and targeting browsers that don't support theCSSStyleSheet()constructor.
- ECharts 6 support.
- Added slots for tooltip and data view.
- Added support for getter in provide/inject.
- Built with tsdown.
- Switched Demo from Webpack to Rolldown-Vite.
- Use ESLint flat config.
- Fixed type for
autoresize(again).
- Fixed style injection regression (#805).
- Fixed type for
autoresize.
Other prerelease changes:
- Fixed types for events.
- Upgraded to ESM.
- Removed the
postinstallscript. - API remains the same.
- Peer deps for
echartsis upgraded to^5.5.1. - Dropped support for browsers without
ResizeObserver. Can work with resize-observer-polyfill. - Dropped support for Vue < 2.7.
- Dropped CJS outputs.
- Dropped extra wrapper element so that you should no longer set
paddingon the component root. - For strict CSP usage,
vue-echarts/cspshould now be used as the entry point andvue-echarts/csp/style.cssshould be included manually.
- Fixed that
paddingon the component root doesn't work.
- Fixed that charts inside
<keep-alive>failed to display after activation.
- Fixed that native events won't actually trigger.
- Added supports for native DOM events binding with the
native:prefix.
- Fixed that
autoresizedoesn't work when reducing the height or the root element.
- Fixed that the chart may not be the same size as the component root element (#761).
- Fixed the postinstall script to patch the correct
typesentry for Vue 2.7.
- Added missing type file for Vue 2.7.
- Fixed types for Vue < 2.7.
- Fixed type for
optionregressed in v6.6.2.
- Fixed style regression introduced by v6.6.3.
- Fixed inner wrapper styles.
- Fixed that tooltips may affected by internal styling by VueECharts.
- Make
paddingwork out-of-the-box.
- Added support for
autoresizeaccepting an options object to specify custom throttle delay or resize callback.
- Removed the custom element registration enhancement for strict CSP builds so that they won't contain
new Function.
- Cleaned up the
console.logcall sneaked in by mistake.
- Fixed default behavior for
notMergeoption (#691).
- Added
dist/csp/*to support strict CSP with extracted CSS file.
- 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.