/typst-echarm-package

Run echarts in typst with the use of CtxJS

Primary LanguageTypstMIT LicenseMIT

Echarm

A typst plugin to run echarts in typst with the use of CtxJS.

Examples

Source Code Source Code Source Code
Source Code Source Code Source Code

For more examples see:

https://echarts.apache.org/examples/en/index.html

For the complete documentation for the configuration of echarts, see:

https://echarts.apache.org/en/option.html

Usage

#import "@preview/echarm:0.1.0"

// options are echart options
#echarm.render(width: 100%, height: 100%, options: (:))

Infos

The version is not the same as the echart version, so that I can update independently. Animations are not supported here!

You can find more information about CtxJS here:

https://typst.app/universe/package/ctxjs/

Versions

Version Echart-Version
0.1.0 5.5.1