@antv/g2-extension-plot
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

g2-extension-plot

The plot for @antv/g2 marks.

Getting Started

Install @antv/g2-extension-plot and @antv/g2 via package manager such NPM or Yarn.

$ npm install @antv/g2-extension-plot @antv/g2

Use mark individually:

import { Runtime, extend, corelib } from "@antv/g2";
import { plotlib } from "@antv/g2-extension-plot";

const Chart = extend(Runtime, { ...corelib(), ...plotlib() });

const chart = new Chart({ container: "container" });

  chart
    .sunburst()
    .data({
      type: 'fetch',
      value: 'https://gw.alipayobjects.com/os/antfincdn/ryp44nvUYZ/coffee.json',
    })
    .animate('enter', { type: 'waveIn' })
    .coordinate({ type: 'polar', innerRadius: 0 });

  chart.render();

License

MIT@AntV.

Dependencies (4)

Dev Dependencies (20)

Package Sidebar

Install

npm i @antv/g2-extension-plot

Weekly Downloads

22,745

Version

0.2.1

License

none

Unpacked Size

162 kB

Total Files

88

Last publish

Collaborators

  • lvisei
  • freestyle21
  • soundquiet
  • elaine.q.10
  • sturuby
  • sakuya223
  • serializedowen
  • xdzhao
  • yangzhanmei
  • wjgogogo
  • leungwensen
  • dori
  • iaaron
  • yard
  • simaq
  • dxq613
  • intchous
  • susan_ann
  • jinke.li
  • lzxue
  • army8735
  • atool
  • baizn
  • dengfuping
  • neoddish
  • jeffy2012
  • zqlu
  • afc163
  • pomelo-nwu
  • kopiluwaky
  • ccnuzindex
  • panyuqi
  • bubkoo
  • zengyue
  • kasmine
  • boyu.zlj
  • l1ud0ngq1
  • newbyvector
  • winniexing
  • chenluli
  • kn9117
  • xdddst
  • semious2020
  • esora
  • nadia_liu
  • bbsqq
  • mxz96102
  • openwayne
  • pearmini
  • pddpd
  • yiqianyao
  • zhanba
  • cxxxxxn
  • laixingui.lxg
  • susiwen8
  • yanxiong
  • zeyuwang
  • rainy25ghz
  • zhangjunjie-loki
  • flash1
  • yisi.wang
  • dreammy23
  • biupiubiupiu
  • basketduck
  • xuying1027
  • banxuan
  • xcf(-_-)
  • boyyangzai
  • siqishen
  • interstellarmt