I want to know specification of limitations in vega-lite compared to vega.
Nor if there are anything that vega can't do but vega-lite can.
The Vega visualization in Kibana supports both Vega and Vega-Lite. You can use the schema
value to define which language you would like to use and its minimum required version.
For example:
- Vega-Lite v2:
$schema: https://vega.github.io/schema/vega-lite/v2.json
- Vega v4:
$schema: https://vega.github.io/schema/vega/v4.json
The schema
URL is only used for identification, and does not need to be accessible by Kibana.
Vega-Lite is a simplified version of Vega; it automates some constructions and has much shorter specifications than Vega. Vega-Lite is automatically converted into Vega before rendering, but it has some limitations, and there are some visualizations that can be expressed in Vega that cannot be expressed in Vega-Lite. You can learn more in the Vega-Lite documentation.
More documentation can be found here:
https://www.elastic.co/guide/en/kibana/master/vega-vs-vegalite.html
thanks
Rashmi
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.