Ecosystem
vega
comark-vega charts.
comark-vega charts. Full plugin docs live at comark-vega.
import vega from 'comark-codemirror/plugins/vega'
comark({ plugins: [vega()] })
What it adds
- Components:
::vega,::chart,::vl,::vega-lite,::vg,::chart-arc,::chart-area,::chart-bar,::chart-boxplot,::chart-circle,::chart-errorband,::chart-errorbar, … (22)
Components
| Component | Props | Slots |
|---|---|---|
::vega | spec, engine (vega | vega-lite), width, height | – |
::chart | spec, engine (vega | vega-lite), width, height | – |
::vl | spec, engine (vega | vega-lite), width, height | – |
::vega-lite | spec, engine (vega | vega-lite), width, height | – |
::vg | spec, engine (vega | vega-lite), width, height | – |
::chart-arc | spec, engine (vega | vega-lite), width, height | – |
::chart-area | spec, engine (vega | vega-lite), width, height | – |
::chart-bar | spec, engine (vega | vega-lite), width, height | – |
::chart-boxplot | spec, engine (vega | vega-lite), width, height | – |
::chart-circle | spec, engine (vega | vega-lite), width, height | – |
::chart-errorband | spec, engine (vega | vega-lite), width, height | – |
::chart-errorbar | spec, engine (vega | vega-lite), width, height | – |
::chart-geoshape | spec, engine (vega | vega-lite), width, height | – |
::chart-image | spec, engine (vega | vega-lite), width, height | – |
::chart-line | spec, engine (vega | vega-lite), width, height | – |
::chart-point | spec, engine (vega | vega-lite), width, height | – |
::chart-rect | spec, engine (vega | vega-lite), width, height | – |
::chart-rule | spec, engine (vega | vega-lite), width, height | – |
::chart-square | spec, engine (vega | vega-lite), width, height | – |
::chart-text | spec, engine (vega | vega-lite), width, height | – |
::chart-tick | spec, engine (vega | vega-lite), width, height | – |
::chart-trail | spec, engine (vega | vega-lite), width, height | – |
For agents
Included in llms():
Vega charts (comark-vega):
::chart-bar{:spec="data.sales"}(or::vega/::vega-litewith a spec).