function disposedWarning(id) {
    if (__DEV__) {
        console.warn('Instance ' + id + ' has been disposed');
    }
}
@class
Usage of query:
`chart.on('click', query, handler);`
The `query` can be:
+ The component type query string, only `mainType` or `mainType.subType`,
  like: 'xAxis', 'series', 'xAxis.category' or 'series.line'.
+ The component query object, like:
  `{seriesIndex: 2}`, `{seriesName: 'xx'}`, `{seriesId: 'some'}`,
  `{xAxisIndex: 2}`, `{xAxisName: 'xx'}`, `{xAxisId: 'some'}`.
+ The data query object, like:
  `{dataIndex: 123}`, `{dataType: 'link'}`, `{name: 'some'}`.
+ The other query object (cmponent customized query), like:
  `{element: 'some'}` (only available in custom series).

Caveat: If a prop in the `query` object is `null/undefined`, it is the
same as there is no such prop in the `query` object.