Kibana: Vega mark positioning is breaking from 6.4.0 to 6.5.0

Created on 19 Nov 2018  路  3Comments  路  Source: elastic/kibana

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

Vega KibanaApp bug

All 3 comments

Pinging @elastic/kibana-app

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

I can also reproduce this behaviour for 6.4

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stigdescamps picture stigdescamps  路  88Comments

TiNico22 picture TiNico22  路  87Comments

Alex-Ikanow picture Alex-Ikanow  路  364Comments

pkubat picture pkubat  路  75Comments

ctindel picture ctindel  路  81Comments