VChart
VChart copied to clipboard
[Feature] add event filter `type: 'region'` and `type: 'region-outside'`
What problem does this feature solve?
- 能够监听region内的事件
- 能够监听非region区域的事件
What does the proposed API look like?
vchart.on('click', { level: 'model', type: 'region' }, (e) => { });
vchart.on('click', { level: 'model', type: 'region-outside' }, (e) => { });