apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.4k stars 19.61k forks source link

Problem with tooltip axis of radar charts #10537

Open stouch opened 5 years ago

stouch commented 5 years ago

Version

4.2.1

Reproduction link

https://echarts.apache.org/examples/en/editor.html?c=radar-custom

Steps to reproduce

Complete the code of the example with :

tooltip:{
    trigger:"axis"
}

What is expected?

Tooltip should appears on-hover the radar axis.

What is actually happening?

Nothing appears on hover

echarts-bot[bot] commented 5 years ago

Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

Have a nice day! 🍵

Ovilia commented 5 years ago

Seems to be a bug.

stouch commented 5 years ago

you confirm it's a bug ? thx.

Ovilia commented 5 years ago

Yes. This either should be a bug or a new feature.

stouch commented 5 years ago

? :(

serich5 commented 4 years ago

Any update on this? I am running into the same issue.

echarts-bot[bot] commented 4 years ago

This issue is labeled with priority: high, which means it's a frequently asked problem and we will fix it ASAP.

gracelia commented 4 years ago

As a workaround, you could set an empty tooltip attribute like: ' tooltip:{} ' in the option. Please let me know if it could provide the same result as you expected.

serich5 commented 4 years ago

Thanks for the response. Placing an empty tooltip in option does not solve the problem. Nothing is triggered when hovering over the axis.

gracelia commented 4 years ago

Thanks for the response. Placing an empty tooltip in option does not solve the problem. Nothing is triggered when hovering over the axis.

But hovering over the edge or cross point for one type of data, you will see things like image

serich5 commented 4 years ago

Hovering over a data point works, however, hovering over just the access does not. When hoving over the axis the user should see all the values associated with the axis not all the data associated with one data series as shown in your diagram.

gracelia commented 4 years ago

Hovering over a data point works, however, hovering over just the access does not. When hoving over the axis the user should see all the values associated with the axis not all the data associated with one data series as shown in your diagram.

Thank you, got your point.

gracelia commented 4 years ago

As I figured out the main cause of this issue is that radar component hasn't implemented axisPointer yet, so it does not support showing axis message for series. I've searched for reason from official docs, and got some clues, as follow:

axisPointer is a tool for displaying reference line and axis value under mouse pointer.

Summary: axisPointer is the tool matters most in this issue.

Radar: 1. Coordinate for radar charts. This component is equal to the polar component in ECharts 2. Because the polar component in the echarts 3 is reconstructed to be the standard polar coordinate component, this component is renamed to be radar to avoid confusion.

Summary: radar coordinate is different from polar coordinate in Echarts 3

Radar chart coordinate is different from polar coordinate, in that every axis indicator of the radar chart coordinate is an individual dimension.

Summary: radar coordinate is very special.

How to display axisPointer: In cartesian (grid) and polar](~polar) and (single axis, each axis has its own axisPointer.

Summary: As a special coordinator, radar does not exist in axisPointer's implements list.

This seems to be a new feature waiting for implement.

serich5 commented 4 years ago

Thanks for the information. So it sounds like it is not a bug, it is just not implemented yet. Can we get it implemented?

Thanks,

Stephen

On Fri, Apr 3, 2020 at 2:42 AM Grace notifications@github.com wrote:

As I figured out the main cause of this issue is that radar component hasn't implemented axisPointer yet, so it does not support showing axis message for series. I've searched for reason from official docs, and got some clues, as follow:

axisPointer is a tool for displaying reference line and axis value under mouse pointer.

Summary: axisPointer is the tool matters most in this issue.

Radar: 1. Coordinate for radar charts. This component is equal to the polar component in ECharts 2. Because the polar component in the echarts 3 is reconstructed to be the standard polar coordinate component, this component is renamed to be radar to avoid confusion.

Summary: radar coordinate is different from polar coordinate in Echarts 3

Radar chart coordinate is different from polar coordinate, in that every axis indicator of the radar chart coordinate is an individual dimension.

Summary: radar coordinate is very special.

How to display axisPointer: In cartesian (grid) and polar](~polar) and (single axis, each axis has its own axisPointer.

Summary: As a special coordinator, radar does not exist in axisPointer's implements list.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/apache/incubator-echarts/issues/10537#issuecomment-608339356, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6OGUWEKQKUVNDDTH54GELRKWVPVANCNFSM4HPIZRLQ .

neeru124 commented 2 years ago

Hi I am looking for the same solution. Is there any progress on this ?

LiZhaji commented 2 years ago

Waiting for a result...

wayward-man commented 2 years ago

Waiting for a result...

No result any more

plixplox commented 2 years ago

Is there any progress?

sandeep-kr-kgp commented 2 years ago

Any progress?

kylewuyinhai commented 2 years ago

🙂,any progress?

Ovilia commented 2 years ago

This problem is tricky because it's actually not an axis but an indicator. So if anyone is interested in making a PR, a new value of trigger: 'indicator' shoud be provided.

PIMBA commented 2 years ago

:), any progress or workaround ?

Ovilia commented 2 years ago

@PIMBA This issue is still waiting for contributors. If you are interested, please checkout the wiki to learn how to contribute.

theuniverse commented 1 year ago

May I know if there is any progress on this issue/feature?

aaadryyy commented 3 months ago

Any news on this and the solution proposed by helgasoft?