Highlighting the clicked month
See original GitHub issueI want to get the selected month by user highlighted!! as you can see in the image i have attached. I have come close by using brush, but still could not acheive it completely. When I dispatch an action, lets say I pass [‘Mar’, ‘Apr’] to coordRange property, and it makes a brush between Mar and April, I want it to be highlighted exactly April if user selected April. Thanks
One-line summary [问题简述]
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]:
- Browser version [浏览器类型和版本]:
- OS Version [操作系统类型和版本]:
Expected behaviour [期望结果]
ECharts option [ECharts配置项]
option = {
}
Other comments [其他信息]
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (1 by maintainers)
Top Results From Across the Web
Highlighting the clicked month · Issue #8160 · apache/echarts
I want to get the selected month by user highlighted!! as you can see in the image i have attached. I have come...
Read more >How to highlight a range of selected months - Stack Overflow
I used approach where overall months are represented by one large Array (monthsData) since the use case needs to support months selection across ......
Read more >Highlight Current Month in the Line Chart | Power BI - YouTube
In this video I'll share a visualization technique to highlight the current month in a Line Chart. Enjoy!
Read more >Highlighting Current Day on Javascript Calendar - SitePoint
I have the script I have worked on from a book. However, I am confused as to how I can highlight the current...
Read more >Highlight month selected on visual A, in visual B
I'd like when a month is selected in Visual A, that it will highlight the same ... Select the visual, and click Edit...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@thomaspessato I have tried dispatching action, it works for a click, on every click just pass the ev.dataIndex to dataIndex property https://ecomfe.github.io/echarts-doc/public/en/api.html#action
set emphasize to false in the options or refer the docs, and set emphasize for each click. or you can dispatch an action on a click and that would do the same!! dispatchAction({ type: ‘highlight’, // optional; series index; could be an array of multiple series seriesIndex?: number|Array, // optional; series name; could be an array of multiple series seriesName?: string|Array, // options are index of data dataIndex?: number, // options are data name name?: string })
refer the api section in echarts website