Skip to content

V0.2.8-alpha (2019-10-24)

Pre-release
Pre-release
Compare
Choose a tag to compare
@jiaming743 jiaming743 released this 24 Oct 01:19
· 38 commits to master since this release

Perfect

  • setOption: setOption adds the animationEnd parameter which skips unfinished animation when updating the chart state. It is recommended to enable animationEnd when frequently updating the chart state (frequently updating the chart state may cause the animation data to continue to grow and cause memory leaks).
    /**
     * @description Set chart option
     * @param {Object} option Chart option
     * @param {Boolean} animationEnd Execute animationEnd
     * @return {Undefined} No return
     */
    Charts.prototype.setOption = function (option, animationEnd = false) {
    }