Kibana Vega Lite Tooltips


(Paolo Gianferrara) #1

Hi
someone knows why tooltips, that appear using Vega-editor (see picture) , dont appear using Kibana editor for Vega?
is there any mistake in my graph specification or
is it a known limitation and there are plans to include this feature?

thanks
Paolo

{
$schema: https://vega.github.io/schema/vega-lite/v2.json
data: {
url: https://gist.githubusercontent.com/pgianf/627ff2f2a06b4733e4542b6e6c7ca27b/raw/0b60966281fe7a5d35b26c1f261692b6681e5c14/test_2018.json
format: {property: "hits.hits"}
}
transform: [
{calculate: "datum._source.count", as: "count"}
{calculate: "datum._source.tipologia", as: "tipologia"}
{timeUnit: "yearmonthdatehours", field: "_source.data", as: "tempo"}
]
width: 1500
height: 950
layer: [
{
mark: bar
encoding: {
x: {aggregate: "sum", field: "count", type: "quantitative"}
y: {field: "tempo", type: "temporal"}
color: {field: "tipologia", type: "nominal"}
}
}
]
}


(Jon Budzenski) #2

Hey, they should be supported. Can you share what your Kibana version is? In 6.4 an enhancement was made to use the tooltip plugin, but without the plugin (prior versions) there may be a delay before it shows up - issue filed at https://github.com/elastic/kibana/issues/21122. Without the plugin it's also going to depend on the browser's behavior, can you share which browser you're using?

Does hovering over the line for a few cause it to show up?


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.