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

Using item in tooltip causes infinite loop in Vega graphs #23893

Closed
nyurik opened this issue Oct 7, 2018 · 2 comments
Closed

Using item in tooltip causes infinite loop in Vega graphs #23893

nyurik opened this issue Oct 7, 2018 · 2 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Vega Vega visualizations Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@nyurik
Copy link
Contributor

nyurik commented Oct 7, 2018

This Vega graph causes browser crash on tooltip popup. This behavior is not observed in the Vega editor, so it might have been fixed in the more recent version. The bug is a low priority because it would mostly help in some debugging corner cases, but there is no point in using item in production.

{
  $schema: https://vega.github.io/schema/vega/v3.json
  marks: [
    {
      type: arc
      encode: {
        enter: {
          x: {value: 200}
          y: {value: 200}
          outerRadius: {value: 100}
          startAngle: {value: 0}
          endAngle: {signal: "2*PI"}
          tooltip: {signal: "item"}   //  any other value here works fine
        }
      }
    }
  ]
}
@nyurik nyurik added bug Fixes for quality problems that affect the customer experience Feature:Vega Vega visualizations labels Oct 7, 2018
@nyurik nyurik self-assigned this Oct 7, 2018
@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Oct 8, 2018
@timroes
Copy link
Contributor

timroes commented Nov 7, 2018

Might be solved via #22644

@alexwizp
Copy link
Contributor

The issue was fixed along with updating Vega lib to version 4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Vega Vega visualizations Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants