You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/09/21 02:35:38 UTC

[GitHub] [incubator-echarts] msbasanth commented on issue #13279: Allow chart action controls for modifying data visualization in the rendered charts

msbasanth commented on issue #13279:
URL: https://github.com/apache/incubator-echarts/issues/13279#issuecomment-695876523


   @100pah 
   
   Agree that ECharts is rendered using Canvas or SVG. 
   As you said we could move this data filtering controls outside chart rendering area and and modify the chart by responding to the events. But it clearly gives better usability when we have controls inside the chart.
   
   The options available:
   1. Using SVG itself for creating controls for modifying data.
   ![image](https://user-images.githubusercontent.com/17777813/93728762-fc27ce00-fbde-11ea-8299-d6c3c0c8b411.png)
   http://jsfiddle.net/qd9js9oj/
   Here they used SVG rect for creating a button.
   
   1. Using HTML Elements as overlay when need to take input from user.
   ![image](https://user-images.githubusercontent.com/17777813/93728965-01394d00-fbe0-11ea-8494-79532b846b9d.png)
   https://jsfiddle.net/BlackLabel/cf0h8tp5/
   Here used HTML Input on double click and allow user input through that. 
   With this user don't have to go out of chart for doing a filtering logic.
   
   It would be great if echarts allow data modifications controls similar way.
   
   
   
   
   
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org