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

Vega mark positioning is breaking from 6.4.0 to 6.5.0 #25855

Closed
clemlesne opened this issue Nov 19, 2018 · 3 comments
Closed

Vega mark positioning is breaking from 6.4.0 to 6.5.0 #25855

clemlesne opened this issue Nov 19, 2018 · 3 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

@clemlesne
Copy link

clemlesne commented Nov 19, 2018

Hello,

Kibana version: 6.5.0

Elasticsearch version: 6.5.0

Server OS version: Linux

Browser version: Chrome Version 64.0.3282.119

Browser OS version: Windows 10

Original install method (e.g. download page, yum, from source, etc.): n/a

Description of the problem including expected versus actual behavior:
I use Kibana with vega to create custom text based visualizations. For this I use this configuration:

{
  type: text
  encode: {
    update: {
      text: {value: "Fully processed requests"}
      align: {value: "center"}
      baseline: {value: "middle"}
      xc: {signal: "width/2"}
      yc: {signal: "height/2"}
      fontSize: {value: "14"}
    }
  }
}

But, since the upgrade from Kibana & Elastic 6.4.0 to 6.5.0, all these visualizations are rendering in the upper top (screenshot included).
chrome_fsgmp7r22e

This is the same render in all my dashboards.

Steps to reproduce:

  1. Create a Vega visualization
  2. Create a mark with my configuration
  3. Observe

Errors in browser console (if relevant): none

Provide logs and/or server output (if relevant): none

@thomasneirynck thomasneirynck added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Nov 19, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@thomasneirynck thomasneirynck added the Feature:Vega Vega visualizations label Nov 19, 2018
@flash1293 flash1293 self-assigned this Feb 18, 2019
@flash1293
Copy link
Contributor

This only seems to happen when the height of the vega canvas is an even number.
Height 113px:
screenshot 2019-02-18 at 16 51 22

Height 114px:
screenshot 2019-02-18 at 16 51 29

@flash1293
Copy link
Contributor

I can also reproduce this behaviour for 6.4

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

5 participants