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

[Bug] indicator stop tooltip interactivation #3123

Closed
skie1997 opened this issue Aug 23, 2024 · 0 comments · Fixed by #3126 or VisActor/VRender#1392
Closed

[Bug] indicator stop tooltip interactivation #3123

skie1997 opened this issue Aug 23, 2024 · 0 comments · Fixed by #3126 or VisActor/VRender#1392
Assignees
Labels
bug Something isn't working

Comments

@skie1997
Copy link
Contributor

Version

1.11.11

Link to Minimal Reproduction

vscreen

Steps to Reproduce

/** --在业务中使用时请添加以下代码-- */
// 在业务中使用时, 请额外引入registerLiquidChart并执行
// import { registerLiquidChart } from '@visactor/vchart';
// registerLiquidChart();
/** --在业务中使用时请添加以上代码-- */

/** --在业务中使用时请删除以下代码-- */
VCHART_MODULE.registerLiquidChart();
/** --在业务中使用时请删除以上代码-- */
const spec = {
  type: 'liquid',
  valueField: 'value',
  data: {
    id: 'data',
    values: [
      {
        value: 0.8
      }
    ]
  },
  indicator: {
    visible: true,
    title: {
      visible: true,
      style: {
        text: '进度'
      }
    },
    content: [
      {
        visible: true,
        style: {
          fill: 'black',
          text: '30%'
        }
      }
    ]
  }
};

const vchart = new VChart(spec, { dom: CONTAINER_ID });
vchart.renderSync();

// Just for the convenience of console debugging, DO NOT COPY!
window['vchart'] = vchart;

Current Behavior

hover到indicator时,tooltip不触发,设置pickable或interactive属性都不生效

Expected Behavior

hover到indicator时,tooltip触发

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant