Skip to content

Add support for replaceMerge option like official Echarts setOptions #478

Open
@NattapongSiri

Description

@NattapongSiri

See: https://echarts.apache.org/en/api.html#echartsInstance.setOption
There's an option replaceMerge which work in combination with notMerge option.

It seem like the only place to be modified is https://github.com/hustcc/echarts-for-react/blob/master/src/types.ts
because

if (!isEqual(pick(this.props, pickKeys), pick(prevProps, pickKeys))) {
this.updateEChartsOption();
}
will automatically set this option to underlying Echart instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions