echarts icon indicating copy to clipboard operation
echarts copied to clipboard

Problem with tooltip axis of radar charts

Open stouch opened this issue 5 years ago • 23 comments

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

stouch avatar May 23 '19 17:05 stouch

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! 🍵

echarts-bot[bot] avatar May 23 '19 17:05 echarts-bot[bot]

Seems to be a bug.

Ovilia avatar May 24 '19 03:05 Ovilia

you confirm it's a bug ? thx.

stouch avatar May 27 '19 14:05 stouch

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

Ovilia avatar May 28 '19 02:05 Ovilia

? :(

stouch avatar Jul 14 '19 20:07 stouch

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

serich5 avatar Feb 13 '20 18:02 serich5

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

echarts-bot[bot] avatar Feb 18 '20 03:02 echarts-bot[bot]

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.

gracelia avatar Mar 04 '20 03:03 gracelia

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

serich5 avatar Mar 04 '20 15:03 serich5

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

gracelia avatar Mar 04 '20 15:03 gracelia

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.

serich5 avatar Mar 05 '20 15:03 serich5

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 avatar Mar 05 '20 16:03 gracelia

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.

gracelia avatar Apr 03 '20 09:04 gracelia

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 [email protected] 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 .

serich5 avatar Apr 03 '20 14:04 serich5

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

neeru124 avatar Feb 14 '22 09:02 neeru124

Waiting for a result...

LiZhaji avatar Feb 16 '22 09:02 LiZhaji

Waiting for a result...

No result any more

wayward-man avatar Feb 16 '22 09:02 wayward-man

Is there any progress?

plixplox avatar Jul 01 '22 12:07 plixplox

Any progress?

sandeep-kr-kgp avatar Jul 29 '22 06:07 sandeep-kr-kgp

🙂,any progress?

kylewuyinhai avatar Aug 23 '22 08:08 kylewuyinhai

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.

Ovilia avatar Aug 24 '22 02:08 Ovilia

:), any progress or workaround ?

PIMBA avatar Aug 31 '22 16:08 PIMBA

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

Ovilia avatar Sep 05 '22 03:09 Ovilia

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

theuniverse avatar Sep 25 '23 09:09 theuniverse