rettrich opened a new issue, #18446:
URL: https://github.com/apache/echarts/issues/18446

   ### What problem does this feature solve?
   
   There is no action available to clear the axis range selection in parallel 
coordinates plot. The only option is to click on an axis, but it would be 
helpful to clear the axis range selection by dispatching an action. 
   For now, a workaround is 
   `Object.values((echart as any)._componentsMap)`
   `  .map(x => (x as any).axisModel)`
   `  .filter(Boolean)`
   `  .forEach(x => {`
   `    x.activeIntervals = [];`
   `});`
   Here we need to access the internal state of the echart. 
   There is an event 'axisareaselected' 
(https://echarts.apache.org/en/api.html#events.axisareaselected), but there is 
no action documented to trigger it. 
   
   ### What does the proposed API look like?
   
   An action could look like this: 
   `dispatchAction( { type: 'clearAxisRangeSelection',  axes: ['x', 'y'] } )`
   should clear the axis selection range on the axes named 'x' and 'y' (the 
name as defined in the `option.parallelAxis[i].name` property). 
   Additionally, 
   `dispatchAction( { type: 'clearAxisRangeSelection'} )`
   could be used to clear the axis selection range on all axes. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to