Chart
Published:
Series: Shortcodes
- 1. Writing
- 2. Media and Content Embeddings
- 3. Math
- 4. Chart
- 5. Mermaid
Chart
chart uses the Apache ECharts to embed charts into articles. It supports a vast range of official examples.
Note
The chart shortcode places your code directly into a <script> tag. To ensure compatibility:
- Variable Naming: The code must define an
optionvariable as the configuration object. - Extensions: Extensions such as
ecStat,echarts-gl, orecharts-liquidfillare not built-in. Examples requiring these will not function. - Data Sources: Examples using
fetchor$.getrequire data sources that support CORS.
Line Chart
Pie Chart
Scatter
Boxplot
Series: Shortcodes
- 1. Writing
- 2. Media and Content Embeddings
- 3. Math
- 4. Chart
- 5. Mermaid
Previous
MathNext
Mermaid