# ecomfe/echarts-for-weixin

基于 Apache ECharts 的微信小程序图表库

Repository: https://github.com/ecomfe/echarts-for-weixin
Canonical: https://ross.abutalabs.com/products/echarts-for-weixin
Language: JavaScript
License: BSD-3-Clause
License Family: permissive
Topics: echarts, weixin, chart, visualization
Last push: 2024-06-09T03:51:09+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3110, "days_push": 815, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7508, forks 1593 (observed 2026-08-28T04:10:00.424960+00:00)

## What it is
A WeChat Mini Program component (ec-canvas) that wraps Apache ECharts for rendering charts inside WeChat mini programs. It lets developers use standard ECharts option configurations to build visualizations adapted to the mini program canvas environment.

## Use cases
- add charts to a WeChat mini program
- render ECharts visualizations on mini program canvas
- show bar, line, or pie charts in a WeChat app
- lazy-load charts after fetching data in a mini program
- display multiple charts on one mini program page
- save a chart as an image in WeChat

## When to choose
- you are building a WeChat Mini Program and need rich charting
- you already know ECharts configuration and want the same API in mini programs
- you need canvas-based charts compatible with WeChat's rendering

## When to avoid
- you are targeting web, native mobile, or non-WeChat platforms (use Apache ECharts directly)
- you need a chart library for regular HTML5 web pages
- you require a framework-agnostic charting solution outside the WeChat ecosystem

## Facets
- artifact type: library
- maturity: active
- function: data-visualization, charts, ui-components
- domain: data-visualization, frontend, web-development
- platform: -
- tags: echarts, weixin-miniprogram, canvas, charting, wechat, javascript

## Member repositories
- ecomfe/echarts-for-weixin (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:00.424960+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:37:30.234187+00:00, confidence not recorded.
  - readme: https://github.com/ecomfe/echarts-for-weixin (fetched 2026-08-28T04:10:00.424960+00:00, sha 904f17b1fb5f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
