Vega - how can I prevent tooltips from being truncated when labels are too long?

Hi,

I'm trying to create a Vega visualization in Kibana. I'd like to display tooltips in my plots but since corresponding labels are too long, the tooltips are getting truncated and in my use case they become useless.

Is there any way to disable the truncating?

The example is shown below:
vega
Visualization definition:

{
  "$schema": "https://vega.github.io/schema/vega-lite/v3.json",
  "description": "Stock prices of 5 Tech Companies Over Time.",
  "data": {
    "values": [
      {"url": "http://my-domain.com/crm/crm-customer-rest/unassignedCustomers/customer1", "x": 0, "y": 28},
      {"url": "http://my-domain.com/crm/crm-customer-rest/unassignedCustomers/customer1", "x": 1, "y": 55},
      {"url": "http://my-domain.com/crm/crm-customer-rest/unassignedCustomers/customer1", "x": 2, "y": 43},
      {"url": "http://my-domain.com/crm/crm-customer-rest/unassignedCustomers/customer1", "x": 3, "y": 91}, 
      {"url": "http://my-domain.com/crm/crm-customer-rest/unassignedCustomers/customer1", "x": 4, "y": 81},
      {"url": "http://my-domain.com/crm/crm-customer-rest/unassignedCustomers/customer1", "x": 5, "y": 53},
      {"url": "http://my-domain.com/crm/crm-customer-rest/unassignedCustomers/customer1", "x": 6, "y": 19},
      {"url": "http://my-domain.com/crm/crm-customer-rest/unassignedCustomers/customer1", "x": 7, "y": 87},
      {"url": "http://my-domain.com/crm/crm-customer-rest/unassignedCustomers/customer1", "x": 8, "y": 52}
    ]
  },
  "mark": "line",
  "encoding": {
    "x": {"field": "x", "type": "quantitative"},
    "y": {"field": "y", "type": "quantitative"},
    "tooltip": [
      {"field": "url", "type": "nominal"}
    ]
  }
}

Hello,

Looks like that was done intentionally here but isn't currently configurable. You could submit an enhancement request!.

Regards,
Aaron

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