MCPcopy
hub / github.com/apache/echarts

github.com/apache/echarts @6.1.0 sqlite

repository ↗ · DeepWiki ↗ · release 6.1.0 ↗
6,022 symbols 17,745 edges 832 files 704 documented · 12%
README

Apache ECharts

logo

Apache ECharts is a free, powerful charting and visualization library offering easy ways to add intuitive, interactive, and highly customizable charts to your commercial products. It is written in pure JavaScript and based on zrender, which is a whole new lightweight canvas library.

中文官网 | ENGLISH HOMEPAGE

License Latest npm release NPM downloads Contributors

Build Status

Get Apache ECharts

You may choose one of the following methods:

Docs

Get Help

Build

Build echarts source code:

Execute the instructions in the root directory of the echarts: (Node.js is required)

# Install the dependencies from NPM:
npm install

# Rebuild source code immediately in watch mode when changing the source code.
# It opens the `./test` directory, and you may open `-cases.html` to get the list
# of all test cases.
# If you wish to create a test case, run `npm run mktest:help` to learn more.
npm run dev

# Check the correctness of TypeScript code.
npm run checktype

# If intending to build and get all types of the "production" files:
npm run release

Then the "production" files are generated in the dist directory.

Contribution

Please refer to the contributing document if you wish to debug locally or make pull requests.

Resources

Awesome ECharts

https://github.com/ecomfe/awesome-echarts

Extensions

License

ECharts is available under the Apache License V2.

Code of Conduct

Please refer to Apache Code of Conduct.

Paper

Deqing Li, Honghui Mei, Yi Shen, Shuang Su, Wenli Zhang, Junting Wang, Ming Zu, Wei Chen. ECharts: A Declarative Framework for Rapid Construction of Web-based Visualization. Visual Informatics, 2018.

Extension points exported contracts — how you extend this code

SunburstSeriesModel (Interface)
(no doc) [8 implementers]
src/chart/sunburst/SunburstSeries.ts
UserDefinedToolboxFeature (Interface)
(no doc) [7 implementers]
src/component/toolbox/featureManager.ts
FilterComparator (Interface)
(no doc) [13 implementers]
src/data/helper/dataValueHelper.ts
CoordinateSystemMaster (Interface)
(no doc) [11 implementers]
src/coord/CoordinateSystem.ts
ParsedConditionInternal (Interface)
(no doc) [15 implementers]
src/util/conditionalExpression.ts
LinearScaleMapper (Interface)
* Generally, no need to export `LinearScaleMapper` and not recommended * to visit `_extent` directly outside, otherwise
src/scale/scaleMapper.ts
SeriesModel (Interface)
* NOTICE: * - prefix `__` can be used to avoid conflicts with possible outside subclasses. * - All of these methods
src/model/Series.ts
LabelLayoutBase (Interface)
* This is the input for label layout and overlap resolving.
src/label/labelLayoutHelper.ts

Core symbols most depended-on inside this repo

get
called by 1576
src/model/Model.ts
each
called by 377
test/lib/canteen.js
each
called by 326
src/data/DataStore.ts
getModel
called by 287
src/core/echarts.ts
require
called by 187
test/lib/simpleRequire.js
getData
called by 174
src/component/timeline/SliderTimelineModel.ts
assert
called by 156
test/lib/testHelper.js
add
called by 149
src/component/dataZoom/DataZoomModel.ts

Shape

Function 2,613
Method 2,075
Interface 759
Class 575

Languages

TypeScript100%

Modules by API surface

test/lib/testHelper.js121 symbols
src/core/echarts.ts112 symbols
src/util/types.ts100 symbols
test/lib/jquery.min.js75 symbols
src/data/SeriesData.ts73 symbols
src/component/helper/BrushController.ts66 symbols
src/util/model.ts61 symbols
src/model/Series.ts55 symbols
src/chart/bar/BarView.ts51 symbols
src/util/states.ts50 symbols
test/runTest/client/client.js49 symbols
src/data/Graph.ts49 symbols

Dependencies from manifests, versioned

@babel/code-frame7.10.4 · 1×
@babel/core7.3.4 · 1×
@babel/types7.10.5 · 1×
@definitelytyped/typescript-versions0.1.9 · 1×
@definitelytyped/utils0.0.188 · 1×
@echarts-x/eslint-plugin-ec1.0.0 · 1×
@lang/rollup-plugin-dts2.0.3 · 1×
@microsoft/api-extractor7.31.2 · 1×
@rollup/plugin-commonjs17.0.0 · 1×
@rollup/plugin-node-resolve11.0.0 · 1×
@rollup/plugin-replace2.3.4 · 1×
@rollup/plugin-terser0.4.2 · 1×

For agents

$ claude mcp add echarts \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact