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

   ### What problem does this feature solve?
   
   The same way we can use the _dispatchAction_ method for actions like 
cleaning the areas:
   
   
   
   Is there any way to create a brushed area programmatically? I know there is 
a dispatchAction method for the echart instance which allows me to do some 
actions like cleaning the areas:
   
   ```
   echartInstance?.dispatchAction({
           type: 'brush',
           command: 'clear',
           areas: [],
         });
   ```
   
   Could be interesting to be able to brush areas programmatically from a range 
of values, something like:
   
   ```
   
   echartInstance?.dispatchAction({
           type: 'brush',
           command: 'lineX',
           areas: [
              // Area ranges
            ],
         });
   ```
   
   
   ### What does the proposed API look like?
   
   Not enough knowledge about the API.


-- 
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