MCPcopy
hub / github.com/alibaba/BizCharts

github.com/alibaba/BizCharts @v4.1.15 sqlite

repository ↗ · DeepWiki ↗ · release v4.1.15 ↗
537 symbols 1,331 edges 326 files 3 documented · 1%
README

BizCharts

NPM Package NPM Downloads

New charting and visualization library has been released: http://bizcharts.net/products/bizCharts.

More details about BizCharts

Features

  • React ES6 grammar
  • Easy to use
  • Strong expansion capability
  • Support most data visualization charts

See more demos.

Releases

  • v3.5.x: https://bizcharts.net/product/bizcharts/gallery
  • V4.0.0: https://bizcharts.net/product/BizCharts4/gallery

Upgrade document: https://bizcharts.net/product/BizCharts4/category/61/page/104

Installation

npm

$ npm install bizcharts

umd

 <script src="https://unpkg.com/bizcharts@${version}/umd/BizCharts.min.js"></script>

Dev build

$ git clone https://github.com/alibaba/BizCharts.git
$ cd BizCharts
$ npm install
$ npm start
$ npm run build

Test snapshot

Does not support external network testing right now.

tnpm run uitest

Usage

Try it out

import {Chart, Axis, Tooltip, Line, Point} from "bizcharts";

const data = [...];

<Chart height={400} data={data} forceFit>
  <Axis name="temperature" label={{formatter: val => `${val}°C`}} />
  <Line position="month*temperature" size={2} color={'city'} />
  <Point position="month*temperature" size={4} color={'city'} />
</Chart>

FAQ

How to Contribute

We welcome all contributions. You could submit any ideas as pull requests. Thank you for your interest and have a good time. Please let us know how can we help. Do check out issues for bug reports or suggestions first.

Update

G2 decided to terminate the "Experience Improvement Program". In version @antv/g2@3.4.7(released at 2018.12.26)and above, all tracking code is removed, no unexpected remote request will be sent while you are using G2. And Bizcharts Upgrade the dependent version the first time at 2018.12.26 24:00.

License

BizCharts is available under the License MIT.

Extension points exported contracts — how you extend this code

IEvent (Interface)
(no doc)
src/interface.ts
BasePlotOptions (Interface)
(no doc)
src/createPlot.tsx
TooltipProps (Interface)
(no doc)
src/components/Tooltip/ReactTooltip.tsx
IEllipseProps (Interface)
(no doc)
src/g-components/Ellipse.tsx
ISchemaGemoProps (Interface)
(no doc)
src/geometry/Schema.tsx
StepLineOptions (Interface)
(no doc)
src/plots/StepLineChart.tsx
ErrorBoundaryProps (Interface)
(no doc)
src/boundary/ErrorBoundary.tsx
IChartProps (Interface)
(no doc)
src/interface.ts

Core symbols most depended-on inside this repo

render
called by 142
src/geometry/Base.tsx
createPlot
called by 42
src/createPlot.tsx
polyfillOptions
called by 24
src/plots/core/polyfill.ts
polyfillVisible
called by 19
src/plots/core/polyfill.ts
withGroupContext
called by 11
src/context/group.tsx
replaceApi
called by 11
src/plots/core/polyfill.ts
pickWithout
called by 9
src/utils/pickWithout.ts
scale
called by 6
unittest/scale/cust-scale/scale.ts

Shape

Function 236
Interface 110
Class 100
Method 91

Languages

TypeScript100%

Modules by API surface

src/g-components/reconciler/index.tsx20 symbols
src/createPlot.tsx15 symbols
src/g-components/Canvas.tsx14 symbols
src/connector/createTooltipConnector.ts12 symbols
src/plots/core/interface.ts10 symbols
src/geometry/Base.tsx10 symbols
src/components/Chart/chartHelper.ts10 symbols
src/plots/core/polyfill.ts8 symbols
src/components/View/viewHelper.ts8 symbols
src/components/Chart/index.tsx8 symbols
unittest/scale/cust-scale/scale.ts7 symbols
src/plots/RadarChart.tsx7 symbols

Dependencies from manifests, versioned

@antv/component* · 1×
@antv/data-set0.11.4 · 1×
@antv/g24.1.32 · 1×
@antv/g2plot2.3.39 · 1×
@antv/util* · 1×
@babel/cli7.7.7 · 1×
@babel/core7.7.7 · 1×
@babel/plugin-transform-modules-commonjs7.12.1 · 1×
@babel/plugin-transform-runtime7.12.10 · 1×
@babel/preset-env7.7.7 · 1×
@babel/preset-es20157.0.0-beta.53 · 1×
@babel/register7.7.5 · 1×

For agents

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

⬇ download graph artifact