Brush (lineX, lineY) selection values are not available with line charts
See original GitHub issueVersion
5.0.2
Reproduction link
https://codepen.io/tamersalama/pen/mdOraGb?editors=1111
Steps to reproduce
1- Create a line chart with a horizontal selector (lineX) brush
2- Use the brush to select a data range
3- The onbrushselected event fires up normally, however the event parameters’ dataIndex (params.batch[0].selected[0].dataIndex
) returns an empty array
4- Changing the chart type to scatter or bar will result in a proper dataIndex being returned
What is expected?
It’s expected that the dataIndex
for the selection to have an array of selected values
What is actually happening?
dataIndex within params.batch[0].selected[0].dataIndex
is empty
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Apache ECharts - Brush with line chart range selection
Setting up a line chart with line series and a horizontal selection brush ( lineX ) doesn't seem to provide a way of...
Read more >Let's Make a Brushable Line Chart / Trevor John Gale
Brush is a useful way of allowing users to select a subset of the data. There are multiple ways of adding brush interactions...
Read more >How to correct a Line chart with no line on the chart in Excel
Many a times you find that there are no lines in your line chart in the Excel, it is very weird and difficult...
Read more >echarts langEN 源码 - seaxiang
... brush: { title: { rect: 'Box Select', polygon: 'Lasso Select', lineX: ... magicType: { title: { line: 'Switch to Line Chart', bar:...
Read more >Plot Pack Manual
Some states do not allow limitations of duration of any implied warranty, so the ... Use the X and Y properties to set...
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
really need this feature for line chart
@Ovilia
As the document states:
If you are interested in making this feature, please open a pull request.