echarts [Feature] getOption without data and/or with selected keys

nxowjjhe  于 5个月前  发布在  Echarts
关注(0)|答案(1)|浏览(47)

What problem does this feature solve?

The problem to solve is that getOption() clones the internal _model.option variable together with the dataset property. When we manipulate huge datasets duplicating the data is not efficient.

What does the proposed API look like?

So we would like either to have a getOption function which would not provide the dataset.
Or even better a getOption where we can select the key, as for the setOption with replaceMerge option.

相关问题