Skip to main content

Chart

View Source Edit this page (external link)
Published:

Chart Link to this heading

chart uses the Apache ECharts (external link) to embed charts into articles. It supports a vast range of official examples (external link).

Note

The chart shortcode places your code directly into a <script> tag. To ensure compatibility:

  • Variable Naming: The code must define an option variable as the configuration object.
  • Extensions: Extensions such as ecStat, echarts-gl, or echarts-liquidfill are not built-in. Examples requiring these will not function.
  • Data Sources: Examples using fetch or $.get require data sources that support CORS.

Line Chart Link to this heading

Basic Line Chart (external link)

Distribution of Electricity (external link)

Pie Chart Link to this heading

Referer of a Website (external link)

Scatter Link to this heading

Basic Scatter Chart (external link)

Bubble Chart (external link)

Boxplot Link to this heading

Boxplot Light Velocity (external link)

Article Connections

Accessibility settings

Font size