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 2022/06/17 10:12:34 UTC
[GitHub] [echarts] RavalikaP opened a new issue, #17239: [Bug] Can we get the coordinates when we know the datalabel and series data point?
RavalikaP opened a new issue, #17239:
URL: https://github.com/apache/echarts/issues/17239
### Version
5.3.0
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=line-simple
### Steps to Reproduce
1. Create any chart.
2. I want to click on series datalabel or axis data label.
3. when I clicked on that particular area of the chart. Do, I get the co-ordinates from the chart instance?
### Current Behavior
Need the co-ordinates of the particular area in the chart
### Expected Behavior
Need the co-ordinates of the particular area in the chart
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
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: commits-unsubscribe@echarts.apache.org.apache.org
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
[GitHub] [echarts] ParasolGao commented on issue #17239: [Bug] Can we get the coordinates when we know the datalabel and series data point?
Posted by GitBox <gi...@apache.org>.
ParasolGao commented on issue #17239:
URL: https://github.com/apache/echarts/issues/17239#issuecomment-1159778387
Maybe you can try this
```
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
emphasis:{
label:{
show:true
}
}
},
]
};
```
--
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: commits-unsubscribe@echarts.apache.org
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
[GitHub] [echarts] Ovilia commented on issue #17239: [Bug] Can we get the coordinates when we know the datalabel and series data point?
Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #17239:
URL: https://github.com/apache/echarts/issues/17239#issuecomment-1160022736
https://echarts.apache.org/en/api.html#echartsInstance.convertToPixel See if this helps.
--
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: commits-unsubscribe@echarts.apache.org
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
[GitHub] [echarts] jiawulin001 commented on issue #17239: [Bug] Can we get the coordinates when we know the datalabel and series data point?
Posted by GitBox <gi...@apache.org>.
jiawulin001 commented on issue #17239:
URL: https://github.com/apache/echarts/issues/17239#issuecomment-1159875067
Do you mean you want to get series points' coordinates in DOM, not data?
--
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: commits-unsubscribe@echarts.apache.org
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
[GitHub] [echarts] RavalikaP commented on issue #17239: [Bug] Can we get the coordinates when we know the datalabel and series data point?
Posted by GitBox <gi...@apache.org>.
RavalikaP commented on issue #17239:
URL: https://github.com/apache/echarts/issues/17239#issuecomment-1159979731
@jiawulin001 x, y position
--
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: commits-unsubscribe@echarts.apache.org
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