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
npm install comark-flint-chart flint-chart
yarn 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
npm install vue @comark/vue vega-embed vega vega-lite
# optional ECharts backend:
npm install echarts
yarn add vue @comark/vue vega-embed vega vega-lite
# optional ECharts backend:
yarn 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.