Getting started

Installation

Install comark-flint-chart with pnpm, npm, or yarn. comark and flint-chart are peer dependencies.

Install the package

pnpm add comark-flint-chart flint-chart

comark and flint-chart are peer dependencies.

Add the Vue renderer

For the Vue renderer:

pnpm add vue @comark/vue vega-embed vega vega-lite
# optional ECharts backend:
pnpm add echarts

Parse-time svg / img output is opt-in (output: 'svg' or output: 'img'). Default output: 'component' needs the client <Flint> renderer.

For static SVG/img without Vue, install vega + vega-lite (and/or echarts) as peers.

Copyright © 2026