- Update dependency versions.
- Revert the change of
updateOptions.lazyUpdate
. It defaults tofalse
again. - Fixed the occasional error caused by the internal implementation of ECharts.
- Removed unexpected
console.log
call.
- Changed
updateOptions.lazyUpdate
totrue
by default. (#533) - Only perform an additional
resize
call after init within a task. (#533) - The
.chart
getter API now works for Vue 2. (#542)
- Fix type error for
Vue2
reference.
- 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
mergeProps
as it's not yet implemented in@vue/composition-api
. (#519)
- Suppress native events and only handles chart events. (#516)
- Update
vue-demi
version to fix type error.
- Fix injection keys for UMD bundle.
- Add
vue-demi
to 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-demi
andresize-detector
.
- Fix bundling for UMD build.
- Update peer dependency for
echarts
to^5.0.2
. - Update peer dependency for
vue
to^2.6.11 || ^3.0.0
. - Now
@vue/composition-api
is required to be installed to use Vue-ECharts with Vue 2. options
is renamed tooption
to align with ECharts itself.- Updating
option
will respectupdate-options
configs instead of checking reference change. watch-shallow
is removed. Usemanual-update
for performance critical scenarios.mergeOptions
is renamed tosetOption
to align with ECharts itself.showLoading
andhideLoading
is removed. Use theloading
andloading-options
props instead.appendData
is removed. (Due to ECharts 5's breaking change.)- All static methods are removed from
vue-echarts
. Use those methods fromecharts
directly. - Computed getters (
width
,height
,isDisposed
andcomputedOptions
) are removed. Use thegetWidth
,getHeight
,isDisposed
andgetOption
methods 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-options
prop and support providing default from context. - Add new
loading
prop and support providing default from context. - Add new
loading-options
prop and support providing default from context. - Support providing default from context for the
theme
prop.
- Update peer dependency for
vue
to^2.4.0
. BREAKING
- Fix the problem that
mergeOptions
didn't use the correct options if the instance is inited on-the-fly. - Expose ZRender events via
zr:
prefixed events. - Update to
[email protected]
(only affects the bundled version).
- Update to
[email protected]
(only affects the bundled version).
- Update to
[email protected]
.
- Make
manual-update
truely responsive.
- Fix
legendscroll
event.
- Release 4.0.0.
- Fix autoresize.
- Move
echarts
intopeerDependencies
. BREAKING - Rename
auto-resize
toautoresize
. BREAKING - Point
module
entry to the source version. BREAKING - Switch to Vue CLI 3 for demo.
- Fix the problem that
setOption
is always called withnotMerge: true
.
- Fix the problem that
options
are not watched as expected.
- Add
manual-update
prop to handle performance critical scenarios. - Deprecate
watch-shallow
prop as it was actually not working as expected. - Fix the computed getters by using
Object.defineProperties
directly instead of Vue'scomputed
as it no longer works as expected after Vue 2.0. - Remove
chart
fromdata
to gain a performance boost.
- Update to
[email protected]
to 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
0
area.
- Optimize
auto-resize
for initially hidden (display: none
) charts.
- Update to
[email protected]
.
- Fix misused
MutationObserver
(#200).
- Update to
[email protected]
.
- Update ECharts to
4.0.2
.
- Fix npm distribution.
- Added support for ECharts 4.
auto-resize
now listens to element size change instead of window.- Remove deprecated
chart
prefixed events.
- Added
watchShallow
prop to manually disable deep watch onoptions
to 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. mergeOptions
now accept same arguments as ECharts'setOption
method.- Updated ECharts dependency to 3.7.2+.
- Made
theme
reactive. - Added
focusnodeadjacency
&unfocusnodeadjacency
events. - Fixed the problem that charts won't refresh after
keep-alive
components 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.warn
temporarily.
- Mark Vue as an external dependency in webpack config.
- Use
Vue.util.warn
directly.
- Fix NPM package.
- Fix the implementation of
disconnect
.
- Correctly dispose ECharts instance before component is destroyed.
- Fix the problem that
group
is not properly initialized.
- As native events are now not listened by
v-on
in Vue.js 2.0, change mouse events name to original ones (keeping emittingchart*
events for now). - Fix getter for
width
/height
/isDisposed
. options
is now optional to initialize the component and the chart will be initialized automatically whenoptions
is 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.