echarts icon indicating copy to clipboard operation
echarts copied to clipboard

echarts 4.x 雷达图 tooltip问题

Open sjh0824 opened this issue 8 years ago • 10 comments

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 [其他信息]

sjh0824 avatar Mar 01 '18 06:03 sjh0824

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

lising1984 avatar Jul 03 '18 03:07 lising1984

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

julieZhu89 avatar Nov 22 '18 02:11 julieZhu89

没解决 有的echarts2

sjh0824 avatar Nov 22 '18 03:11 sjh0824

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

julieZhu89 avatar Nov 22 '18 05:11 julieZhu89

up !!

stouch avatar May 23 '19 18:05 stouch

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

stouch avatar May 27 '19 14:05 stouch

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

vxhly avatar Oct 12 '19 07:10 vxhly

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

iaminvictus1993 avatar May 14 '20 08:05 iaminvictus1993

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[bot] avatar May 14 '22 21:05 github-actions[bot]

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!

github-actions[bot] avatar May 21 '22 21:05 github-actions[bot]