Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

echarts 4.x 雷达图 tooltip问题 #7836

Closed
sjh0824 opened this issue Mar 1, 2018 · 10 comments
Closed

echarts 4.x 雷达图 tooltip问题 #7836

sjh0824 opened this issue Mar 1, 2018 · 10 comments
Labels
stale Inactive for a long time. Will be closed in 7 days.

Comments

@sjh0824
Copy link

sjh0824 commented Mar 1, 2018

One-line summary [问题简述]

echarts 4.x 雷达图 tooltip.trigger = "axis" 为什么不起作用

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:
  • Browser version [浏览器类型和版本]:
  • OS Version [操作系统类型和版本]:

Expected behaviour [期望结果]

ECharts option [ECharts配置项]

option = {
    title: {
        text: '基础雷达图'
    },
    tooltip: {
        trigger: "axis"
    },
    legend: {
        data: ['预算分配(Allocated Budget)', '实际开销(Actual Spending)']
    },
    radar: {
        // shape: 'circle',
        name: {
            textStyle: {
                color: '#fff',
                backgroundColor: '#999',
                borderRadius: 3,
                padding: [3, 5]
           }
        },
        indicator: [
           { name: '销售(sales)', max: 6500},
           { name: '管理(Administration)', max: 16000},
           { name: '信息技术(Information Techology)', max: 30000},
           { name: '客服(Customer Support)', max: 38000},
           { name: '研发(Development)', max: 52000},
           { name: '市场(Marketing)', max: 25000}
        ]
    },
    series: [{
        name: '预算 vs 开销(Budget vs spending)',
        type: 'radar',
        // areaStyle: {normal: {}},
        data : [
            {
                value : [4300, 10000, 28000, 35000, 50000, 19000],
                name : '预算分配(Allocated Budget)'
            },
             {
                value : [5000, 14000, 28000, 31000, 42000, 21000],
                name : '实际开销(Actual Spending)'
            }
        ]
    }]
};

Other comments [其他信息]

@lising1984
Copy link

同样的问题,怎么解决啊?

@julieZhu89
Copy link

@sjh0824 @lising1984 遇到同样的问题 你们的问题怎么解决的呀

@sjh0824
Copy link
Author

sjh0824 commented Nov 22, 2018

没解决 有的echarts2

@julieZhu89
Copy link

好的,我也试试echart2 希望echart以后版本能支持这个功能

@stouch
Copy link

stouch commented May 23, 2019

up !!

@stouch
Copy link

stouch commented May 27, 2019

I think it's also a duplicate of my recent post :
Duplicate of #10537

@vxhly
Copy link

vxhly commented Oct 12, 2019

同样的问题,怎么解决啊?

@iaminvictus1993
Copy link

mark 雷达图 设置tooltip 触发方式为axis报错

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

@github-actions github-actions bot added the stale Inactive for a long time. Will be closed in 7 days. label May 14, 2022
@github-actions
Copy link
Contributor

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Inactive for a long time. Will be closed in 7 days.
Projects
None yet
Development

No branches or pull requests

6 participants