Keep ordinary sunburst annular labels in their own ring The review correctly pointed out that the previous r0 guard had been broadened too far. The drilldown view root still needs centered full-circle label placement, but ordinary annular full-circle descendants should keep their midpoint label position. Constraint: Review noted the removed layout.r0 === 0 guard changed non-view-root annular full-circle sectors Rejected: Center every full-circle sector | single-child annular descendants would collapse labels to the chart center Confidence: high Scope-risk: narrow Reversibility: clean Directive: Only root disks and the current sunburst view root should use chart-center full-circle labels Tested: ./node_modules/.bin/jest --config test/ut/jest.config.cjs test/ut/spec/series/sunburst.test.ts --runInBand --coverage=false; npm run checktype; ./node_modules/.bin/eslint src/chart/sunburst/SunburstPiece.ts test/ut/spec/series/sunburst.test.ts; git diff --check Not-tested: full visual browser pass
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.
You may choose one of the following methods:
npm install echarts --saveBuild 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.
Please refer to the contributing document if you wish to debug locally or make pull requests.
https://github.com/ecomfe/awesome-echarts
ECharts GL An extension pack of ECharts, which provides 3D plots, globe visualization, and WebGL acceleration.
Extension for Baidu Map 百度地图扩展 An extension provides a wrapper of Baidu Map Service SDK.
vue-echarts ECharts component for Vue.js
echarts-stat Statistics tool for ECharts
ECharts is available under the Apache License V2.
Please refer to Apache Code of Conduct.
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.